* win32-tdep.h, win32-tdep.c: New files.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2009-10-11 Joel Brobecker <brobecker@adacore.com>
2
3 * win32-tdep.h, win32-tdep.c: New files.
4 * i386-cygwin-tdep.h: Delete.
5 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
6 i386-cygwin-tdep.h.
7 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
8 * win32-nat.c: Likewise.
9 * configure.tgt: Add win32-tdep.o to the list of target object
10 files for i386-cygwin and i386-mingw targets.
11
12 2009-10-11 Joel Brobecker <brobecker@adacore.com>
13
14 * win32-nat.h: New file.
15 * win32-nat.c (mappings): Initialize to NULL.
16 (win32_set_context_register_offsets): New function.
17 * i386-windows-nat.c: New file.
18 (mappings): Moved here from win32-nat.c.
19 (_initialize_i386_windows_nat): New function.
20 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
21 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
22
23 2009-01-09 Andreas Schwab <schwab@suse.de>
24
25 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
26
27 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
28
29 * gdbtypes.c (append_composite_type_field): Correct the location of
30 appended fields.
31
32 2009-01-09 Pedro Alves <pedro@codesourcery.com>
33
34 * defs.h (deprecated_error_hook): Delete declaration.
35 * interps.c (clear_interpreter_hooks): Adjust.
36 * remote-sim.c (gdb_os_error): Don't try to call
37 deprecated_error_hook. No need to call exit anymore.
38 * top.c (deprecated_error_hook): Delete.
39
40 2009-01-09 Joel Brobecker <brobecker@adacore.com>
41
42 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
43 to print the address of the gdbarch pointer.
44
45 2009-01-09 Joel Brobecker <brobecker@adacore.com>
46
47 * gdbarch.sh: Fix all the compilation errors on amd64-windows
48 due to casting a pointer to a long when printing a function
49 address. Instead, use host_address_to_string to convert our
50 address to a string.
51 * gdbarch.c: Regenerate.
52
53 2009-01-09 Joel Brobecker <brobecker@adacore.com>
54
55 * event-top.c (async_disconnect, async_stop_sig): use "raise"
56 instead of "kill" to raise a signal.
57
58 2009-01-09 Joel Brobecker <brobecker@adacore.com>
59
60 * win32-nat.c (get_module_name): Change the type of parameter
61 "base_address" to LPVOID. Remove unnecessary cast.
62 (struct lm_info): Change type of load_addr to LPVOID.
63 (win32_make_so): Change the type of parameter "load_addr"
64 to LPVOID. Remove some unnecessary casts.
65 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
66 (win32_xfer_shared_libraries): Add missing cast.
67
68 2009-01-09 Joel Brobecker <brobecker@adacore.com>
69
70 * win32-nat.c (has_detach_ability, set_process_privilege):
71 Cast the result of GetProcAddress to (void *) to avoid
72 a compilation warning.
73
74 2009-01-09 Joel Brobecker <brobecker@adacore.com>
75
76 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
77 already defined.
78
79 2009-01-09 Joel Brobecker <brobecker@adacore.com>
80
81 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
82 definition of local variable "done".
83 (info_w32_command, handle_exception): Remove unnecessary cast.
84
85 2009-01-09 Joel Brobecker <brobecker@adacore.com>
86
87 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
88 DebugSetProcessKillOnExit. Update all uses in this file.
89 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
90 Update all uses in this file.
91
92 2009-01-09 Joel Brobecker <brobecker@adacore.com>
93
94 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
95 and use it when pushing the target.
96 (win32_attach, win32_create_inferior): Update call to
97 do_initial_win32_stuff.
98 (win32_detach, win32_mourn_inferior): Use our ops parameter
99 instead of the global win32_ops to unpush the target.
100
101 2009-01-09 Joel Brobecker <brobecker@adacore.com>
102
103 * ser-mingw.c (ser_windows_open): Use proper type when casting
104 in call to _open_osfhandle.
105
106 2009-01-09 Kai Tietz <kai.tietz@onevision.com>
107
108 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
109
110 2009-01-09 Joel Brobecker <brobecker@adacore.com>
111
112 * CONTRIBUTE: Minor reformatting.
113
114 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
115
116 * MAINTAINERS: Add myself to Write After Approval.
117 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
118 export directory.
119
120 2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
121
122 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
123 Call exit to make it obvious to GCC.
124
125 2009-01-08 Tom Tromey <tromey@redhat.com>
126
127 PR breakpoints/9350:
128 * varobj.c (varobj_invalidate): Unconditionally free
129 all_rootvarobj.
130 * symfile.c (syms_from_objfile): Free local_addr when returning
131 normally.
132 * exec.c (exec_file_attach): Do cleanups before returning.
133 (exec_file_command): Likewise.
134 * corefile.c (reopen_exec_file): Do cleanups before returning.
135 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
136 returning.
137 (do_vec_free): New function.
138 (update_global_location_list): Make a cleanup for old_locations.
139 Do cleanups before returning. Remove unused variable 'e'.
140 (find_condition_and_thread): Free result of parsing the
141 expression.
142 (print_it_typical): Do cleanups before returning.
143 (breakpoint_re_set_one): Always free sals.sals.
144
145 2009-01-08 Joel Brobecker <brobecker@adacore.com>
146 Emi Suzuki <emi-suzuki@tjsys.co.jp>
147
148 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
149 watchpoints.
150
151 2009-01-07 Doug Evans <dje@google.com>
152
153 * top.c (gdb_prompt_string): Delete, unused.
154
155 2009-01-07 Pedro Alves <pedro@codesourcery.com>
156
157 Delete ONE_PROCESS_WRITETEXT leftovers.
158
159 * breakpoint.c (insert_bp_location): Delete process_warning
160 argument. Adjust.
161 (insert_breakpoint_locations): Adjust.
162 (reattach_breakpoints): Adjust.
163 * infrun.c (normal_stop): Drop "It might be running in another
164 process" notice.
165
166 2009-01-07 Stan Shebs <stan@codesourcery.com>
167
168 * config/pa/linux.mh (XDEPFILES): Remove.
169
170 2009-01-07 Doug Evans <dje@google.com>
171
172 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
173
174 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
175
176 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
177 spacing, a regression from 2008-04-22.
178
179 2009-01-07 Joel Brobecker <brobecker@adacore.com>
180
181 * utils.c (gdb_print_host_address): Adjust implementation to
182 reuse host_address_to_string. Move comment explaining the conversion
183 from host address to string from here...
184 (host_address_to_string): ... to there.
185
186 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
187
188 * MAINTAINERS: Add myself for write after approval privileges.
189
190 2009-01-06 Tom Tromey <tromey@redhat.com>
191
192 * value.c (set_internalvar): Use value_free, not xfree.
193
194 2009-01-06 Jim Blandy <jimb@red-bean.com>
195
196 Check return values of functions declared with warn_unused_result
197 attribute in GLIBC 2.8.
198 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
199 * inflow.c (check_syscall): New function.
200 (new_tty): Use check_syscall to check return values from open and dup.
201 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
202 * main.c (captured_main): Call cwd after setting up gdb_stderr;
203 check for errors from getcwd.
204 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
205 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
206 (stdio_file_fputs): Same.
207 * utils.c (internal_vproblem): abort if last-ditch error message
208 write fails.
209
210 * top.c (gdb_init): Don't set the current directory here; that's
211 already been done in captured_main.
212
213 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
214
215 * ser-tcp.c: Adjust includes.
216 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
217 (tcp_auto_retry, tcp_retry_limit): Declare.
218 (TIMEOUT): Remove, in favor of tcp_retry_limit.
219 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
220 (wait_for_connect): New function.
221 (net_open): Use it. Add auto-retry logic.
222 (set_tcp_cmd, show_tcp_cmd): New functions.
223 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
224 and "set/show tcp connect-timeout" commands.
225 * NEWS: Document new commands.
226
227 2009-01-05 Tom Tromey <tromey@redhat.com>
228
229 * python/python-internal.h (Py_ssize_t): Define as int.
230
231 2009-01-05 Jim Blandy <jimb@red-bean.com>
232
233 * MAINTAINERS: Fix my e-mail address as steering committee member.
234
235 2009-01-03 Joel Brobecker <brobecker@adacore.com>
236
237 Updated copyright notices for most files.
238
239 2009-01-03 Joel Brobecker <brobecker@adacore.com>
240
241 * top.c (print_gdb_version): Update copyright year.
242
243 2009-01-03 Joel Brobecker <brobecker@adacore.com>
244
245 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
246
247 2009-01-01 Pedro Alves <pedro@codesourcery.com>
248
249 PR breakpoints/9681:
250 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
251 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
252 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
253 retrow all other exceptions.
254
255 For older changes see ChangeLog-2008.
256 \f
257 Local Variables:
258 mode: change-log
259 left-margin: 8
260 fill-column: 74
261 version-control: never
262 coding: utf-8
263 End:
This page took 0.036815 seconds and 5 git commands to generate.