diff options
author | Randolph Chung <tausq@debian.org> | 2004-12-06 03:32:26 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-12-06 03:32:26 +0000 |
commit | 57dac9e17d264382a22aab869e628baeae201338 (patch) | |
tree | 9e8c69840930307d5a1d91840e8bc1616cc6b5e7 /gdb | |
parent | e940c538cd0a6fc6a936df91c25a85c6cafbb31d (diff) | |
download | gdb-57dac9e17d264382a22aab869e628baeae201338.zip gdb-57dac9e17d264382a22aab869e628baeae201338.tar.gz gdb-57dac9e17d264382a22aab869e628baeae201338.tar.bz2 |
2004-12-05 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (unwind_command): Print the stub type for stub unwind
records.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 25 |
2 files changed, 30 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 33bdc41..4496c6f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-12-05 Randolph Chung <tausq@debian.org> + + * hppa-tdep.c (unwind_command): Print the stub type for stub unwind + records. + 2004-12-05 Mark Kettenis <kettenis@gnu.org> * somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 312e166..98db121 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -2287,6 +2287,31 @@ unwind_command (char *exp, int from_tty) pin (Entry_FR); pin (Entry_GR); pin (Total_frame_size); + + if (u->stub_unwind.stub_type) + { + printf_unfiltered ("\tstub type = "); + switch (u->stub_unwind.stub_type) + { + case LONG_BRANCH: + printf_unfiltered ("long branch\n"); + break; + case PARAMETER_RELOCATION: + printf_unfiltered ("parameter relocation\n"); + break; + case EXPORT: + printf_unfiltered ("export\n"); + break; + case IMPORT: + printf_unfiltered ("import\n"); + break; + case IMPORT_SHLIB: + printf_unfiltered ("import shlib\n"); + break; + default: + printf_unfiltered ("unknown (%d)\n", u->stub_unwind.stub_type); + } + } } int |