[PATCH 06/46] gdb, intelgt: add the target-dependent definitions for the Intel GT architecture

Alexandra Petlanova Hajkova ahajkova@redhat.com
Mon Sep 30 15:35:39 GMT 2024


Hi Baris,

this patch seems to crash GDB during the gdb.base/all-architectures-2.exp
test:

(gdb) IPASS: gdb.base/all-architectures-2.exp: tests: osabi=AIX:
arch=intelgt: endian=auto: print, float
disassemble 0x100,+4
Dump of assembler code from 0x100 to 0x104:
   0x0000000000000100:  ../../../binutils-gdb/gdb/arch-utils.c:1044:
internal-error: default_print_insn: Assertion `disassemble_fn != NULL'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
FAIL: gdb.base/all-architectures-2.exp: tests: osabi=AIX: arch=intelgt:
endian=auto: disassemble 0x100,+4 (GDB internal error)
Resyncing due to internal error.
0x4f47eb gdb_internal_backtrace_1
        ../../../binutils-gdb/gdb/bt-utils.c:121
0x4f47eb _Z22gdb_internal_backtracev
        ../../../binutils-gdb/gdb/bt-utils.c:167
0x9b20bf internal_vproblem
        ../../../binutils-gdb/gdb/utils.c:421

...

./../../binutils-gdb/gdb/arch-utils.c:1044: internal-error:
default_print_insn: Assertion `disassemble_fn != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20240930/ca833929/attachment.htm>


More information about the Gdb-patches mailing list