From: Daniel Jacobowitz <dan@codesourcery.com>
To: Nathan Sidwell <nathan@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: adjust linux-dp test
Date: Wed, 29 Nov 2006 15:24:00 -0000 [thread overview]
Message-ID: <20061129152437.GA847@nevyn.them.org> (raw)
In-Reply-To: <456DA3EA.5020001@codesourcery.com>
On Wed, Nov 29, 2006 at 03:14:50PM +0000, Nathan Sidwell wrote:
> Daniel Jacobowitz wrote:
> >On Wed, Nov 29, 2006 at 02:58:08PM +0000, Nathan Sidwell wrote:
> >>My recent change to linux-dp.exp wasn't robust because (a) some thread
> >>ids can be negative numbers and (b) sometimes you'd get a 'cannot access
> >>memory' error in printing out a prototype, and that would mess up the \n
> >>placement.
> >
> >When does (b) happen? That's strange.
>
> for example here ...
> info threads
> 3 Thread -1218434144 (LWP 2749) 0xffffe410 in __kernel_vsyscall ()
> 2 Thread -1210037344 (LWP 2748) 0xffffe410 in __kernel_vsyscall ()
> * 1 Thread -1210034512 (LWP 2745) main (argc=Cannot access memory at
> address 0x0
> ) at ../../../src/gdb/testsuite/gdb.threads/linux-dp.c:189
Well that's totally lame. I don't see how it happens, either, I'd
expect the error in val_print to catch it.
I think you need to allow newlines in this output anyway; it might wrap
printing many parameters of a function. So may as well just relax the
error for now.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-11-29 15:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-29 14:58 Nathan Sidwell
2006-11-29 15:08 ` Daniel Jacobowitz
2006-11-29 15:15 ` Nathan Sidwell
2006-11-29 15:24 ` Daniel Jacobowitz [this message]
2006-11-29 15:30 ` Nathan Sidwell
2006-11-29 15:33 ` Daniel Jacobowitz
2006-11-29 15:59 ` Nathan Sidwell
2006-11-29 16:03 ` 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=20061129152437.GA847@nevyn.them.org \
--to=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=nathan@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