Freebsd-hackers:
Been trying to debug a program of mine and keep
running into these errors. I was wondering
if there is a problem with exceptions and gccor
with freebsd in general?? I think frame.c has to do with
exceptions.
What do you all think about all those cannot access
memory errors.
Thanks for any help,
c.r.g.
# gdb /a.out ./a.out.core
GNU gdb 4.18 Copyright 1998 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 "i386-unknown-freebsd"... Core was generated by `a.out'. Program terminated with signal 6, Abort trap. Cannot access memory at address 0x280f0e3c. #0 0x2815c530 in ?? ()Cannot access memory at address 0x280f0e3c. (gdb) bt #0 0x2815c530 in ?? ()Cannot access memory at address 0x280f0e3c. #2 0x2816a55f in ?? ()Cannot access memory at address 0x280f0e3c. #3 0x28169fc3 in ?? ()Cannot access memory at address 0x280f0e3c. #4 0x28169d71 in ?? ()Cannot access memory at address 0x280f0e3c. #5 0xbfbfdfcc in ?? ()Cannot access memory at address 0x280f0e3c. #6 0x80a3aa7 in frame_init (ob=0x8119cc8) at ./frame.c:626 626 ./frame.c: No such file or directory. Current language: auto; currently c #7 0x80a3afa in find_fde (pc=0x80a2e46) at ./frame.c:626 626 in ./frame.c #8 0x80a3ffc in __frame_state_for (pc_target=0x80a2e46, state_in=0x819cbc0) at ./frame.c:627 627 in ./frame.c #9 0x80a2e57 in __throw ()Cannot access memory at address 0x280f0e3c. #10 0x80a4337 in __builtin_new (sz=356) Cannot access memory at address 0x280f0e3c. Current language: auto; currently c++ #16 0x28139b3a in ?? ()Cannot access memory at address 0x280f0e3c. #17 0x0 in ?? ()Cannot access memory at address 0x280f0e3c. Initial frame selected; you cannot go up. (gdb) info threads * 1 process 8373 0x0 in ?? ()Cannot access memory at address 0x280f0e3c. warning: Couldn't restore frame in current thread, at frame 0 0x0 in ?? ()Cannot access memory at address 0x280f0e3c. compiling with $ g++295 -v Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd3.4/2.95.2/specs gcc version 2.95.2 19991024 (release) |
- RE: gcc and exceptions and frame.c hackthis
- RE: gcc and exceptions and frame.c Alexander N. Kabaev
- Re: gcc and exceptions and frame.c David O'Brien