This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Ensure correct symbol-file when attaching to a (remote) process
- From: Raphael Zulliger <zulliger at indel dot ch>
- To: gdb at sourceware dot org
- Date: Fri, 21 Dec 2012 07:05:37 +0100
- Subject: 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