This is the mail archive of the gdb@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]

Porting GDB (1) arch and frame v0.4


Hi everybody,


I wrote a document called Porting GDB to talk about howto porting GDB and talk something about frame.

You can get the pdf version in
http://teawater.googlepages.com/epgdb1.pdf
or txt vesion
http://teawater.googlepages.com/epgdb1.txt

Please give me some advice and point out my error. Thanks a lot.

The following is the table of contents.
1. Overview
2. GDB/config.sub
3. GDB/gdb/configure.tgt
4. GDB/gdb/config/ARCH/TARGET.mt
5. GDB/gdb/ARCH-tdep.c GDB/gdb/ARCH-TARGET-tdep.c
5.1. Overview
5.2. GDB/gdb/ARCH-tdep.c
5.3. GDB/gdb/ARCH-TARGET-tdep.c
5.4. Gdbarch_register_osabi_sniffer
5.5. Setup functions of gdbarch
6. GDB/gdb/config/ARCH/tm-ARCH.h GDB/gdb/config/ARCH/tm-TARGET.h
6.1. Overview
6.2. Macros
7. Frame
7.1. Overview
7.2. struct frame_info
7.3. struct frame_id
7.4. Get the frame_info of current function
7.5. Get the frame_id of a frame_info
7.6. Get the return address of a frame_info's function
7.7. Get the begin address of the function that higher than a frame
7.8. Gdbarch setup functions that is related with frame
7.9. struct frame_unwind
8. Dummy frame
8.1. Overview
8.2. struct value *call_function_by_hand (struct value *function, int
nargs, struct value **args)
8.3. Gdbarch setup functions that is related with dummy frame
9. Sigtramp frame
9.1. Overview
9.2. Basic parses way
9.3. tramp_frame_prepend_unwinder way
9.3.1. void tramp_frame_prepend_unwinder (struct gdbarch *gdbarch,
const struct tramp_frame *tramp_frame)
9.3.2. Struct tramp_frame
9.3.3. static int tramp_frame_sniffer (const struct frame_unwind
*self, struct frame_info *next_frame, void **this_cache)
9.3.4. static struct trad_frame_cache *tramp_frame_cache (struct
frame_info *next_frame, void **this_cache)


Thanks, teawater


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