|RE: [dsdp-dd-dev] Source lookup and remote debugging launch sequence|
I've started the investigation about breakpoints and source lookup and I have found that the command sequence
below is maybe a good approach for remote debugging. What do you think?
This is the output from a manual GDB session:
~"GNU gdb (CodeSourcery Sourcery G++ Lite 2007q3-51) 220.127.116.1170821-cvs\n"
~"Copyright (C) 2007 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\n"
~"welcome to change it and/or distribute copies of it under certain conditions.\n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
~"This GDB was configured as \"--host=i686-mingw32 --target=arm-none-linux-gnueabi\".\n"
~"For bug reporting instructions, please see:\n"
-gdb-set sysroot C:\Program\CodeSourcery\SourceryG++\arm-none-linux-gnueabi\libc
-target-select remote 192.168.0.10:12345
Notice the number of backslashes needed to get things to work for "-file-exec-and-symbols" command.
What I think is important regarding
1. It looks loke the gdb MI interface for CodeSourcery accepts inserting breakpoints using backslash
2. There's a file and a fullname attribute in the response for the -break-insert command, possibly useful for source lookup.
I'll go on debugging the eclipse frameworks to see where the breakpoint insertion fails in the code, but first patching the current launch to something like above.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Back to the top