This is the mail archive of the gdb-patches@sources.redhat.com 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] Add declaration in i386-tdep.h (for interix)


Hello Mark,

I submitted this change, motivated by the fact that the interix-tdep
file needs this declaration. Andrew suggested that we namespace-proof
this function. I would be glad to change the name to, say,

    i386_skip_trampoline_code

But I would perfer to have your opinion/approval before going ahead,
since you are the i386 maintainer.

Thank you,

> 2002-07-30  Joel Brobecker  <brobecker@gnat.com>
> 
>         * i386-tdep.h (skip_trampoline_code): Add forward declaration.
>         Will be needed for the interix target.
> 
> OK to apply?
> 
> Thank you.
> -- 
> Joel

> Index: i386-tdep.h
> ===================================================================
> RCS file: /cvs/src/src/gdb/i386-tdep.h,v
> retrieving revision 1.10
> diff -c -3 -p -r1.10 i386-tdep.h
> *** i386-tdep.h	4 Jul 2002 08:18:20 -0000	1.10
> --- i386-tdep.h	30 Jul 2002 17:55:28 -0000
> *************** struct gdbarch_tdep
> *** 160,165 ****
> --- 160,168 ----
>   /* Size of the largest register.  */
>   #define I386_MAX_REGISTER_SIZE	16
>   
> + /* Functions exported from i386-tdep.c */
> + extern CORE_ADDR skip_trampoline_code (CORE_ADDR pc, char *name);
> + 
>   /* Return the name of register REG.  */
>   extern char const *i386_register_name (int reg);
>   


-- 
Joel


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