From: Daniel Jacobowitz <drow@false.org>
To: Michael Snyder <Michael.Snyder@palmsource.com>
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>,
GDB Patches ML <gdb-patches@sourceware.org>
Subject: Re: PING Re: [RFC] thread tests, linux/gdbserver
Date: Tue, 17 Oct 2006 15:46:00 -0000 [thread overview]
Message-ID: <20061017154611.GA30823@nevyn.them.org> (raw)
In-Reply-To: <1160159477.9761.124.camel@localhost.localdomain>
On Fri, Oct 06, 2006 at 11:31:16AM -0700, Michael Snyder wrote:
> On Fri, 2006-10-06 at 12:53 +0200, Mark Kettenis wrote:
> > > Any objections to this patch?
> >
> > Hmm, I must have missed the origional mail, but I think we should actually
> > fix our code to print these things in a more consistent manner.
>
> It comes from target_pid_to_str, which is a target method.
> We don't officially control what it looks like, since a target
> is free to say anything it likes.
>
> Of course, we do control the remote target, which is all I'm
> immediately concerned with here. It would be a one-line
> change, I think, to capitalize it...
In fact, I was working on gdbserver support for tls.exp this morning,
and that's one of the affected tests. So I made this change,
tested it with x86-64 gdbserver, and committed it.
It fixes a bunch of failures in linux-dp.exp and thread-specific.exp,
and lets more tests run for pthreads.exp.
--
Daniel Jacobowitz
CodeSourcery
2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
* remote.c (remote_pid_to_str): Capitalize "Thread".
Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.232
diff -u -p -r1.232 remote.c
--- remote.c 16 Oct 2006 03:08:37 -0000 1.232
+++ remote.c 17 Oct 2006 14:34:35 -0000
@@ -5834,7 +5834,7 @@ remote_pid_to_str (ptid_t ptid)
{
static char buf[32];
- xsnprintf (buf, sizeof buf, "thread %d", ptid_get_pid (ptid));
+ xsnprintf (buf, sizeof buf, "Thread %d", ptid_get_pid (ptid));
return buf;
}
next prev parent reply other threads:[~2006-10-17 15:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-25 22:26 Michael Snyder
2006-10-05 21:51 ` PING " Michael Snyder
2006-10-06 10:53 ` Mark Kettenis
2006-10-06 18:31 ` Michael Snyder
2006-10-17 15:46 ` Daniel Jacobowitz [this message]
2006-10-17 15:53 ` Daniel Jacobowitz
2006-10-17 20:08 ` Michael Snyder
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=20061017154611.GA30823@nevyn.them.org \
--to=drow@false.org \
--cc=Michael.Snyder@palmsource.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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