public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/17835] New: gdb fails to find members of current object/class (this / self) / case-sensitivity issue
@ 2015-01-12 23:21 gdb.bugs at mfriebe dot de
2015-08-31 10:20 ` [Bug gdb/17835] " gdb.bugs at mfriebe dot de
0 siblings, 1 reply; 2+ messages in thread
From: gdb.bugs at mfriebe dot de @ 2015-01-12 23:21 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17835
Bug ID: 17835
Summary: gdb fails to find members of current object/class
(this / self) / case-sensitivity issue
Product: gdb
Version: 7.8
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: gdb.bugs at mfriebe dot de
This issue is present in gdb 7.7 and 7.8 (it worked fine with all versions
before)
I tested on windows, 32 bit vista, but was told the issue was also present on
linux (not tested myself).
Compile the program below using fpc (freepascal). The issue occurs with stabs
(fpc -gs) or dwarf2 (fpc -gw).
Set a breakpoint on "writeln" and run.
Try to evaluate:
ptype member1
This should return (and does with older gdb)
type = integer
With gdb 7.7 or 7.8 it returns:
Type TFOO has no component named member1.\n
It seems to be a case sensitivity issue:
this works: ptype MEMBER1
But
ptype self.member1
also works, being lowercase.
program classmember;
type
TFoo = class
member1: integer;
procedure bar;
end;
procedure TFoo.bar;
begin
member1 := 222;
writeln;
end;
begin
TFoo.Create.bar;
end.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug gdb/17835] gdb fails to find members of current object/class (this / self) / case-sensitivity issue
2015-01-12 23:21 [Bug gdb/17835] New: gdb fails to find members of current object/class (this / self) / case-sensitivity issue gdb.bugs at mfriebe dot de
@ 2015-08-31 10:20 ` gdb.bugs at mfriebe dot de
0 siblings, 0 replies; 2+ messages in thread
From: gdb.bugs at mfriebe dot de @ 2015-08-31 10:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17835
Martin <gdb.bugs at mfriebe dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Martin <gdb.bugs at mfriebe dot de> ---
Issue is fixed in 7.9.1
possible due to changes from #17815 ?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-31 10:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12 23:21 [Bug gdb/17835] New: gdb fails to find members of current object/class (this / self) / case-sensitivity issue gdb.bugs at mfriebe dot de
2015-08-31 10:20 ` [Bug gdb/17835] " gdb.bugs at mfriebe dot de
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).