2011-05-05 Jerome Guitton <guitton@adacore.com>
authorJerome Guitton <guitton@adacore.com>
Thu, 5 May 2011 15:57:35 +0000 (15:57 +0000)
committerJerome Guitton <guitton@adacore.com>
Thu, 5 May 2011 15:57:35 +0000 (15:57 +0000)
commita3fcb948d3897e47ad7e952297ba61422757997b
treeae85c746ba30031ef620eb042787e1a93f022e3d
parent67ed7401253f88a6b60741984cc503646e2257d7
2011-05-05  Jerome Guitton  <guitton@adacore.com>

* i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer):
New functions.
(i386_stack_tramp_frame_unwind): New static global.
(i386_match_pattern): New function, extracted from i386_match_insn.
(i386_match_insn): Use i386_match_pattern.
(i386_match_insn_block): New function.
(i386_tramp_chain_in_reg_insns)
(i386_tramp_chain_on_stack_insns): New static variables.
(i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list
of unwinders.
gdb/ChangeLog
gdb/i386-tdep.c