* stack.c (print_this_frame_argument_p): Handle arguments passed
by reference properly.
This commit is contained in:
parent
d61c6bd41c
commit
0366cf3f26
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-11-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* stack.c (print_this_frame_argument_p): Handle arguments passed
|
||||
by reference properly.
|
||||
|
||||
2007-11-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* stack.c (print_frame_arguments_choices): New static global.
|
||||
|
|
|
@ -179,6 +179,8 @@ print_this_frame_argument_p (struct symbol *sym)
|
|||
print the non-scalar ones. */
|
||||
|
||||
type = CHECK_TYPEDEF (SYMBOL_TYPE (sym));
|
||||
while (TYPE_CODE (type) == TYPE_CODE_REF)
|
||||
type = CHECK_TYPEDEF (TYPE_TARGET_TYPE (type));
|
||||
switch (TYPE_CODE (type))
|
||||
{
|
||||
case TYPE_CODE_ARRAY:
|
||||
|
|
Loading…
Reference in a new issue