Mail Archives: djgpp-workers/2004/01/15/06:20:37
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 -