[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb-ui and Mac OS X
From: |
Ken Coleman |
Subject: |
Re: gdb-ui and Mac OS X |
Date: |
Mon, 23 Feb 2004 13:05:10 -0800 |
Hi Nick,
Here is what I'm seeing when I do "gdb -ann=3 a.out":
GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT
2003)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-apple-darwin".
Reading symbols for shared libraries .. done
breakpoints-invalid
frames-invalid
pre-prompt
(gdb)
prompt
There are no ^Zs on the screen or anything like that, but I do appear
to be getting the various text elements you're getting. Also, if I
send the output to a file and hexl the file, the ^Zs are there, so it
appears to just be a display thing.
Thanks for looking into this - very hopeful about getting this
working... :)
- Ken.
address@hidden
------------------------------------------------
> I've been trying to get gdb-ui working with the CVS version of emacs
> under Mac OS X 10.3.2. There are a couple of issues I'm experiencing,
> and was wondering if it's a setup problem on my end or a bug in
> gdb-ui. Here's what I'm doing.
> 1. I have a tiny test program in the active buffer, and I do M-x gdba.
> 2. I run gdba (like this) with the default, which is "gdb -annotate=3
> a.out".
Thats right, or you can just use M-x gdb with the current version in
CVS.
> 3. This gives me multiple errors into the *Messages* buffer. Namely:
> error in process filter: gdb-pre-prompt: Phase error in gdb-pre-prompt
> (got pre-emacs) error in process filter: Phase error in gdb-pre-prompt
> (got pre-emacs)
This shouldn't happen. Something has clearly gone wrong. It may be that
your version of gdb isn't generating a full set of annotations. If you
type "gdb -ann=3 a.out" in an xterm you should get something like:
GNU gdb 5.2.1-2mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-mandrake-linux-gnu"...
^Z^Zbreakpoints-invalid
^Z^Zframes-invalid
^Z^Zpre-prompt
(gdb)
^Z^Zprompt
The ^Z characters might be printed differently but you need the
pre-prompt and
prompt annotations. What do you get?
Please post any reply to me and cc to address@hidden
Nick
http://www.nick.uklinux.net
- Re: gdb-ui and Mac OS X,
Ken Coleman <=