PDA

View Full Version : Where does GDB find load memory address information for remote load of executable



seandeg
09-01-2010, 10:41 PM
When GDB is used to remotely load an executable into a target device.

Where does GDB find the desired location ( memory address ) from. I know it may be from the executable itself depending on the file format, or from linker/locator output.
But I would like to know exactly where the information is found and where stored in GDB itself.

Thank you in advance for any information on this topic.

Seán

Xpert
09-02-2010, 04:14 AM
Dear can you tell which GDB you want?

seandeg
09-02-2010, 09:54 PM
Thanks you Administrator,
GDB 5.2

Xpert
09-03-2010, 06:33 AM
Thanks you Administrator,
GDB 5.2
You are welcome dear. But you kindly do write that GDB which you want to discuss.

seandeg
09-03-2010, 08:46 PM
Hi again Administrator, thanks you for your response.

My question is as in opening post

" When GDB is used to remotely load an executable into a target device.

Where does GDB find the desired location ( memory address ) from. I know it may be from the executable itself depending on the file format, or from linker/locator output.
But I would like to know exactly where the information is found and where stored in GDB itself."
The version of GDB is as above, but the question relates to any version of GDB

Thanks, Seán

Support
11-01-2010, 04:30 AM
you are welcome. No it may not.