This is the mail archive of the gdb-patches@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: [RFA] new set/show multiple-choice-auto-select commands (take 2)


On Thu, Jan 17, 2008 at 12:38:51PM +0100, Markus Deuling wrote:
> I implemented this behavior originally for the Cell BE combined
> debugger. Cell BE has binaries consisting of PowerPC- and
> SPU-code. If there is a symbol foo in both the PowerPC- and the
> SPU-part then GDB would always resolve the foo symbol from PowerPC
> (main executable) file no matter if it stands in a "SPU thread" or
> not. GDB recognizes SPU binaries as shared libraries.

Why shouldn't GDB default to setting both breakpoints... like we do
for template functions now?  At least, I thought that was the point of
all Vlad's work on breakpoints in the past year.  If you want
something more specific you can adjust the multiple-location
breakpoint.

I am concerned that we now have too many different places where we
have multiple symbols and breakpoints and we're handling them all
differently.

-- 
Daniel Jacobowitz
CodeSourcery


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