target-dependent .gdbinit

Felix Lee felix.1@canids.net
Thu Jan 2 18:53:00 GMT 2003


Andrew Cagney <ac131313@redhat.com>:
> how about something like:
> 	(gdb) eval source ~/.gdbinit-$target

well, there's still the standardization point.  if gdb did
this automatically, then people could rely on that behavior
in arbitrary installations.  otherwise, people will
synthesize this behavior themselves in different ways.  one
installation might have .gdb.$target, another
.gdbinit.$target, or .vxgdbinit, etc.
--



More information about the Gdb mailing list