Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [commit] multi-executable support
Date: Sun, 15 Nov 2009 22:53:00 -0000	[thread overview]
Message-ID: <200911152252.39199.pedro@codesourcery.com> (raw)
In-Reply-To: <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


  reply	other threads:[~2009-11-15 22:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200910191106.28905.pedro@codesourcery.com>
2009-10-20  6:14 ` Hui Zhu
2009-10-20 11:20   ` Pedro Alves
2009-10-21  2:18     ` Hui Zhu
2009-10-20 15:05 ` Ken Werner
2009-10-20 15:36   ` Pedro Alves
2009-10-20 15:54     ` Ken Werner
2009-10-20 16:34       ` Pedro Alves
2009-10-21  8:27 ` Obvious fix: deprecated_insert_raw_breakpoint change (was [commit] multi-executable support) Pierre Muller
2009-10-21  8:40   ` Pedro Alves
2009-11-13  1:09 ` [commit] multi-executable support Paul Pluzhnikov
2009-11-15 22:53   ` Pedro Alves [this message]
2009-11-16 18:42     ` Paul Pluzhnikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200911152252.39199.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ppluzhnikov@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox