This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc/rft] [1/3] Remove stabs target macros: VARIABLES_INSIDE_BLOCK
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 5 Oct 2007 14:12:14 -0400
- Subject: Re: [rfc/rft] [1/3] Remove stabs target macros: VARIABLES_INSIDE_BLOCK
- References: <200710051805.l95I5D78029197@d12av02.megacenter.de.ibm.com>
On Fri, Oct 05, 2007 at 08:05:13PM +0200, Ulrich Weigand wrote:
> +/* Specify that for the native compiler variables for a particular
> + lexical context are listed after the beginning LBRAC instead of
> + before in the executables list of symbols. */
> +static int
> +arm_variables_inside_block (int desc, int gcc_p)
> +{
> + return !gcc_p;
> +}
Does anyone reading this know what native compiler is meant here?
I suspect it is an ancient comment, probably back as far as RiscOS.
In that case there's no reason to keep the variable.
>
> static enum gdb_osabi
> arm_elf_osabi_sniffer (bfd *abfd)
> @@ -3001,6 +3010,9 @@ arm_gdbarch_init (struct gdbarch_info in
> set_gdbarch_coff_make_msymbol_special (gdbarch,
> arm_coff_make_msymbol_special);
>
> + /* Specical STABS overrides. */
Typo.
--
Daniel Jacobowitz
CodeSourcery