This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug pascal/11591] New: the array information isn't complete.


program example;
var
  a: array [1..2] of longint;
begin
  a[1]:=1;
  a[2]:=2;
  writeln(a[1],' ',a[2]);
end.

this is a simple program. set the breakpoint on line 4.
then "print a"
it returns #0. "next"
it returns #1. "next"
it returns #1#1.
the size of the array a is 2, but gdb only shows one of them. 
is it a bug?

-- 
           Summary: the array information isn't complete.
           Product: gdb
           Version: 7.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: pascal
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: broken dot zhou at gmail dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11591

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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