This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] multi-executable support
- From: Pedro Alves <pedro at codesourcery dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 15 Nov 2009 22:52:39 +0000
- Subject: Re: [commit] multi-executable support
- References: <200910191106.28905.pedro@codesourcery.com> <8ac60eac0911121709r3220d941y9bca3138b76c9a13@mail.gmail.com>
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