public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Thomas Mittelstaedt <T.Mittelstaedt@cadenas.de>
To: gdb@sourceware.org
Subject: Problem with gdb/mi under hp-ux 11.11, aix 5.2, gdb 6.7.1
Date: Wed, 28 Nov 2007 15:14:00 -0000	[thread overview]
Message-ID: <474D86D2.6070807@cadenas.de> (raw)

Hallo,

I am trying to get ccdebug <http://ccdebug.sourceforge.net/>, a Qt-based 
gdb frontend to work on hp-ux. It works without problems on linux. On 
hp-ux, though, and also on aix,
I am having trouble when I hit the key to show the register values. The 
funny thing is, sometimes it works, but mostly it does not, i.e. there is no
response from the forked gdb, because otherwise I would see it in the log.
The following command is sent to gdb, but no response arrives.

^[[46mSent: -data-list-register-values x ^[[0m

What can this be and how can I test this?

Also, when I try to debug ccdebug with gdb directly, I get a ttrace: 
Protocol error.
Attaching to the running process also does not work.

tmstaedt@buildhp3$ gdb ../ccdebug
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
(gdb) r
Starting program: 
/localbuild/source/V9_UNICODE_RESTRUCTURE/3rdparty/ccdebug/ccdebug
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

[New process 3561, lwp 1296829]
Using /opt/gcc-4.1/32/bin/gdb
Detaching after fork from child process 3567.
[Switching to process 3561, lwp 1296829]
0x7affe5d4 in _fork_sys () from /usr/lib/libc.2
ttrace: Protocol error.



gcc -v
Reading specs from 
/opt/gcc/gcc-4.1/32/lib/gcc/hppa2.0w-hp-hpux11.11/4.1.1/specs
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc-4.1.1/configure --prefix=/opt/gcc-4.1-32 
--enable-version-specific-runtime-libs --enable-static --enable-shared 
--with-gnu-as --with-as=/opt/gcc-4.1-32/bin/as --enable-threads=posix 
--disable-nls --enable-languages=c,c++
Thread model: posix
gcc version 4.1.1


Thanks in advance for help,
thomas

             reply	other threads:[~2007-11-28 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 15:14 Thomas Mittelstaedt [this message]
2007-11-28 15:31 ` Thomas Mittelstaedt
2007-11-30 12:45   ` Problem with gdb/mi under hp-ux 11.11, " Thomas Mittelstaedt
2008-01-08 16:46     ` Resolved: Problem with gdb/mi under hp-ux 11.11, gdb 6.7.1: our version of gcc was broken Thomas Mittelstaedt

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=474D86D2.6070807@cadenas.de \
    --to=t.mittelstaedt@cadenas.de \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).