New ARI warning Sat Mar 12 01:53:29 UTC 2011
Eli Zaretskii
eliz@gnu.org
Mon Mar 14 13:16:00 GMT 2011
> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Cc: <gdb-patches@sourceware.org>
> Date: Mon, 14 Mar 2011 13:49:39 +0100
>
> linux-nat.h-147-/* Create a generic GNU/Linux target using traditional
> linux-nat.h-148- ptrace register access. */
> linux-nat.h-149-struct target_ops *
> linux-nat.h:150:linux_trad_target (CORE_ADDR (*register_u_offset)(struct
> gdbarch *, int, int));
Either
struct target_ops *linux_trad_target (CORE_ADDR (*register_u_offset)(struct gdbarch *,
int, int));
or even
struct target_ops *linux_trad_target (CORE_ADDR (*register_u_offset)(struct gdbarch *, int, int));
IOW, such marginal examples are not interesting (one should use a
typedef for that function argument, anyway, to make the prototype
legible).
More information about the Gdb-patches
mailing list