www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/01/15/06:20:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp-workers AT delorie DOT com
Subject: Re: rhide and gdb-6.0 [WAS: Re: Rhide 1.5 crashes when using Help menu]
Date: Thu, 15 Jan 2004 13:24:12 +0200
User-Agent: KMail/1.5.93
References: <baec0bf0 DOT 0401140357 DOT 3786e4c7 AT posting DOT google DOT com> <200401151122 DOT 00249 DOT pavenis AT latnet DOT lv> <9787-Thu15Jan2004123110+0200-eliz AT elta DOT co DOT il>
In-Reply-To: <9787-Thu15Jan2004123110+0200-eliz@elta.co.il>
Cc: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
MIME-Version: 1.0
Message-Id: <200401151324.12246.pavenis@latnet.lv>
Reply-To: djgpp-workers AT delorie DOT com

On Thursday 15 January 2004 12:31, Eli Zaretskii wrote:
> > From: Andris Pavenis <pavenis AT latnet DOT lv>
> > Date: Thu, 15 Jan 2004 11:21:59 +0200
> >
> > It's not so easy. I tried to get RHIDE building and working with GDB-6.0
> > when I was in holydays in Latvia at Christmass and New Year time, but I
> > had not enough time for that. Really I got stuck for example with stach
> > backtrace, as I was not able to get it working. Related annotate_*
> > functions were called, but I didn't suceed to get output from GDB (for
> > this command), also function list didn't work.
>
> Probably due to changes in the annotation functions, sigh.

For other commands one can successfully get output with
ui_file_xstrdup() from gdb_stdout, but for backtrace it doesn't work. Simply 
there is nothing in buffer when anotate_*() functions are called. Maybe that 
is wrong way how to retrieve output from GDB. I don't know GDB internals so 
well.

Function list is a different thing. There is attempt to mess directly with 
debug info and my first attempt to modify it for GDB-6.0 failed. I have't 
looked more though.

Andris

PS. Looked, what is annotation level 2 (set annotate 2). As I remember there 
were discussions about deprecating it.It seems that it could be rather 
usefull if we would use it here and analyze full output instead of trying to 
get it from anotate_*() callbacks.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019