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: New ARI warning Sat Mar 12 01:53:29 UTC 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).


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