summaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-12-06 03:32:26 +0000
committerRandolph Chung <tausq@debian.org>2004-12-06 03:32:26 +0000
commit6bfec2853bc9e991f774d4e728d3975085ddaef2 (patch)
tree7c20b9b75638441d3fcc7c8ab29f594c1a4696ec /gdb/hppa-tdep.c
parent48542fb55fb7df257ecd426101b32928589762b4 (diff)
downloadgdb-6bfec2853bc9e991f774d4e728d3975085ddaef2.tar.gz
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/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 312e16670c3..98db12167ee 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