unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)
@ 2007-06-02 16:49 Andreas Schwab
  2007-06-02 22:57 ` Nick Roberts
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2007-06-02 16:49 UTC (permalink / raw)
  To: Nick Roberts; +Cc: emacs-devel

Any multiline gdb command (commands, define, while, if, etc.) causes
gdb-ui to complain about a phase error, and sends `info frame' to gdb.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)
  2007-06-02 16:49 error in process filter: Phase error in gdb-pre-prompt (got pre-emacs) Andreas Schwab
@ 2007-06-02 22:57 ` Nick Roberts
  2007-06-02 23:25   ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Roberts @ 2007-06-02 22:57 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

 > Any multiline gdb command (commands, define, while, if, etc.) causes
 > gdb-ui to complain about a phase error, and sends `info frame' to gdb.

It must be due to something specific about your setup as I can't reproduce it.
Can you post your .gdbinit, Gdb version, other Gdb buffers/configuration etc?

-- 
Nick                                           http://www.inet.net.nz/~nickrob

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)
  2007-06-02 22:57 ` Nick Roberts
@ 2007-06-02 23:25   ` Andreas Schwab
  2007-06-03  0:24     ` Nick Roberts
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2007-06-02 23:25 UTC (permalink / raw)
  To: Nick Roberts; +Cc: emacs-devel

Nick Roberts <nickrob@snap.net.nz> writes:

>  > Any multiline gdb command (commands, define, while, if, etc.) causes
>  > gdb-ui to complain about a phase error, and sends `info frame' to gdb.
>
> It must be due to something specific about your setup as I can't reproduce it.
> Can you post your .gdbinit, Gdb version, other Gdb buffers/configuration etc?

I'm using head of trunk.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)
  2007-06-02 23:25   ` Andreas Schwab
@ 2007-06-03  0:24     ` Nick Roberts
  2007-06-03  9:39       ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Roberts @ 2007-06-03  0:24 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

 > >  > Any multiline gdb command (commands, define, while, if, etc.) causes
 > >  > gdb-ui to complain about a phase error, and sends `info frame' to gdb.
 > >
 > > It must be due to something specific about your setup as I can't reproduce
 > > it.  Can you post your .gdbinit, Gdb version, other Gdb
 > > buffers/configuration etc?
 > 
 > I'm using head of trunk.

So was I.  If you can't give any more details, we'll just have to wait for
other reports to see how widespread the problem is.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)
  2007-06-03  0:24     ` Nick Roberts
@ 2007-06-03  9:39       ` Andreas Schwab
  2007-06-03 11:20         ` Nick Roberts
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2007-06-03  9:39 UTC (permalink / raw)
  To: Nick Roberts; +Cc: emacs-devel

Nick Roberts <nickrob@snap.net.nz> writes:

>  > >  > Any multiline gdb command (commands, define, while, if, etc.) causes
>  > >  > gdb-ui to complain about a phase error, and sends `info frame' to gdb.
>  > >
>  > > It must be due to something specific about your setup as I can't reproduce
>  > > it.  Can you post your .gdbinit, Gdb version, other Gdb
>  > > buffers/configuration etc?
>  > 
>  > I'm using head of trunk.
>
> So was I.  If you can't give any more details, we'll just have to wait for
> other reports to see how widespread the problem is.

$ gdb --annotate=3
GNU gdb 6.6.50.20070511-cvs
Copyright (C) 2007 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 "ia64-suse-linux".

pre-prompt
(gdb) 
prompt
if 1

post-prompt

pre-commands

pre-prompt
 >
commands

prompt
end

pre-prompt
 >
commands

prompt

post-commands

pre-prompt
(gdb) 
prompt
q

post-prompt

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)
  2007-06-03  9:39       ` Andreas Schwab
@ 2007-06-03 11:20         ` Nick Roberts
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Roberts @ 2007-06-03 11:20 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

 > >  > I'm using head of trunk.
 > >
 > > So was I.  If you can't give any more details, we'll just have to wait for
 > > other reports to see how widespread the problem is.
 > 
 > $ gdb --annotate=3
 > GNU gdb 6.6.50.20070511-cvs
 >...

OK, I can see it now.  GNU gdb 6.6-debian works fine.  It's a regression in
GDB.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-06-03 11:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02 16:49 error in process filter: Phase error in gdb-pre-prompt (got pre-emacs) Andreas Schwab
2007-06-02 22:57 ` Nick Roberts
2007-06-02 23:25   ` Andreas Schwab
2007-06-03  0:24     ` Nick Roberts
2007-06-03  9:39       ` Andreas Schwab
2007-06-03 11:20         ` Nick Roberts

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).