This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ensure correct symbol-file when attaching to a (remote) process


Hi,

I'm searching for a GDB feature that ensures that a symbol-file matches the running process to which I attach. More precisely, my use-case is that I attach to an already running embedded-system (bare metal) by extended-remote. Unfortunately, having a wrong ELF may result in showing wrong call stacks, etc. In worst case, you wont even notice that somethings wrong.

I wasn't able to find something like that in the doc nor have I ever seen something like that in the remote serial protocol definition. Is there really no such mechanism in GDB?

Raphael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]