public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug pascal/11591] New: the array information isn't complete.
@ 2010-05-12 11:59 broken dot zhou at gmail dot com
  2010-05-12 12:00 ` [Bug pascal/11591] " broken dot zhou at gmail dot com
  2010-05-12 12:47 ` muller at ics dot u-strasbg dot fr
  0 siblings, 2 replies; 3+ messages in thread
From: broken dot zhou at gmail dot com @ 2010-05-12 11:59 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug pascal/11591] the array information isn't complete.
  2010-05-12 11:59 [Bug pascal/11591] New: the array information isn't complete broken dot zhou at gmail dot com
@ 2010-05-12 12:00 ` broken dot zhou at gmail dot com
  2010-05-12 12:47 ` muller at ics dot u-strasbg dot fr
  1 sibling, 0 replies; 3+ messages in thread
From: broken dot zhou at gmail dot com @ 2010-05-12 12:00 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From broken dot zhou at gmail dot com  2010-05-12 12:00 -------
I made a mistake.
the line "it returns #1#1" should be "it returns #1#2"


-- 


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug pascal/11591] the array information isn't complete.
  2010-05-12 11:59 [Bug pascal/11591] New: the array information isn't complete broken dot zhou at gmail dot com
  2010-05-12 12:00 ` [Bug pascal/11591] " broken dot zhou at gmail dot com
@ 2010-05-12 12:47 ` muller at ics dot u-strasbg dot fr
  1 sibling, 0 replies; 3+ messages in thread
From: muller at ics dot u-strasbg dot fr @ 2010-05-12 12:47 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From muller at ics dot u-strasbg dot fr  2010-05-12 12:47 -------
  This is a known problem for gdb 7.1,
see bug Id 11492, it should normally be fixed
in CVS.

*** This bug has been marked as a duplicate of 11492 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-12 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-12 11:59 [Bug pascal/11591] New: the array information isn't complete broken dot zhou at gmail dot com
2010-05-12 12:00 ` [Bug pascal/11591] " broken dot zhou at gmail dot com
2010-05-12 12:47 ` muller at ics dot u-strasbg dot fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).