public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "muller at sourceware dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug pascal/17815] New: Make fields of self case-insensitive like other pascal variables
Date: Thu, 08 Jan 2015 08:19:00 -0000 [thread overview]
Message-ID: <bug-17815-4717@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=17815
Bug ID: 17815
Summary: Make fields of self case-insensitive like other pascal
variables
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: pascal
Assignee: unassigned at sourceware dot org
Reporter: muller at sourceware dot org
Created attachment 8056
--> https://sourceware.org/bugzilla/attachment.cgi?id=8056&action=edit
Example source code
In the pascal parser, there is special code
that will try to emulate case-insensivity despite the
fact that pascal is not registered as a 'case-insensitive' language.
# Compile attached source code, using Free Pascal compiler
fpc -gs -Mobjfpc test-class-pascal.pas
# Debug it
gdb ./test-class-pascal
.......
(gdb) b TA__CHECK
Breakpoint 1 at 0x40154c: file test-class-pascal.pas, line 23.
(gdb) r
Starting program: E:\pas\test\test-class-pascal.exe
[New Thread 6700.0x1ae0]
Breakpoint 1, TA__CHECK (B=0x1572ee0, this=<error reading variable>)
at test-class-pascal.pas:23
23 check:=(x < b.x);
(gdb) p this
$1 = (TA) 0x1572ed0
(gdb) p this^
warning: can't find linker symbol for virtual table for `TA' value
$2 = {<TOBJECT> = {_vptr$ = {0x408014, 0x43}}, X = 67, Y = 33}
(gdb) p X
warning: can't find linker symbol for virtual table for `TA' value
$3 = 67
(gdb) p B.X
warning: can't find linker symbol for virtual table for `TA' value
$4 = -1
(gdb) p b.x
warning: can't find linker symbol for virtual table for `TA' value
$5 = -1
(gdb) p x
Type TA has no component named x.
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2015-01-08 8:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-08 8:19 muller at sourceware dot org [this message]
2015-01-08 8:24 ` [Bug pascal/17815] " muller at sourceware dot org
2015-01-08 8:25 ` muller at sourceware dot org
2015-01-08 8:28 ` muller at sourceware dot org
2015-04-21 20:20 ` cvs-commit at gcc dot gnu.org
2015-04-21 20:30 ` muller at sourceware dot org
2015-05-02 22:40 ` cvs-commit at gcc dot gnu.org
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-17815-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).