public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug pascal/26855] New: pascal: array of strings not printed correctly
@ 2020-11-09 16:09 vries at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2020-11-09 16:09 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-09 16:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 16:09 [Bug pascal/26855] New: pascal: array of strings not printed correctly vries at gcc dot gnu.org
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).