public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug pascal/26855] New: pascal: array of strings not printed correctly
Date: Mon, 09 Nov 2020 16:09:11 +0000	[thread overview]
Message-ID: <bug-26855-4717@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=26855

            Bug ID: 26855
           Summary: pascal: array of strings not printed correctly
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pascal
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Consider the patch here (
https://src.fedoraproject.org/rpms/gdb/blob/master/f/gdb-archer-vla-tests.patch
).  It contains a test-case gdb.pascal/arrays.exp.

When running the test-case, we run into:
...
(gdb) print StatArrStr^M
$9 = {#152#17'ú÷', 'ÿ'#127#0, #24#18'ú÷', 'ÿ'#127#0, #152#18'ú÷', 'ÿ'#127#0,
#24#19'ú÷', 'ÿ'#127#0, #152#19'ú÷', 'ÿ'#127#0, #24#20'ú÷', 'ÿ'#127#0,
#152#20'ú÷'}^M
(gdb) FAIL: gdb.pascal/arrays.exp: Print static array of string
...

Expected is:
...
(gdb) print StatArrStr^M
$9 = {'str0', 'str1', 'str2', 'str3', 'str4', 'str5', 'str6', 'str7', 'str8',
'str9', 'str10', 'str11', 'str12'}" 
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

                 reply	other threads:[~2020-11-09 16:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-26855-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).