* rs6000-tdep.c (store_param_on_stack_p): New function,
authorJoel Brobecker <brobecker@gnat.com>
Sat, 15 May 2004 05:57:16 +0000 (05:57 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 15 May 2004 05:57:16 +0000 (05:57 +0000)
commit773df3e50eb03ab9b114698cd28df4c58f1e3ef0
treee8c12b6567c013f2be462f056ad7a076976dc8f5
parent366ddcd57f95b9f2e77fc4cf9b1d680588522e65
    * rs6000-tdep.c (store_param_on_stack_p): New function,
        an improved version of some code extracted from skip_prologue().
        (skip_prologue): Use store_param_on_stack_p() to detect
        instructions saving a parameter on the stack. Detect when r0
        is used to save a parameter.
        Do not mark "li rx, SIMM" instructions as part of the prologue,
        unless the following instruction is also part of the prologue.
gdb/ChangeLog
gdb/rs6000-tdep.c