From: Frank Middleton <f.middleton@apogeect.com>
To: gdb@sourceware.org
Subject: Building gdb from cvs
Date: Thu, 07 May 2009 20:51:00 -0000 [thread overview]
Message-ID: <4A0349E4.5080300@apogeect.com> (raw)
Using the supplied SPARC version of gdb, printing of strings works
/usr/bin/gdb.6.3.50 --version
GNU gdb 6.3.50_2004-11-23-cvs
...
3 char *c = "ABCD";
(gdb) n
4 return 0;
(gdb) p c
$1 = 0x105a0 "ABCD"
But, in order to debug on SPARC, I am using a locally patched version
and printing of strings doesn't seem to work any more
/usr/local/bin/gdb --version
GNU gdb (GDB) 6.8.50.20090427-cvs
...
3 char *c = "ABCD";
(gdb) n
4 return 0;
(gdb) p c
$1 = 0x105a0 "
This must be an artifact of the way this was built (it uses gnu libiconv,
for example), or some kind of regression (unlikely).
Since it was built with a motley collection of Solaris and gnu libraries,
this is probably unreproducible. Can you guess as to which libraries you
think might be causing this so I can relink with the gnu ones instead?
Thanks
next reply other threads:[~2009-05-07 20:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-07 20:51 Frank Middleton [this message]
2009-05-08 0:01 ` Joel Brobecker
2009-05-08 3:08 ` Frank Middleton
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=4A0349E4.5080300@apogeect.com \
--to=f.middleton@apogeect.com \
--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