This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/15364] New: regression with "&&"
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 12 Apr 2013 17:53:40 +0000
- Subject: [Bug exp/15364] New: regression with "&&"
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15364
Bug #: 15364
Summary: regression with "&&"
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: exp
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Classification: Unclassified
This regression was reported on irc.
It comes from my patch 1f8a1ced4eefa4c6052a3e4566781527373eff45
struct s
{
int x;
};
struct s *s2;
int main()
{
}
(gdb) p s2 && s2->x == 0
Cannot access memory at address 0x0
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.