where/which .gdbinit [message #179929] |
Thu, 16 November 2006 09:14  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03042 seconds