forked from Imagelibrary/binutils-gdb
* defs.h (struct gdbarch): Add forward declaration.
(set_next_address): Add GDBARCH argument. * printcmd.c (set_next_address): Use it to find pointer type. * breakpoint.c (breakpoint_1): Update call. * source.c (line_info): Likewise. * findcmd.c (find_command): Use current_gdbarch to find pointer type. * breakpoint.c (set_breakpoint_count): Use platform-neutral types for internal variable values. * infrun.c (handle_inferior_event): Likewise. * source.c (forward_search_command, reverse_search_command): Likewise. * tracepoint.c (set_tracepoint_count, set_traceframe_num, set_tracepoint_num, set_traceframe_context): Likewise.
This commit is contained in:
@@ -298,6 +298,7 @@ struct cleanup
|
||||
struct symtab;
|
||||
struct breakpoint;
|
||||
struct frame_info;
|
||||
struct gdbarch;
|
||||
|
||||
/* From utils.c */
|
||||
|
||||
@@ -572,7 +573,7 @@ extern int info_verbose;
|
||||
|
||||
/* From printcmd.c */
|
||||
|
||||
extern void set_next_address (CORE_ADDR);
|
||||
extern void set_next_address (struct gdbarch *, CORE_ADDR);
|
||||
|
||||
extern void print_address_symbolic (CORE_ADDR, struct ui_file *, int,
|
||||
char *);
|
||||
|
||||
Reference in New Issue
Block a user