diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2006-04-10 21:43:45 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2006-04-10 21:43:45 +0000 |
commit | 02c5aecd1ee5a4262aeeb4c489e3352fe6a142ae (patch) | |
tree | d7185248e341fe50990035eef69b4b3c82c29ef2 | |
parent | e78efa90d6d732094fa9b5205ac4be728a697540 (diff) | |
download | gdb-02c5aecd1ee5a4262aeeb4c489e3352fe6a142ae.zip gdb-02c5aecd1ee5a4262aeeb4c489e3352fe6a142ae.tar.gz gdb-02c5aecd1ee5a4262aeeb4c489e3352fe6a142ae.tar.bz2 |
* win32-nat.c (open_symbol_file_object): New function.
(in_dynsym_resolve_code): Ditto.
(init_win32_ops): Fill in fields which ought not to be NULL.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/win32-nat.c | 16 | ||||
-rw-r--r-- | gdb/windows-nat.c | 16 |
3 files changed, 34 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 20eeab2..4cffd0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2006-04-10 Christopher Faylor <cgf@timesys.com> + * win32-nat.c (open_symbol_file_object): New function. + (in_dynsym_resolve_code): Ditto. + (init_win32_ops): Fill in fields which ought not to be NULL. + +2006-04-10 Christopher Faylor <cgf@timesys.com> + * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything with saved context if __COPY_CONTEXT_SIZE is not defined. (handle_output_debug_string): Ditto. diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index cbafa96..abbf4a3 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -2345,6 +2345,18 @@ fetch_elf_core_registers (char *core_reg_sect, regcache_raw_supply (current_regcache, r, core_reg_sect + mappings[r]); } +static int +open_symbol_file_object (void *from_ttyp) +{ + return 0; +} + +static int +in_dynsym_resolve_code (CORE_ADDR pc) +{ + return 0; +} + static void init_win32_ops (void) { @@ -2392,8 +2404,8 @@ init_win32_ops (void) win32_so_ops.solib_create_inferior_hook = win32_solib_create_inferior_hook; win32_so_ops.special_symbol_handling = win32_special_symbol_handling; win32_so_ops.current_sos = win32_current_sos; - win32_so_ops.open_symbol_file_object = NULL; - win32_so_ops.in_dynsym_resolve_code = NULL; + win32_so_ops.open_symbol_file_object = open_symbol_file_object; + win32_so_ops.in_dynsym_resolve_code = in_dynsym_resolve_code; /* FIXME: Don't do this here. *_gdbarch_init() should set so_ops. */ current_target_so_ops = &win32_so_ops; diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index cbafa96..abbf4a3 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2345,6 +2345,18 @@ fetch_elf_core_registers (char *core_reg_sect, regcache_raw_supply (current_regcache, r, core_reg_sect + mappings[r]); } +static int +open_symbol_file_object (void *from_ttyp) +{ + return 0; +} + +static int +in_dynsym_resolve_code (CORE_ADDR pc) +{ + return 0; +} + static void init_win32_ops (void) { @@ -2392,8 +2404,8 @@ init_win32_ops (void) win32_so_ops.solib_create_inferior_hook = win32_solib_create_inferior_hook; win32_so_ops.special_symbol_handling = win32_special_symbol_handling; win32_so_ops.current_sos = win32_current_sos; - win32_so_ops.open_symbol_file_object = NULL; - win32_so_ops.in_dynsym_resolve_code = NULL; + win32_so_ops.open_symbol_file_object = open_symbol_file_object; + win32_so_ops.in_dynsym_resolve_code = in_dynsym_resolve_code; /* FIXME: Don't do this here. *_gdbarch_init() should set so_ops. */ current_target_so_ops = &win32_so_ops; |