Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfc] Add uiout param to libgdb functions
@ 2001-09-08  9:48 Andrew Cagney
  2001-09-08 10:14 ` Fernando Nasser
  2001-09-17 21:24 ` Andrew Cagney
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Cagney @ 2001-09-08  9:48 UTC (permalink / raw)
  To: gdb-patches

Hello,

The attached adds a UIOUT param to the libgdb function calls.  Any
thoughts, it is really pretty straight forward.

	Andrew



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

* Re: [rfc] Add uiout param to libgdb functions
  2001-09-08  9:48 [rfc] Add uiout param to libgdb functions Andrew Cagney
@ 2001-09-08 10:14 ` Fernando Nasser
  2001-09-08 10:33   ` Andrew Cagney
  2001-09-17 21:24 ` Andrew Cagney
  1 sibling, 1 reply; 4+ messages in thread
From: Fernando Nasser @ 2001-09-08 10:14 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

Andrew Cagney wrote:
> 
> Hello,
> 
> The attached adds a UIOUT param to the libgdb function calls.  Any
> thoughts, it is really pretty straight forward.
> 

Sure thing.

If I remember well we could not do it before because of the non-uiout
code
that was still around.

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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

* Re: [rfc] Add uiout param to libgdb functions
  2001-09-08 10:14 ` Fernando Nasser
@ 2001-09-08 10:33   ` Andrew Cagney
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2001-09-08 10:33 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: gdb-patches

> Andrew Cagney wrote:
> 
>> 
>> Hello,
>> 
>> The attached adds a UIOUT param to the libgdb function calls.  Any
>> thoughts, it is really pretty straight forward.
>> 
> 
> 
> Sure thing.
> 
> If I remember well we could not do it before because of the non-uiout
> code
> that was still around.


not sure, i think it was more that uiout wasn't being passed around. 
catch_exceptions() covers this problem by installing the explicit uiout 
parameter for the lifetime of the call. c.f. gdb internals doco.

next is a stop reason query. keith, you can start thinking about buying 
some champagne :-)

andrew



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

* Re: [rfc] Add uiout param to libgdb functions
  2001-09-08  9:48 [rfc] Add uiout param to libgdb functions Andrew Cagney
  2001-09-08 10:14 ` Fernando Nasser
@ 2001-09-17 21:24 ` Andrew Cagney
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2001-09-17 21:24 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

I've checked this in.

Andrew

> 2001-09-07  Andrew Cagney  <ac131313@redhat.com>
> 
> * thread.c (do_captured_thread_select): Add uiout parameter.
> 	(do_captured_list_thread_ids): Ditto.
> 	* breakpoint.c (do_captured_breakpoint_query): Ditto.
> 
> 	* breakpoint.c (gdb_breakpoint_query): Update.  Use
> 	catch_exceptions.
> 	* thread.c (gdb_list_thread_ids): Ditto.
> 	(gdb_thread_select): Ditto.
> 	(thread_command): Pass uiout to gdb_thread_select.
> 
> 	* gdb.h (gdb_breakpoint_query): Add parameter ui_out.
> 	(gdb_thread_select, gdb_list_thread_ids): Ditto.
> 
> Index: mi/ChangeLog
> 2001-08-12  Andrew Cagney  <ac131313@redhat.com>
> 
> * mi-main.c (mi_cmd_thread_select): Pass uiout to
> 	gdb_thread_select.
> 	(mi_cmd_thread_list_ids): Pass uiout to gdb_list_thread_ids.
> 
> 	* mi-cmd-break.c (breakpoint_notify): Pass uiout to
> 	gdb_breakpoint_query.
> 
> 



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

end of thread, other threads:[~2001-09-17 21:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-08  9:48 [rfc] Add uiout param to libgdb functions Andrew Cagney
2001-09-08 10:14 ` Fernando Nasser
2001-09-08 10:33   ` Andrew Cagney
2001-09-17 21:24 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox