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: [commit] multi-executable support


On Friday 13 November 2009 01:09:34, Paul Pluzhnikov wrote:
> On Mon, Oct 19, 2009 at 2:06 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> 
> > 2009-10-19 ?Pedro Alves ?<pedro@codesourcery.com>
> > ? ? ? ? ? ?Stan Shebs ?<stan@codesourcery.com>
> >
> > ? ? ? ?Add base multi-executable/process support to GDB.
> 
> This appears to be triggering an assert for me:

(...)

> The crash is here:

(...)

> The 'sal' in frame 5 looks bogus:
> 
> (gdb) p sal
> $1 = {pspace = 0x0, symtab = 0x0, section = 0x0, line = 0, pc = 0, end
> = 0, explicit_pc = 0, explicit_line = 0}

Indeed.

> The official 7.0 release does something unreasonable as well:
> 
> Reading symbols from /usr/local/google/tmp/b1844402/a.out...done.
> (gdb) b Foo::Foo
> Breakpoint 1 at 0x0
> Note: breakpoint 1 also set at pc 0x0.
> Breakpoint 2 at 0x0
> warning: Multiple breakpoints were set.
> Use the "delete" command to delete unwanted breakpoints.
> (gdb)
> 

This is what we need to fix.  Did you happen to take a
look at why this happens?

Could you open a PR, if there isn't one already, please?

-- 
Pedro Alves


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