Re: [PATCH] Multi-process + multi-arch: GDB

Tom Tromey
2012-11-09T18:24:52Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> +/* This is a convenience wrapper for 'current_inferior ()->gdbarch'. */
Pedro> +#define target_gdbarch get_target_gdbarch ()
Pedro> +extern struct gdbarch *get_target_gdbarch (void);

I think object-like macros that expand to functions make the code harder
to read.

I can write up a patch to fix this if you agree.

Tom