|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
Disassemble VxWorks (WindRiver) ELF Binaries?
Can anyone tell me or point me towards the documentation that explains how to disassemble a VxWorks (WindRiver) ELF binary?
I'm able to get an GNU objdump-esque memory map by clicking on binaries that have been built, but when I choose the disassembly option, I get a blank screen. I do not want to interactively disassemble the binary on the target, but only check on the location of a specific (fatal) exception in application code. |
|
#2
|
||||
|
||||
|
Re: Disassemble VxWorks (WindRiver) ELF Binaries?
Quote:
Use a vxWorks development shell and it will be in your path. Programs->Wind River->VxWorks 6.3 and General Purpose Technologies->VxWorks Development Shell. |
|
#3
|
||||
|
||||
|
Re: Disassemble VxWorks (WindRiver) ELF Binaries?
There's a much easier way to disassemble -- if you're connected to the cRIO with Workbench debugger.
Use the Debug Symbol Browser. |
|
#4
|
|||
|
|||
|
Re: Disassemble VxWorks (WindRiver) ELF Binaries?
Quote:
Any tips for the address space? The exception address doesn't match any of the addresses in the binary -- I assume they've been relocated. I've got a Task address, but it doesn't seem to correspond to an address in the ELF binary either. |
|
#5
|
|||
|
|||
|
Re: Disassemble VxWorks (WindRiver) ELF Binaries?
This would be the preferred method I would use if the target still had the binary to be debugged on it. I'm trying to debug this off-line.
|
|
#6
|
||||
|
||||
|
Re: Disassemble VxWorks (WindRiver) ELF Binaries?
Quote:
The exception address is where the PC was when the exception happened. It's probably in one of the DKMs that get downloaded to the target. This can be tricky because you can't easily 'predict' where the kernel will load DKMs. However, you can 'see' where they actually got loaded by typing 'moduleShow' in the taget console. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windriver LAC | McGurky | C/C++ | 12 | 25-02-2009 18:38 |
| WindRiver Programming | dnrobotics11 | C/C++ | 4 | 19-01-2009 19:43 |
| compiling in windriver | koreabell | Programming | 4 | 05-01-2009 15:32 |
| The Happy Christmas Elf | Ken Loyd | Chit-Chat | 6 | 13-12-2003 00:05 |