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