Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » where/which .gdbinit
where/which .gdbinit [message #179929] Thu, 16 November 2006 09:14 Go to next message
Eclipse UserFriend
Originally posted by: kilgore_trout.sbcglobal.net

Potentially silly question: in what directory does the .gdbinit file
belong?
In /eclipse, /cygwin/bin, /cygwin, <path>/workspace
<path>/workspace/project

Also, can I put "define"s in that. Since it seems that gdb will not
display non basic types, I would like to define a 'method' that will do
the work for me, ala:

define ds
set $out = dump_string $arg0
printf "%s" $out
end

where the 'dump_string' a method in my C++ program.

Is there a better way?
merci! thanks! danke! <etc>

-nn.
Re: where/which .gdbinit [message #180052 is a reply to message #179929] Mon, 20 November 2006 12:22 Go to previous message
Eclipse UserFriend
naive newbie schrieb:
>
> Potentially silly question: in what directory does the .gdbinit file
> belong?
> In /eclipse, /cygwin/bin, /cygwin, <path>/workspace
> <path>/workspace/project
>

gdb searches for .gdbinit in the current directory and in your home
directory.
Previous Topic:External tools - do no want project built first
Next Topic:Debug process with eclipse
Goto Forum:
  


Current Time: Sun Jun 08 17:49:19 EDT 2025

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

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

Back to the top