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]

value_from_register: Value not stored anywhere!


Hi,

I got this internal error in an arm gdb I built from cvs a couple weeks ago. I 
opened up the core file and here is the backtrace. I'm not sure what the 
problem is.

Jon
GNU gdb 5.3-22mdk (Mandrake Linux)
Copyright 2002 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 "i586-mandrake-linux-gnu".
Core was generated by `/home/eringlej/gdb-cvs/gdb-6.0-arm-build/gdb/gdb -q -fullname -b 115200 vmlinux'.
Program terminated with signal 6, Aborted.
#0  0x400af481 in ?? ()
Setting up the environment for debugging gdb.
.gdbinit:5: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
(gdb) file gdb
Reading symbols from gdb...done.
(gdb) (gdb) b(gdb) bt(gdb) bt
#0  0x400af481 in ?? ()
#1  0x400b076b in ?? ()
#2  0x0811e839 in internal_vproblem (problem=0x8269a40, 
    file=0x81f965a "../../src/gdb/findvar.c", line=706, 
    fmt=0x81f9980 "value_from_register: Value not stored anywhere!", 
    ap=0xbfffe8ac "Ôõ\b\b\210Í+\b") at ../../src/gdb/utils.c:774
#3  0x0811e882 in internal_verror (file=0x81f965a "../../src/gdb/findvar.c", 
    line=706, fmt=0x81f9980 "value_from_register: Value not stored anywhere!", 
    ap=0xbfffe8ac "Ôõ\b\b\210Í+\b") at ../../src/gdb/utils.c:797
#4  0x0811e8ac in internal_error (file=0x81f965a "../../src/gdb/findvar.c", 
    line=706, 
    string=0x81f9980 "value_from_register: Value not stored anywhere!")
    at ../../src/gdb/utils.c:806
#5  0x0808f7f9 in value_from_register (type=0x853bcb4, regnum=0, 
    frame=0x82a6418) at ../../src/gdb/findvar.c:706
#6  0x0808f47e in read_var_value (var=0x8548834, frame=0x82a6418)
    at ../../src/gdb/findvar.c:556
#7  0x080c666d in print_frame_args (func=0x85487a4, fi=0x82a6418, num=-1, 
    stream=0x82b5a20) at ../../src/gdb/stack.c:351
#8  0x080c6828 in print_args_stub (args=0xbfffeb70)
    at ../../src/gdb/stack.c:406
#9  0x0811c1a1 in do_catch_errors (uiout=0x82a8be8, data=0xbfffeb38)
    at ../../src/gdb/top.c:497
#10 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>, 
    func_uiout=0x82a8be8, func_args=0xbfffeb38, func_val=0xbfffeb44, 
    func_caught=0xbfffeb40, errstring=0x8208f80 "", mask=6)
    at ../../src/gdb/top.c:429
#11 0x0811c1dd in catch_errors (func=0x80c67a6 <print_args_stub>, 
    func_args=0xbfffeb70, errstring=0x8208f80 "", mask=6)
    at ../../src/gdb/top.c:509
#12 0x080c6f44 in print_frame (fi=0x82a6418, level=1, source=0, args=1, sal=
      {symtab = 0x8540f88, section = 0x0, line = 1383, pc = 268620312, end = 268620316}) at ../../src/gdb/stack.c:660
#13 0x080c6a3f in print_frame_info (fi=0x82a6418, level=1, source=0, args=1)
    at ../../src/gdb/stack.c:479
#14 0x080c7e21 in backtrace_command_1 (count_exp=0x0, show_locals=0, 
    from_tty=0) at ../../src/gdb/stack.c:1226
#15 0x080c8088 in backtrace_command (arg=0x0, from_tty=0)
    at ../../src/gdb/stack.c:1292
#16 0x08075ebb in do_cfunc (c=0x829b090, args=0x0, from_tty=0)
    at ../../src/gdb/cli/cli-decode.c:53
#17 0x08077e4a in cmd_func (cmd=0x829b090, args=0x0, from_tty=0)
    at ../../src/gdb/cli/cli-decode.c:1537
#18 0x0811c56e in execute_command (p=0x828b74d "", from_tty=1)
    at ../../src/gdb/top.c:716
#19 0x080cc8ee in command_handler (command=0x828b748 "where")
    at ../../src/gdb/event-top.c:500
#20 0x080cd0fa in command_line_handler (rl=0x84683a8 "`½D\b")
    at ../../src/gdb/event-top.c:793
