*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8405c36e
NR
12009-01-18 Nick Roberts <nickrob@snap.net.nz>
2
3 * thread.c (thread_command): Move call to annotate_thread_changed
4 to...
5 (do_captured_thread_select): ... here, to avoid printing an
6 annotation if the thread change generates an exception.
7
b8bfd3ed
JB
82009-01-16 Joel Brobecker <brobecker@adacore.com>
9
10 * NEWS: Document x86_64/MinGW as a new native configuration.
11
2dde91e9
JB
122009-01-16 Joel Brobecker <brobecker@adacore.com>
13
14 * NEWS: Move the documentation of "info os processes" to
15 the appropriate section (documenting the new commands).
16
54363045
DE
172009-01-15 Doug Evans <dje@google.com>
18
19 * target.h (target_signal_to_string): Make return type const char *.
20 (target_signal_to_name): Ditto.
21 (target_signal_from_name): Make arg const char *.
54363045 22 * infrun.c (sig_print_info): Update.
54363045
DE
23 * signals/signals.c (signals): Make array and struct members const.
24 (target_signal_to_string): Make return type const char *.
25 (target_signal_to_name): Ditto.
26 (target_signal_from_name): Make arg const char *.
27
572d275c
UW
282009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
29 Tristan Gingold <gingold@adacore.com>
30
31 * solist.h (struct target_so_ops): New member bfd_open.
32 (solib_find): Add prototype.
33 (solib_bfd_fopen): Add prototype.
34 * solib.c (solib_find, solib_bfd_fopen): New functions, extracted
35 from solib_bfd_open.
36 (solib_bfd_open): Use ops->bfd_open override if present. Call
37 solib_find and solib_bfd_open otherwise.
38
39 * objfiles.h (OBJF_KEEPBFD): New define.
40 * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
41 objfile flag is set.
42 * solib.c (symbol_add_stub): Do not allocate second BFD for
43 shared library; use OBJF_KEEPBFD flag on solib objfile.
44
0701b271
UW
452009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
46
47 * frame.c (get_frame_arch): Abort if called with NULL this_frame.
48
61212c0f
UW
492009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
50
51 * value.h (address_of_variable): Add prototype.
52 (locate_var_value): Remove prototype.
53
54 * findvar.c (read_var_value): Do not attempt to default frame
55 to selected frame.
56 (locate_var_value): Remove function.
57 * valops.c (value_of_variable): Retrieve selected frame for
58 symbols that require a frame when called with NULL block.
59 * valops.c (address_of_variable): New function.
60
61 * eval.c (evaluate_subexp_for_address): Call address_of_variable
62 instead of calling locate_var_value.
63 (evaluate_subexp_with_coercion): Likewise.
64
adb483fe
DJ
652009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
66
67 * NEWS: Document "define" for prefixed commands.
68 * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call
69 show_user_1 for prefix commands.
70 * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
71 * cli/cli-script.c (validate_comname): Rewrite to handle prefix
72 commands. Return the containing command list.
73 (define_command, document_command): Update to handle prefix commands.
74 (show_user_1): Add prefix and name arguments. Handle prefix
75 commands.
76 * cli/cli-script.h (show_user_1): Update prototype.
77
a32d7317
KT
782009-01-14 Kai Tietz <kai.tietz@onevision.com>
79
80 * mingw-ser.c (console_select_thread): Add return to make
81 compiler happy.
82 (pipe_select_thread): Likewise.
83 (file_select_thread): Likewise.
84
041d0fd7
PA
852009-01-14 Pedro Alves <pedro@codesourcery.com>
86
87 * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
88 previous change.
89
dc1981d7
PA
902009-01-14 Pedro Alves <pedro@codesourcery.com>
91
92 * remote.c (extended_remote_mourn_1): Invalidate our notion of
93 current general thread.
94
244bf9ae
PA
952009-01-14 Pedro Alves <pedro@codesourcery.com>
96
97 * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
98 without a live selected thread.
99
e4d013fc
JB
1002009-01-14 Joel Brobecker <brobecker@adacore.com>
101
102 Update the copyright notice of some of the files I missed
103 in the previous copyright update.
104
a588db63
JB
1052009-01-14 Joel Brobecker <brobecker@adacore.com>
106
107 * windows-nat.c (handle_unload_dll): Use %p to print the DLL
108 base address instead of casting it to DWORD.
109
77a732d9
UW
1102009-01-13 Ulrich Weigand <uweigand@de.ibm.com>
111
112 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
113 for NULL frame pointers.
114
773698b5
JB
1152009-01-13 Mark Kettenis <kettenis@gnu.org>
116
117 * utils.c (host_address_to_string): Reimplement in a way that
118 avoids the cast of the address to long.
119
9918cab9
JB
1202009-01-13 Joel Brobecker <brobecker@adacore.com>
121
122 * mdebugread.c (parse_symbol): Save the symbol private data
123 using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
124 (psymtab_to_symtab_1): Likewise.
125 (parse_procedure): Declare variable "e" only in the scope
126 where it is used. Extract the symbol private data using
127 SYMBOL_VALUE_BYTES.
128
74bcbdf3
PA
1292009-01-13 Jim Blandy <jimb@codesourcery.com>
130
131 Abstract out common code for copying value locations.
132
133 * value.h (set_value_component_location): New declaration.
134 * value.c (set_value_component_location): New function.
135 (value_primitive_field): Use it.
136 * valarith.c (value_subscript, value_subscripted_rvalue): Same.
137 * valops.c (search_struct_field, value_slice): Same.
138 * ada-lang.c (coerce_unspec_val_to_type)
139 (ada_value_primitive_packed_val): Same.
140
d7dc3873
JB
1412009-01-13 Joel Brobecker <brobecker@adacore.com>
142
143 * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
144
dc05df57
CF
1452009-01-12 Christopher Faylor <me+cygwin@cgf.cx>
146
147 * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
148 throughout.
149 * i386-cygwin-tdep.c: Ditto.
150 * i386-windows-nat.c: Ditto.
151 * windows-nat.h: Ditto.
152 * windows-tdep.c: Ditto.
153 * windows-tdep.h: Ditto.
154 * windows-nat.c: Ditto.
155 (cygwin_load_start): Redefine as CORE_ADDR.
156 (cygwin_load_end): Ditto.
157 (windows_make_so): Coerce result of address arithmetic to to uintptr_t
158 before coercing to CORE_ADDR to avoid a compiler warning.
159 (handle_exception): Define addr as CORE_ADDR and coerce
160 ExceptionAddress to uintptr_t before assigining to avoid a compiler
161 warning.
162 * config/djgpp/fnchange.lst: Add mappings for recently renamed windows
163 files.
164
31b060a2
CF
1652009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
166
167 Fix linking with --enable-targets=all:
168 * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
169 (HFILES_NO_SRCDIR): Add windows-tdep.h.
170 (ALLDEPFILES): Add windows-tdep.c.
171
1722009-01-11 Christ Faylor <me.gdb@cgf.cx>
173
174 * win32-nat.h: Delete.
175 * windows-nat.h: Rename from win32-nat.h.
176 * win32-nat.c: Delete.
177 * windows-nat.c: Rename from win32-nat.c.
178 * win32-termcap.c: Delete.
179 * windows-termcap.c: Rename from win32-termcap.c.
180 * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
181 * configure.ac: Handle rename from win32-termcap.c ->
182 windows-termcap.c.
183 * configure: Regenerate.
184 * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
185 -> windows-termcap.c.
186 * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
187 windows-tdep.h.
188 * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
189 * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
190 windows-tdep.h.
191 (win32_make_so): Handle cygwin compiler warning due to change of
192 load_addr from DWORD to LPVOID.
193 (handle_load_dll): Use %p in format string to properly print address
194 and avoid a compiler warning.
195 (DEBUG_EXCEPTION_SIMPLE): Ditto.
196 (handle_exception): Ditto.
197 * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
198 * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
199 windows-nat.o.
200 * config/i386/mingw.mh: Ditto.
201 * config/i386/mingw64.mh: Ditto.
202
0311118f
JK
2032009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
204
205 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
206 arrayprint_recurse_level to a parameter. Update all the callers. New
207 comment at autovariables.
208
5f61c20e
JK
2092009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
212 coding style.
213
2142009-01-11 Joel Brobecker <brobecker@adacore.com>
53b71562
JB
215
216 * target.c (target_xfer_partial): Use host_address_to_string to
217 print the address of readbuf and writebuf. Cast the address of
218 elements inside the myaddr buffer into intptr_t.
219 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
220 Cast the address of elements inside the myaddr buffer into
221 intptr_t.
222
5f61c20e 2232009-01-11 Joel Brobecker <brobecker@adacore.com>
d0761299
JB
224
225 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
226 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
227 * configure.host, configure.tgt: Add handling for x86_64/windows.
228 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
229 and amd64-windows-tdep.c.
230
5f61c20e 2312009-01-11 Joel Brobecker <brobecker@adacore.com>
bfb87e33
JB
232
233 * win32-tdep.h, win32-tdep.c: New files.
234 * i386-cygwin-tdep.h: Delete.
235 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
236 i386-cygwin-tdep.h.
237 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
238 * win32-nat.c: Likewise.
239 * configure.tgt: Add win32-tdep.o to the list of target object
240 files for i386-cygwin and i386-mingw targets.
241
5f61c20e 2422009-01-11 Joel Brobecker <brobecker@adacore.com>
7e63b4e4
JB
243
244 * win32-nat.h: New file.
245 * win32-nat.c (mappings): Initialize to NULL.
246 (win32_set_context_register_offsets): New function.
247 * i386-windows-nat.c: New file.
248 (mappings): Moved here from win32-nat.c.
249 (_initialize_i386_windows_nat): New function.
250 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
251 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
252
25fc6591
AS
2532009-01-09 Andreas Schwab <schwab@suse.de>
254
255 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
256
87f70781
PA
2572009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
258
259 * gdbtypes.c (append_composite_type_field): Correct the location of
260 appended fields.
261
58d4abe1
PA
2622009-01-09 Pedro Alves <pedro@codesourcery.com>
263
264 * defs.h (deprecated_error_hook): Delete declaration.
265 * interps.c (clear_interpreter_hooks): Adjust.
266 * remote-sim.c (gdb_os_error): Don't try to call
267 deprecated_error_hook. No need to call exit anymore.
268 * top.c (deprecated_error_hook): Delete.
269
e3cb3832
JB
2702009-01-09 Joel Brobecker <brobecker@adacore.com>
271
272 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
273 to print the address of the gdbarch pointer.
274
30737ed9
JB
2752009-01-09 Joel Brobecker <brobecker@adacore.com>
276
277 * gdbarch.sh: Fix all the compilation errors on amd64-windows
278 due to casting a pointer to a long when printing a function
279 address. Instead, use host_address_to_string to convert our
280 address to a string.
281 * gdbarch.c: Regenerate.
282
ec4dfccf
JB
2832009-01-09 Joel Brobecker <brobecker@adacore.com>
284
285 * event-top.c (async_disconnect, async_stop_sig): use "raise"
286 instead of "kill" to raise a signal.
287
d3653bf6
JB
2882009-01-09 Joel Brobecker <brobecker@adacore.com>
289
290 * win32-nat.c (get_module_name): Change the type of parameter
291 "base_address" to LPVOID. Remove unnecessary cast.
292 (struct lm_info): Change type of load_addr to LPVOID.
293 (win32_make_so): Change the type of parameter "load_addr"
294 to LPVOID. Remove some unnecessary casts.
295 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
296 (win32_xfer_shared_libraries): Add missing cast.
297
308a8808
JB
2982009-01-09 Joel Brobecker <brobecker@adacore.com>
299
300 * win32-nat.c (has_detach_ability, set_process_privilege):
301 Cast the result of GetProcAddress to (void *) to avoid
302 a compilation warning.
303
5851ab76
JB
3042009-01-09 Joel Brobecker <brobecker@adacore.com>
305
306 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
307 already defined.
308
5732a500
JB
3092009-01-09 Joel Brobecker <brobecker@adacore.com>
310
311 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
312 definition of local variable "done".
313 (info_w32_command, handle_exception): Remove unnecessary cast.
314
def4de3a
JB
3152009-01-09 Joel Brobecker <brobecker@adacore.com>
316
317 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
318 DebugSetProcessKillOnExit. Update all uses in this file.
319 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
320 Update all uses in this file.
321
3222009-01-09 Joel Brobecker <brobecker@adacore.com>
0795be10
JB
323
324 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
325 and use it when pushing the target.
326 (win32_attach, win32_create_inferior): Update call to
327 do_initial_win32_stuff.
328 (win32_detach, win32_mourn_inferior): Use our ops parameter
329 instead of the global win32_ops to unpush the target.
330
1be7fe8d
JB
3312009-01-09 Joel Brobecker <brobecker@adacore.com>
332
333 * ser-mingw.c (ser_windows_open): Use proper type when casting
334 in call to _open_osfhandle.
335
1dac1b47
KT
3362009-01-09 Kai Tietz <kai.tietz@onevision.com>
337
338 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
339
ecf180db
JB
3402009-01-09 Joel Brobecker <brobecker@adacore.com>
341
342 * CONTRIBUTE: Minor reformatting.
343
8234eceb
KT
3442009-01-08 Kai Tietz <kai.tietz@onevision.com>
345
346 * MAINTAINERS: Add myself to Write After Approval.
a68ddad5
KT
347 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
348 export directory.
8234eceb 349
72ee8797
NF
3502009-01-08 Nathan Froyd <froydnj@codesourcery.com>
351
352 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
353 Call exit to make it obvious to GCC.
354
f7545552
TT
3552009-01-08 Tom Tromey <tromey@redhat.com>
356
357 PR breakpoints/9350:
358 * varobj.c (varobj_invalidate): Unconditionally free
359 all_rootvarobj.
360 * symfile.c (syms_from_objfile): Free local_addr when returning
361 normally.
362 * exec.c (exec_file_attach): Do cleanups before returning.
363 (exec_file_command): Likewise.
364 * corefile.c (reopen_exec_file): Do cleanups before returning.
365 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
366 returning.
367 (do_vec_free): New function.
368 (update_global_location_list): Make a cleanup for old_locations.
369 Do cleanups before returning. Remove unused variable 'e'.
370 (find_condition_and_thread): Free result of parsing the
371 expression.
372 (print_it_typical): Do cleanups before returning.
373 (breakpoint_re_set_one): Always free sals.sals.
374
dde02812
ES
3752009-01-08 Joel Brobecker <brobecker@adacore.com>
376 Emi Suzuki <emi-suzuki@tjsys.co.jp>
377
378 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
379 watchpoints.
380
69bcc6bc
DE
3812009-01-07 Doug Evans <dje@google.com>
382
383 * top.c (gdb_prompt_string): Delete, unused.
384
fa3a767f
PA
3852009-01-07 Pedro Alves <pedro@codesourcery.com>
386
387 Delete ONE_PROCESS_WRITETEXT leftovers.
388
389 * breakpoint.c (insert_bp_location): Delete process_warning
390 argument. Adjust.
391 (insert_breakpoint_locations): Adjust.
392 (reattach_breakpoints): Adjust.
393 * infrun.c (normal_stop): Drop "It might be running in another
394 process" notice.
395
7b93f36d
SS
3962009-01-07 Stan Shebs <stan@codesourcery.com>
397
398 * config/pa/linux.mh (XDEPFILES): Remove.
399
0380c18b
DE
4002009-01-07 Doug Evans <dje@google.com>
401
402 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
403
60023297
JK
4042009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
405
406 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
407 spacing, a regression from 2008-04-22.
408
ea8992ce
JB
4092009-01-07 Joel Brobecker <brobecker@adacore.com>
410
411 * utils.c (gdb_print_host_address): Adjust implementation to
412 reuse host_address_to_string. Move comment explaining the conversion
413 from host address to string from here...
414 (host_address_to_string): ... to there.
415
301d2c47
ES
4162009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
417
418 * MAINTAINERS: Add myself for write after approval privileges.
419
170ce852
TT
4202009-01-06 Tom Tromey <tromey@redhat.com>
421
422 * value.c (set_internalvar): Use value_free, not xfree.
423
fdb7262a
JB
4242009-01-06 Jim Blandy <jimb@red-bean.com>
425
bf1d7d9c
JB
426 Check return values of functions declared with warn_unused_result
427 attribute in GLIBC 2.8.
428 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
429 * inflow.c (check_syscall): New function.
430 (new_tty): Use check_syscall to check return values from open and dup.
431 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
432 * main.c (captured_main): Call cwd after setting up gdb_stderr;
433 check for errors from getcwd.
434 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
435 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
436 (stdio_file_fputs): Same.
437 * utils.c (internal_vproblem): abort if last-ditch error message
438 write fails.
439
fdb7262a
JB
440 * top.c (gdb_init): Don't set the current directory here; that's
441 already been done in captured_main.
442
84603566
SL
4432009-01-06 Sandra Loosemore <sandra@codesourcery.com>
444
445 * ser-tcp.c: Adjust includes.
446 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
447 (tcp_auto_retry, tcp_retry_limit): Declare.
448 (TIMEOUT): Remove, in favor of tcp_retry_limit.
449 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
450 (wait_for_connect): New function.
451 (net_open): Use it. Add auto-retry logic.
452 (set_tcp_cmd, show_tcp_cmd): New functions.
453 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
454 and "set/show tcp connect-timeout" commands.
455 * NEWS: Document new commands.
456
5171e6b3
TT
4572009-01-05 Tom Tromey <tromey@redhat.com>
458
459 * python/python-internal.h (Py_ssize_t): Define as int.
460
a367a1f2
JB
4612009-01-05 Jim Blandy <jimb@red-bean.com>
462
463 * MAINTAINERS: Fix my e-mail address as steering committee member.
464
0fb0cc75
JB
4652009-01-03 Joel Brobecker <brobecker@adacore.com>
466
467 Updated copyright notices for most files.
468
c9fc347d
JB
4692009-01-03 Joel Brobecker <brobecker@adacore.com>
470
471 * top.c (print_gdb_version): Update copyright year.
472
a85d99b4
JB
4732009-01-03 Joel Brobecker <brobecker@adacore.com>
474
475 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
476
4d78a120
JB
4772009-01-01 Pedro Alves <pedro@codesourcery.com>
478
479 PR breakpoints/9681:
480 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
481 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
482 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
483 retrow all other exceptions.
484
67de2a4c 485For older changes see ChangeLog-2008.
c906108c
SS
486\f
487Local Variables:
488mode: change-log
489left-margin: 8
490fill-column: 74
491version-control: never
57da7796 492coding: utf-8
c906108c 493End:
This page took 1.053225 seconds and 4 git commands to generate.