Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse GDB settings and usage questions(Eclipse GDB settings and usage questions)
Eclipse GDB settings and usage questions [message #1799127] Fri, 30 November 2018 08:26
Eclipse UserFriend
Hi,

I have a few questions when using GDB within Eclipse. First let me
give you some background information. I'm trying to debug a remote
target. I use it to debug a C/C++ local application and set the
debugger as GDB Server. I'm able to connect to a gdb stub and that
works fine. There are some additional things that I would like to know
if Eclipse can do.

1. What does the "GDB command file" option do? Is it for the .gdbinit?
I was thinking it was more like the gdb command "source" but looking
at the gdb logfile I can't really tell what happens when the "GDB
command file" option is set? Is the command file suppose to be called
right after gdb finishes connection to the target and before Eclipse
does it's inquiry on the target? The reason is I have need to run a
command file before I load a program in order to initialize memory on
the target.

2. I just wanted to reconfirm that when it connects, eclipse doesn't
load the application that is being debugged correct? Has anybody came
up with a solution so that it will automatically load the application
when it connects?

In reading some of previous posts, it seems like most people just
changed the .gdbinit file. I would like to avoid that since that means
the user would have to change the .gdbinit file for application that he
needs to be debugged.

Thanks
Mitchell
Previous Topic:No source available when using GDB 7.3 in Photon
Next Topic:Can't view global variables
Goto Forum:
  


Current Time: Thu Apr 25 00:53:28 GMT 2024

Powered by FUDForum. Page generated in 0.12575 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top