diff options
author | John Gilmore <gnu@cygnus> | 1991-11-27 09:43:59 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-27 09:43:59 +0000 |
commit | f1d77e90532e9ac4a4362a4e55d7b975cb0be991 (patch) | |
tree | 2246c2f3fb742f008789481a8aa17ec0b69a3b27 /gdb/remote-vx.68.c | |
parent | 7d7ecbddb0308f987cd71ded534823539e719879 (diff) | |
download | gdb-f1d77e90532e9ac4a4362a4e55d7b975cb0be991.zip gdb-f1d77e90532e9ac4a4362a4e55d7b975cb0be991.tar.gz gdb-f1d77e90532e9ac4a4362a4e55d7b975cb0be991.tar.bz2 |
Improve G++ debugging support.
Diffstat (limited to 'gdb/remote-vx.68.c')
-rw-r--r-- | gdb/remote-vx.68.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-vx.68.c b/gdb/remote-vx.68.c index 4848ca2..3a46d21 100644 --- a/gdb/remote-vx.68.c +++ b/gdb/remote-vx.68.c @@ -318,7 +318,8 @@ vx_call_function (function, nargs, args) to the structure, not the structure itself. */ if (REG_STRUCT_HAS_ADDR (using_gcc)) for (i = nargs - 1; i >= 0; i--) - if (TYPE_CODE (VALUE_TYPE (args[i])) == TYPE_CODE_STRUCT) + if ( TYPE_CODE (VALUE_TYPE (args[i])) == TYPE_CODE_STRUCT + || TYPE_CODE (VALUE_TYPE (args[i])) == TYPE_CODE_UNION) { CORE_ADDR addr; #if !(1 INNER_THAN 2) |