X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Andris Pavenis 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: <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" MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 > > 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.