[PATCH][commit/obvious] Fix argument type on gdbsim_detach prototype.

Joel Brobecker brobecker@adacore.com
Mon Nov 11 14:42:00 GMT 2013


> 2013-11-11  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
> 
> 	* remote-sim.c (gdbsim_detach): Fix prototype.

Thanks!

I just noticed that one line then became too long. So I pushed
a checkin of my own as well...

> -static void gdbsim_detach (struct target_ops *ops, char *args, int from_tty);
> +static void gdbsim_detach (struct target_ops *ops, const char *args, int from_tty);

gdb/ChangeLog:

        * remote-sim.c (gdbsim_detach): Break declaration into
        shorter lines.  No code change.

-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Minor-reformatting-in-remote-sim.c-gdbsim_detach-dec.patch
Type: text/x-diff
Size: 1355 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20131111/b84f065f/attachment.bin>


More information about the Gdb-patches mailing list