This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Prints the frame id when target stops


 >   frame_id_str = xstrprintf ("%s,%s,%s",
 >                              ^^^^^^^^^^
 > 
 > "%x,%x,%x" ?  (Except this would break when paddr returned 0, so it
 > needs a bit more detail).

I mean this_frame_id.*_p is 0.

 >...
 > If this field is included in other output e.g -stack-info-frame, then maybe
 > a separate function would be a good idea.

Forget this, I see these functions use print_frame anyway.

Also it looks like you can't use ui_out_field_string as it prints CLI output
also (when execeution stop, "info threads" etc).  Perhaps ui_out_field_stream
does what you need.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]