This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Next hp problem: gdbarch_deprecated_register_convertible


When I build gdb with hp ansi c or hp aC++, gdb passes the
"./gdb ./gdb ; break main ; run" test.

When I build gdb with gcc 3.3.2, gdb fails on "run".
Here's a transcript and a stack trace.

Michael C

===

[top] run
Starting program: /house/chastain/gdb/install/hppa2.0w-hp-hpux11.11/s1-blank-gcc-none/bin/gdb ./gdb
GNU gdb 2004-02-14-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
(gdb) break main
Breakpoint 1 at 0x25650: file /house/chastain/gdb/s1/gdb/gdb.c, line 28.
(gdb) run
Starting program: /house/chastain/gdb/install/hppa2.0w-hp-hpux11.11/s1-blank-gcc-none/bin/gdb
Detaching after fork from process 23246

Breakpoint 1, main (argc=
/house/chastain/gdb/s1/gdb/gdbarch.c:3898: internal-error: gdbarch_deprecated_register_convertible: Assertion `gdbarch->deprecated_register_convertible != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

===

#0  internal_error (file=0x1cb260 "/house/chastain/gdb/s1/gdb/gdbarch.c",
    line=3898, string=0x1cb2a0 "%s: Assertion `%s' failed.")
    at /house/chastain/gdb/s1/gdb/utils.c:836
#1  0x0008fea8 in gdbarch_deprecated_register_convertible (gdbarch=0x4007a
    nr=26) at /house/chastain/gdb/s1/gdb/gdbarch.c:3900
#2  0x00096048 in legacy_convert_register_p (regnum=3898, type=0xf3a)
    at /house/chastain/gdb/s1/gdb/arch-utils.c:320
#3  0x00090140 in gdbarch_convert_register_p (gdbarch=0x4007a068, regnum=2
    type=0x411af120) at /house/chastain/gdb/s1/gdb/gdbarch.c:3952
#4  0x0005eb34 in value_from_register (type=0x411af120, regnum=26,
    frame=0x400672d8) at /house/chastain/gdb/s1/gdb/findvar.c:620
#5  0x0005e864 in read_var_value (var=0x411e5108, frame=0x400672d8)
    at /house/chastain/gdb/s1/gdb/findvar.c:557
#6  0x000343a4 in print_frame_args (func=0x411e5108, fi=0x400672d8, num=-1
    stream=0x40071980) at /house/chastain/gdb/s1/gdb/stack.c:351
#7  0x0003452c in print_args_stub (args=0x77ff1dc0)
    at /house/chastain/gdb/s1/gdb/stack.c:406
#8  0x0003a2a8 in do_catch_errors (uiout=0x1cb260, data=0xf3a)
    at /house/chastain/gdb/s1/gdb/top.c:523
#9  0x0003a0f0 in catcher (func=0x40022982 <SD$setupterm+2570>,
    func_uiout=0x40069f90, func_args=0x77ff1e68, func_val=0x77ff1e74,
    func_caught=0x77ff1e70, errstring=0x1b7f40 "", gdberrmsg=0x0, mask=6)
    at /house/chastain/gdb/s1/gdb/top.c:430
#10 0x0003a2f8 in catch_errors (func=0x1cb260 <schedlock_step+4904>,
    func_args=0xf3a, errstring=0x1cb2a0 "%s: Assertion `%s' failed.",
    mask=1915004) at /house/chastain/gdb/s1/gdb/top.c:535
#11 0x00034d5c in print_frame (fi=0x400672d8, level=-1, source=1, args=1,
      {symtab = 0x411e7808, section = 0x0, line = 28, pc = 153168, end = 1) at /house/chastain/gdb/s1/gdb/stack.c:660
#12 0x00034658 in print_frame_info (fi=0x400672d8, level=-1, source=1, arg
    at /house/chastain/gdb/s1/gdb/stack.c:479
#13 0x00033f08 in print_stack_frame_stub (args=0x1d3848)
    at /house/chastain/gdb/s1/gdb/stack.c:136
#14 0x0003a2a8 in do_catch_errors (uiout=0x1cb260, data=0xf3a)
    at /house/chastain/gdb/s1/gdb/top.c:523
#15 0x0003a0f0 in catcher (func=0x40022982 <SD$setupterm+2570>,
    func_uiout=0x40069f90, func_args=0x77ff1a28, func_val=0x77ff1a34,
    func_caught=0x77ff1a30, errstring=0x1b7f40 "", gdberrmsg=0x0, mask=6)
    at /house/chastain/gdb/s1/gdb/top.c:430


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]