This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Filename with "./" in breakpoint command


> Date: Mon, 5 Dec 2005 13:55:56 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
> 
> Or, when the existing lookups have failed for a relative pathname,
> canonicalize it and treat it like a full path?

I don't like that, since it requires to chdir to some directory first.

> I don't think adding more user interaction at this level is a good idea
> - it's too far away from the user commands, in GDB's internals.  It's
> been back-burnered for lack of time, but I was working on patches to
> handle location lookups returning more than one location; e.g. setting
> breakpoints at all locations matching tracepoints.cpp:25.

If asking is not a good idea here, I'd prefer that GDB tries to put a
breakpoint on all locations that match the descriptor, yes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]