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