Your message dated Mon, 9 Oct 2006 09:45:20 +0200
with message-id <[EMAIL PROTECTED]>
and subject line gnat-gdb: should support DWARF2 debugging format
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: gnat-gdb
Version: 5.3.gnat.0.0.20030225-5
Severity: important
--- a.adb ---
procedure A is
begin
null;
end A;
--- cut ---
[774] [snoopy:bam] ~/tree/OpenATC >gnatmake -g -Wall a
gcc-3.4 -c -g -Wall a.adb
gnatbind -x a.ali
gnatlink a.ali -g
[775] [snoopy:bam] ~/tree/OpenATC >gnatgdb a
GNU gdb 5.3 for gnat 3.17w (20030224)
Copyright 2002 Free Software Foundation, Inc.
Ada Core Technologies version of GDB for GNAT Professional
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.
See your support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty for this version of GDB. Type show warranty for details.
This GDB was configured as "i386-linux"...
(gdb) b a
Breakpoint 1 at 0x80491f7: file a.adb, line 4.
(gdb) r
Starting program: /home/bam/tree/OpenATC/a
Breakpoint 1, a () at a.adb:4
4 end A;
(gdb) s
Die: DW_TAG_subrange_type (abbrev = 5, offset = 2766)
has children: FALSE
attributes:
DW_AT_name (DW_FORM_strp) string: "integer"
DW_AT_lower_bound (DW_FORM_data4) constant: -2147483648
DW_AT_upper_bound (DW_FORM_data4) constant: 2147483647
DW_AT_type (DW_FORM_ref4) constant: 146
Dwarf Error: Cannot find type of die.
(gdb) s
Die: DW_TAG_subrange_type (abbrev = 5, offset = 2766)
has children: FALSE
attributes:
DW_AT_name (DW_FORM_strp) string: "integer"
DW_AT_lower_bound (DW_FORM_data4) constant: -2147483648
DW_AT_upper_bound (DW_FORM_data4) constant: 2147483647
DW_AT_type (DW_FORM_ref4) constant: 146
Dwarf Error: Cannot find type of die.
(gdb) bt
Die: DW_TAG_subrange_type (abbrev = 5, offset = 2766)
has children: FALSE
attributes:
DW_AT_name (DW_FORM_strp) string: "integer"
DW_AT_lower_bound (DW_FORM_data4) constant: -2147483648
DW_AT_upper_bound (DW_FORM_data4) constant: 2147483647
DW_AT_type (DW_FORM_ref4) constant: 146
warning: Dwarf Error: Cannot find type of die.
Am I doing something wrong? Maybe the fact I compiled with gcc-3.4
is the problem.
I have a vague feeling something about using a special parameter with gcc to
compile with the older debug format; Sorry I can't remember what it was.
I also got similar results with a more substantial program.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C
Versions of packages gnat-gdb depends on:
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 6.4+2006-1
Fixed upstream, now in unstable.
--
Ludovic Brenta.
--- End Message ---