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: [RFA] Stabs: Ignore N_BNSYM/N_ENSYM entry types


> 2014-10-02  Pierre Muller  <muller@sourceware.org>
> 
>         * gdb/dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
> 

Looks good to me, Pierre. Go ahead and push.

> 
> diff --git a/gdb/dbxread.c b/gdb/dbxread.c
> index fd7910c..2c3be20 100644
> --- a/gdb/dbxread.c
> +++ b/gdb/dbxread.c
> @@ -2120,6 +2120,8 @@ read_dbx_symtab (struct objfile *objfile)
>         case N_SLINE:
>         case N_RSYM:
>         case N_PSYM:
> +       case N_BNSYM:
> +       case N_ENSYM:
>         case N_LBRAC:
>         case N_NSYMS:           /* Ultrix 4.0: symbol count */
>         case N_DEFD:            /* GNU Modula-2 */

-- 
Joel


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