#21 0x081d24d7 in rl_callback_read_char () at ../../src/readline/callback.c:123
#22 0x080cc027 in rl_callback_read_char_wrapper (client_data=0x0)
    at ../../src/gdb/event-top.c:166
#23 0x080cc7af in stdin_event_handler (error=0, client_data=0x0)
    at ../../src/gdb/event-top.c:416
#24 0x080cb71f in handle_file_event (event_file_desc=0)
    at ../../src/gdb/event-loop.c:721
#25 0x080cb03d in process_event () at ../../src/gdb/event-loop.c:334
#26 0x080cb089 in gdb_do_one_event (data=0x0) at ../../src/gdb/event-loop.c:371
#27 0x0811c1a1 in do_catch_errors (uiout=0x82a8be8, data=0xbffff018)
    at ../../src/gdb/top.c:497
#28 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>, 
    func_uiout=0x82a8be8, func_args=0xbffff018, func_val=0xbffff024, 
    func_caught=0xbffff020, errstring=0x820a5c0 "", mask=6)
    at ../../src/gdb/top.c:429
#29 0x0811c1dd in catch_errors (func=0x80cb055 <gdb_do_one_event>, 
    func_args=0x0, errstring=0x820a5c0 "", mask=6) at ../../src/gdb/top.c:509
#30 0x080cb0bc in start_event_loop () at ../../src/gdb/event-loop.c:397
#31 0x080cc13e in cli_command_loop () at ../../src/gdb/event-top.c:198
#32 0x080ca985 in current_interp_command_loop () at ../../src/gdb/interps.c:279
#33 0x08073a27 in captured_command_loop (data=0x0) at ../../src/gdb/main.c:97
#34 0x0811c1a1 in do_catch_errors (uiout=0x82a8be8, data=0xbffff1d8)
    at ../../src/gdb/top.c:497
#35 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>, 
    func_uiout=0x82a8be8, func_args=0xbffff1d8, func_val=0xbffff1e4, 
    func_caught=0xbffff1e0, errstring=0x81ed0cd "", mask=6)
    at ../../src/gdb/top.c:429
#36 0x0811c1dd in catch_errors (func=0x8073a1c <captured_command_loop>, 
    func_args=0x0, errstring=0x81ed0cd "", mask=6) at ../../src/gdb/top.c:509
#37 0x08074858 in captured_main (data=0xbffff4f0) at ../../src/gdb/main.c:811
#38 0x0811c1a1 in do_catch_errors (uiout=0x8268360, data=0xbffff4a8)
    at ../../src/gdb/top.c:497
#39 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>, 
    func_uiout=0x8268360, func_args=0xbffff4a8, func_val=0xbffff4b4, 
    func_caught=0xbffff4b0, errstring=0x81ed0cd "", mask=6)
    at ../../src/gdb/top.c:429
#40 0x0811c1dd in catch_errors (func=0x8073a5c <captured_main>, 
    func_args=0xbffff4f0, errstring=0x81ed0cd "", mask=6)
    at ../../src/gdb/top.c:509
#41 0x08074882 in gdb_main (args=0xbffff4f0) at ../../src/gdb/main.c:820
#42 0x08073a15 in main (argc=6, argv=0xbffff554) at ../../src/gdb/gdb.c:35
#43 0x4009c7f7 in ?? ()
(gdb) quit

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