This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
tracepoints implementation: bug in byte code generating.
- To: <gdb-patches at sources dot redhat dot com>, "ezra, josef" <ezra_josef at emc dot com>
- Subject: tracepoints implementation: bug in byte code generating.
- From: "Josef Ezra" <jezra at emc dot com>
- Date: Thu, 19 Oct 2000 10:25:43 -0400
- Cc: <shagam at emc dot com>, <sgordon at emc dot com>
- References: <00c801c02c9a$fe671c90$6c219fa8@lss.emc.com> <39D8D1CE.3059@redhat.com>
Generating code for remote traces, the case of "pointer1->pointer2->data"
was not covered if pointer2's declaration involved a typedef. This simple
fix should take care of that by checking the target type whenever the code
is TYPE_CODE_TYPEDEF.
Regards - Josef Ezra
ax-gdb.c.diff