This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/9]#2 Split print_stop_reason into 5 funcs
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Mon, 30 Aug 2010 11:56:42 +0100
- Subject: Re: [patch 2/9]#2 Split print_stop_reason into 5 funcs
- References: <20100830071118.GC6831@host1.dyn.jankratochvil.net>
On Monday 30 August 2010 08:11:18, Jan Kratochvil wrote:
> applicable independently.
Agreed. This is okay.
> -/* Print why the inferior has stopped. We always print something when
> - the inferior exits, or receives a signal. The rest of the cases are
> - dealt with later on in normal_stop() and print_it_typical(). Ideally
> - there should be a call to this function from handle_inferior_event()
> - each time stop_stepping() is called.*/
> +/* Several print_*_reason functions to print why the inferior has stopped.
> + We always print something when the inferior exits, or receives a signal.
> + The rest of the cases are dealt with later on in normal_stop() and
> + print_it_typical(). Ideally there should be a call to this function from
^^^^^^^^^^^^^^^^^^^^^
needs adjustment
> + handle_inferior_event() each time stop_stepping() is called.*/
Might as well fix the missing spaces ---------------------------^
[I'd take the opportunity to remove the '()'s above as well.]
--
Pedro Alves