From: Eli Zaretskii <eliz@gnu.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, muller@ics.u-strasbg.fr
Subject: Re: [RFA] Fix troubles with watchpoints in DJGPP
Date: Thu, 28 May 2009 08:08:00 -0000 [thread overview]
Message-ID: <8363flsl80.fsf@gnu.org> (raw)
In-Reply-To: <200905280030.28382.pedro@codesourcery.com>
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Thu, 28 May 2009 00:30:28 +0100
> Cc: "Pierre Muller \(IMAP\)" <muller@ics.u-strasbg.fr>,
> "'Eli Zaretskii'" <eliz@gnu.org>
>
> On Wednesday 27 May 2009 08:48:49, Pierre Muller (IMAP) wrote:
>
> > PS-1) Are there not other native targets, without
> > dynamic libraries, that will suffer the same troubles?
>
> I think so. I've just tried on x86_64-linux, with a statically
> linked binary (I used gdb.threads/staticthreads, set a watchpoint
> on semaphore), and although there are no shared libraries loaded,
> the problem is masked by adding the symbols of the vsyscall page
> (sysfile-mem.c:add_vsyscall_page). If I hack that function to
> do nothing, I see that same thing you're seeing on djgpp.
>
> Maybe there's a place for a generic fix? Somewhere after
> having opened a connection to the target interface. I was
> thinking of post_create_inferior, but sounds like opening
> a connection to a remote target with "target remote" that
> happens to not pull in any more symbols (like most embedded
> targets) is having the same problem? Maybe there should be
> a target_post_open ...
I'd indeed prefer a generic fix.
Pierre, could you please try making a patch along the lines Pedro
suggests above?
next prev parent reply other threads:[~2009-05-28 8:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-27 7:49 Pierre Muller (IMAP)
2009-05-27 19:25 ` Eli Zaretskii
2009-05-27 20:53 ` Pierre Muller
2009-05-28 8:21 ` Eli Zaretskii
2009-05-28 9:31 ` Pierre Muller
2009-05-28 13:27 ` Eli Zaretskii
2009-05-27 23:30 ` Pedro Alves
2009-05-28 8:08 ` Eli Zaretskii [this message]
2009-06-08 16:16 ` [RFA-v2] " Pierre Muller
2009-06-16 22:38 ` [PING][RFA-v2] " Pierre Muller
2009-06-16 22:59 ` Pedro Alves
2009-06-16 23:20 ` Pierre Muller
2009-06-16 23:46 ` Pedro Alves
2009-06-16 23:54 ` Pierre Muller
2009-06-17 0:05 ` Pedro Alves
2009-06-17 6:19 ` Pierre Muller
2009-06-17 12:32 ` Joel Brobecker
2009-06-17 22:44 ` DJ Delorie
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=8363flsl80.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=muller@ics.u-strasbg.fr \
--cc=pedro@codesourcery.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