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]

Re: value_from_register: Value not stored anywhere!


On Friday 14 November 2003 01:06 am, Daniel Jacobowitz wrote:
> On Fri, Nov 14, 2003 at 12:27:33AM -0500, Jon Ringle wrote:
> > 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
>
> Test case?

Scenario is debugging a remote arm target with kgdb:

GNU gdb 2003-10-27-cvs
Copyright 2003 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 "--host=i686-pc-linux-gnu --target=arm-linux"...
(gdb) target extended-remote /dev/ttyUSB0
Remote debugging using /dev/ttyUSB0
breakpoint () at kgdb-stub.c:1146
1146    }
warning: shared library handler failed to enable breakpoint
(gdb) c
Continuing.
mm/slab.c: kmem_cache_init entry: start: 10227F40, end: 10FFBFFF

Calibrating delay loop...       6.68 BogoMIPS


Memory: 14156k/15M available (0k code, 32k reserved, 0k data, 0k init)
<6>kmem_test() - start
<3>kmem_free: Bad front redzone (objp=10ff9004, name=test-cachep)

Compiled breakpoint hit

Program received signal SIGTRAP, Trace/breakpoint trap.
breakpoint () at kgdb-stub.c:1146
1146    }
(gdb) bt
#0  breakpoint () at kgdb-stub.c:1146
#1  0x1002d21c in kmem_report_free_err (str=0x10187f54 "\204\177\030\020d\177\030\020À×\002\020ÀÑ\002\020\020\237\030\020\b\220ÿ\020`§ÿ\020L\237\030\020", objp=0x1002d21c,
    cachep=
../../src/gdb/findvar.c:706: internal-error: value_from_register: Value not stored anywhere!
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
../../src/gdb/findvar.c:706: internal-error: value_from_register: Value not stored anywhere!
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y


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