This is the mail archive of the insight@sourceware.org mailing list for the Insight project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
../../src/gdb/gdbtk/generic/gdbtk-hooks.c: In function 'gdbtk_add_hooks': ../../src/gdb/gdbtk/generic/gdbtk-hooks.c:126: error: passing argument 1 of 'observer_attach_breakpoint_created' from incompatible pointer type
ChangeLog 2011-05-12 Keith Seitz <keiths@redhat.com>
* generic/gdbtk-hooks.c (gdbtk_create_breakpoint): Change parameter from `int' to `struct breakpoint *'. (gdbtk_delete_breakpoint): Likewise. (gdbtk_modify_breakpoint): Likewise. * generic/gdbtk-bp.c (ALL_BREAKPOINTS): Define. (breakpoint_list): Remove. (breakpoint_list_size): Remove. (Gdbtk_Breakpoint_Init): Remove initialization of breakpoint_list. (gdb_find_bp_at_addr): Rewrite using ALL_BREAKPOINTS. (gdb_find_bp_at_line): Likewise. (gdb_get_breakpoint_info): Likewise. (gdb_get_breakpoint_list): Likewise. (gdbtk_create_breakpoint): Change parameter from `int' to `struct breakpoint *' and update function. (gdbtk_delete_breakpoint): Likewise. (gdbtk_modify_breakpoint): Likewise. (breakpoint_notify): Rewrite using ALL_BREAKPOINTS.
Attachment:
bp-callback-update.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |