palves at redhat dot com
2018-05-25 12:00:36 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23234
Bug ID: 23234
Summary: 'watch -l EXPR' doesn't work when EXPR has anonymous
enum type
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
$ cat anon-enum.c
typedef enum { VAL } E;
E an_enum;
int main () { return 0; }
$ gcc anon-enum.c -o anon-enum -g3 -O0
$ gdb -q ./anon-enum -ex "watch -l an_enum"
Reading symbols from ./anon-enum...done.
A syntax error in expression, near `{...} *) 0x0000000000601020'.
(gdb)
Bug ID: 23234
Summary: 'watch -l EXPR' doesn't work when EXPR has anonymous
enum type
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
$ cat anon-enum.c
typedef enum { VAL } E;
E an_enum;
int main () { return 0; }
$ gcc anon-enum.c -o anon-enum -g3 -O0
$ gdb -q ./anon-enum -ex "watch -l an_enum"
Reading symbols from ./anon-enum...done.
A syntax error in expression, near `{...} *) 0x0000000000601020'.
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.