Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Smith, Stephen \(SWCOE\)" <Stephen.Smith@honeywell.com>
To: "Smith, Stephen \(SWCOE\)" <Stephen.Smith@honeywell.com>,
		"Daniel Jacobowitz" <drow@false.org>
Cc: <gdb@sourceware.org>
Subject: RE: GDB solib interface
Date: Wed, 07 Feb 2007 19:41:00 -0000	[thread overview]
Message-ID: <EF244E26469B2C42B2B72AC465843D6B042C4EA2@AZ18EV808.global.ds.honeywell.com> (raw)
In-Reply-To: <EF244E26469B2C42B2B72AC465843D6B03E35473@AZ18EV808.global.ds.honeywell.com>

Weird issue, we have implemented the patch for the remote protocol using
the patch that you posted with some minor tweeks. We are getting ready
to internally release the updated gdbserver and found a problem.

On our platform, it is not possible to hook the function that
dynamically loads the libraries, so I was checking to see if new
libraries were loaded after the processor hit a breakpoint (i.e.
immediatetly following the prepare_resume_reply() for the C, S, c, and s
packets).  Everything works well unless the following two things are
true:
   * there are new libraries which are then reported
   * the program counter stopped at the location 
     which has a GDB applied breakpoint.

In this case, the instruction which is where the breakpoint was inserted
is not executed and in our case a fault occurred.

Since on my platform I won't halt because of a library load, where
should I place this check?


  reply	other threads:[~2007-02-07 19:41 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-04 21:32 Smith, Stephen (SWCOE)
2007-01-04 21:40 ` Daniel Jacobowitz
2007-01-04 21:46   ` Smith, Stephen (SWCOE)
2007-01-04 21:49     ` Daniel Jacobowitz
2007-01-05  3:39       ` Stephen & Linda Smith
2007-01-05  3:48         ` Daniel Jacobowitz
     [not found]           ` <EF244E26469B2C42B2B72AC465843D6B03E34F88@AZ18EV808.global.ds.honeywell.com>
2007-01-05  4:01             ` Daniel Jacobowitz
2007-01-05 19:26               ` Smith, Stephen (SWCOE)
2007-02-07 19:41                 ` Smith, Stephen (SWCOE) [this message]
2007-02-07 23:57                   ` Smith, Stephen (SWCOE)
  -- strict thread matches above, loose matches on Subject: below --
2006-12-04 22:12 Smith, Stephen (SWCOE)
2006-12-04 22:25 ` Michael Snyder
2006-12-04 22:29   ` Daniel Jacobowitz
2006-12-04 22:28 ` Daniel Jacobowitz
2006-12-04 22:48   ` Smith, Stephen (SWCOE)
2006-12-04 23:48     ` Michael Snyder
2006-12-05  2:09       ` Smith, Stephen (SWCOE)
2006-12-05 23:03   ` Smith, Stephen (SWCOE)
2006-12-08 21:19   ` Daniel Jacobowitz
2006-12-08 22:23     ` Smith, Stephen (SWCOE)
2006-12-08 23:21       ` Daniel Jacobowitz
2006-12-15 21:12     ` Smith, Stephen (SWCOE)
2006-12-15 22:39       ` Daniel Jacobowitz
2006-12-17  0:42     ` Smith, Stephen (SWCOE)
2006-12-17  2:16       ` Daniel Jacobowitz
2006-12-17  6:37         ` Stephen & Linda Smith
2006-12-17 15:24           ` Daniel Jacobowitz
2006-12-29 22:08         ` Stephen & Linda Smith
2006-12-29 22:54           ` Stephen & Linda Smith
2007-01-04 20:37     ` Smith, Stephen (SWCOE)
2007-01-04 20:38       ` Daniel Jacobowitz
2006-12-04 21:55 Smith, Stephen (SWCOE)
2006-12-04 21:57 ` 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=EF244E26469B2C42B2B72AC465843D6B042C4EA2@AZ18EV808.global.ds.honeywell.com \
    --to=stephen.smith@honeywell.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /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