This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tracepoints implementation: bug in byte code generating.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]