diff options
Diffstat (limited to 'gdb/jit.c')
-rw-r--r-- | gdb/jit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/jit.c b/gdb/jit.c index 1f87bf2538d..1b78a93653c 100644 --- a/gdb/jit.c +++ b/gdb/jit.c @@ -849,17 +849,16 @@ jit_reader_try_read_symtab (struct jit_code_entry *code_entry, gdb_mem = (gdb_byte *) xmalloc (code_entry->symfile_size); status = 1; - TRY + try { if (target_read_memory (code_entry->symfile_addr, gdb_mem, code_entry->symfile_size)) status = 0; } - CATCH (e, RETURN_MASK_ALL) + catch (const gdb_exception_RETURN_MASK_ALL &e) { status = 0; } - END_CATCH if (status) { |