This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: x86-64-tdep.h cleanup
- From: Andreas Schwab <schwab at suse dot de>
- To: Michal Ludvig <mludvig at suse dot cz>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 06 Mar 2002 12:09:26 +0100
- Subject: Re: x86-64-tdep.h cleanup
- References: <3C84EAA8.2000900@suse.cz>
Michal Ludvig <mludvig@suse.cz> writes:
|> Index: x86-64-tdep.c
|> ===================================================================
|> RCS file: /cvs/src/src/gdb/x86-64-tdep.c,v
|> retrieving revision 1.10
|> diff -c -3 -p -r1.10 x86-64-tdep.c
|> *** x86-64-tdep.c 2002/03/04 11:08:28 1.10
|> --- x86-64-tdep.c 2002/03/05 15:03:37
|> *************** int x86_64_register_raw_size_table[X86_6
|> *** 59,64 ****
|> --- 59,69 ----
|> 4
|> };
|>
|> + /* Prototypes of some functions from x86-64-linux-tdep.c */
|> +
|> + gdbarch_frame_saved_pc_ftype x86_64_linux_frame_saved_pc;
|> + gdbarch_saved_pc_after_call_ftype x86_64_linux_saved_pc_after_call;
|> +
|> /* Number of bytes of storage in the actual machine representation for
|> register REGNO. */
|> int
I think the registration of the Linux specific gdbarch functions should be
moved to x86-64-linux-tdep.c.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."