Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Doug Evans" <dje@google.com>
To: "Paul Pluzhnikov" <ppluzhnikov@google.com>, gdb-patches@sourceware.org
Subject: Re: [RFC] gdb could leave inferior running as a background process
Date: Tue, 22 Apr 2008 21:35:00 -0000	[thread overview]
Message-ID: <e394668d0804221336k1d24fe3apfb9481348292801e@mail.gmail.com> (raw)
In-Reply-To: <20080422195515.GA28506@caradoc.them.org>

On Tue, Apr 22, 2008 at 12:55 PM, Daniel Jacobowitz <drow@false.org> wrote:
>  > >  Where is the warning issued?
>  >
>  > #0  warning (string=0x82e9520 "(Internal error: pc 0x%s in read in
>  > psymtab, but not in symtab.)\n") at
>  > ../../../google_vendor_src_branch/gdb/gdb-6.8.x/gdb/utils.c:615
>  > #1  0x08112c5b in find_pc_sect_symtab (pc=134512896, section=0x0) at
>  > ../../../google_vendor_src_branch/gdb/gdb-6.8.x/gdb/symtab.c:1984
>  > #2  0x08112d79 in find_pc_sect_line (pc=134512896, section=0x0,
>  > notcurrent=0) at
>  > ../../../google_vendor_src_branch/gdb/gdb-6.8.x/gdb/symtab.c:2140
>  > #3  0x08112fcc in find_pc_line (pc=134512896, notcurrent=0) at
>  > ../../../google_vendor_src_branch/gdb/gdb-6.8.x/gdb/symtab.c:2262
>  > #4  0x08128698 in init_execution_control_state (ecs=0xffffd05c) at
>  > ../../../google_vendor_src_branch/gdb/gdb-6.8.x/gdb/infrun.c:1128
>  > #5  0x08128344 in wait_for_inferior (treat_exec_as_sigtrap=0) at
>  > ../../../google_vendor_src_branch/gdb/gdb-6.8.x/gdb/infrun.c:1012
>
>  Ugh.  Perhaps we can do this before resuming.

It seems like there are multiple places where this can happen.  E.g.
wait_for_inferior -> handle_inferior_event -> find_pc_partial_function
-> target_terminal_ours_for_output.


  parent reply	other threads:[~2008-04-22 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-22 16:12 Paul Pluzhnikov
2008-04-22 17:40 ` Daniel Jacobowitz
2008-04-22 17:56   ` Paul Pluzhnikov
2008-04-22 18:05     ` Paul Pluzhnikov
2008-04-22 19:55       ` Daniel Jacobowitz
2008-04-22 20:29         ` Paul Pluzhnikov
     [not found]           ` <20080422195515.GA28506@caradoc.them.org>
2008-04-22 21:35             ` Doug Evans [this message]
2008-04-22 22:09               ` Daniel Jacobowitz
2008-04-23  2:19                 ` Doug Evans
2008-04-23  3:54                   ` Daniel Jacobowitz

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=e394668d0804221336k1d24fe3apfb9481348292801e@mail.gmail.com \
    --to=dje@google.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