Index: gdb/solib-ia64-hpux.c |
diff --git a/gdb/solib-ia64-hpux.c b/gdb/solib-ia64-hpux.c |
index 8a45d75f9663bedc095fc85cfa4ff1a4a45ce08b..f349c4c8674590a3bff55dfcdfe4490b660e14ac 100644 |
--- a/gdb/solib-ia64-hpux.c |
+++ b/gdb/solib-ia64-hpux.c |
@@ -164,7 +164,7 @@ ia64_hpux_at_dld_breakpoint_1_p (ptid_t ptid) |
int |
ia64_hpux_at_dld_breakpoint_p (ptid_t ptid) |
{ |
- struct gdb_exception e; |
+ volatile struct gdb_exception e; |
ptid_t saved_ptid = inferior_ptid; |
int result = 0; |
@@ -278,7 +278,7 @@ ia64_hpux_handle_dld_breakpoint_1 (ptid_t ptid) |
void |
ia64_hpux_handle_dld_breakpoint (ptid_t ptid) |
{ |
- struct gdb_exception e; |
+ volatile struct gdb_exception e; |
ptid_t saved_ptid = inferior_ptid; |
inferior_ptid = ptid; |