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