* doc/c-arm.texi (): Document -mwarn-deprecated.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
dd7e2d2b
PA
12009-01-23 Pedro Alves <pedro@codesourcery.com>
2
3 PR gdb/9664:
4 * infrun.c (normal_stop): Tag threads as stopped, and run the
5 hook-stop before printing the stack frame.
6
392452f6
PA
72009-01-22 Pedro Alves <pedro@codesourcery.com>
8
9 PR c++/9631:
10 * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
11 vbasetype.
12
f6a96b83
KH
132009-01-20 Kazu Hirata <kazu@codesourcery.com>
14
15 * gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
16 unsigned long.
17
5d277928 182009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
a12cc160
DJ
19
20 PR gdb/9346
21 * infcmd.c (signal_command): Do not specify a resume PC.
22
b89667eb
DE
232009-01-19 Doug Evans <dje@google.com>
24
25 * dummy-frame.c (dummy_frame): Replace regcache member with
26 caller_state.
27 (dummy_frame_push): Replace caller_regcache arg with caller_state.
28 All callers updated.
29 (remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns.
30 (dummy_frame_pop): Rewrite. Verify requested frame is in the
31 dummy frame stack. Restore program state.
32 (cleanup_dummy_frames): Rewrite.
33 (dummy_frame_sniffer): Update. Make static.
34 * dummy-frame.h (regcache,frame_info): Delete forward decls.
35 (inferior_thread_state): New forward decl.
36 (dummy_frame_push): Update prototype.
37 * frame.c (frame_pop): dummy_frame_pop now does all the work for
38 DUMMY_FRAMEs.
39 * infcall.c (breakpoint_auto_delete_contents): Delete.
40 (get_function_name,run_inferior_call): New fns.
41 (call_function_by_hand): Simplify by moving some code to
42 get_function_name, run_inferior_call. Inferior function call wrapped
43 in TRY_CATCH so there's less need for cleanups and all exits from
44 proceed are handled similarily. Detect program exit.
45 Detect program stopping in a different thread.
46 Make error messages more consistent.
47 * inferior.h (inferior_thread_state): Declare (opaque type).
48 (save_inferior_thread_state,restore_inferior_thread_state,
49 make_cleanup_restore_inferior_thread_state,
50 discard_inferior_thread_state, get_inferior_thread_state_regcache):
51 Declare.
52 (save_inferior_status): Update prototype.
53 * infrun.c: (normal_stop): When stopped for the completion of an
54 inferior function call, verify the expected stack frame kind.
55 (inferior_thread_state): New struct.
56 (save_inferior_thread_state,restore_inferior_thread_state,
57 do_restore_inferior_thread_state_cleanup,
58 make_cleanup_restore_inferior_thread_state,
59 discard_inferior_thread_state,
60 get_inferior_thread_state_regcache): New functions.
61 (inferior_status): Move stop_signal, stop_pc, registers to
62 inferior_thread_state. Remove restore_stack_info.
63 (save_inferior_status): Remove arg restore_stack_info.
64 All callers updated. Remove saving of state now saved by
65 save_inferior_thread_state.
66 (restore_inferior_status): Remove restoration of state now done by
67 restore_inferior_thread_state.
68 (discard_inferior_status): Remove freeing of registers, now done by
69 discard_inferior_thread_state.
70
aefc7064
PA
712009-01-18 Pedro Alves <pedro@codesourcery.com>
72
73 * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
74 at a time, times NUM_TO_SCROLL.
75 * tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
76 fetch the selected frame if there is no stack.
77
29f49a6a
PA
782009-01-18 Pedro Alves <pedro@codesourcery.com>
79
80 PR gdb/9747:
81 * gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
82 Declare.
83 * thread.c (finish_thread_state, finish_thread_state_cleanup): New.
84 * infrun.c (wait_for_inferior, fetch_inferior_event): If an error
85 is thrown while handling an event, finish the thread state.
86 (normal_stop): Use finish_thread_state cleanup.
87 * infcmd.c (run_command_1): If an error is thrown while starting
88 the inferior, finish the thread state.
89
e7243d73
PA
902009-01-18 Pedro Alves <pedro@codesourcery.com>
91
92 * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
93 skip breakpoints without a location (pending breakpoints).
94
e74994b5
PA
952009-01-18 Pedro Alves <pedro@codesourcery.com>
96
97 PR build/9186:
98 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
99
8405c36e
NR
1002009-01-18 Nick Roberts <nickrob@snap.net.nz>
101
102 * thread.c (thread_command): Move call to annotate_thread_changed
103 to...
104 (do_captured_thread_select): ... here, to avoid printing an
105 annotation if the thread change generates an exception.
106
b8bfd3ed
JB
1072009-01-16 Joel Brobecker <brobecker@adacore.com>
108
109 * NEWS: Document x86_64/MinGW as a new native configuration.
110
2dde91e9
JB
1112009-01-16 Joel Brobecker <brobecker@adacore.com>
112
113 * NEWS: Move the documentation of "info os processes" to
114 the appropriate section (documenting the new commands).
115
54363045
DE
1162009-01-15 Doug Evans <dje@google.com>
117
118 * target.h (target_signal_to_string): Make return type const char *.
119 (target_signal_to_name): Ditto.
120 (target_signal_from_name): Make arg const char *.
54363045 121 * infrun.c (sig_print_info): Update.
54363045
DE
122 * signals/signals.c (signals): Make array and struct members const.
123 (target_signal_to_string): Make return type const char *.
124 (target_signal_to_name): Ditto.
125 (target_signal_from_name): Make arg const char *.
126
572d275c
UW
1272009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
128 Tristan Gingold <gingold@adacore.com>
129
130 * solist.h (struct target_so_ops): New member bfd_open.
131 (solib_find): Add prototype.
132 (solib_bfd_fopen): Add prototype.
133 * solib.c (solib_find, solib_bfd_fopen): New functions, extracted
134 from solib_bfd_open.
135 (solib_bfd_open): Use ops->bfd_open override if present. Call
136 solib_find and solib_bfd_open otherwise.
137
138 * objfiles.h (OBJF_KEEPBFD): New define.
139 * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
140 objfile flag is set.
141 * solib.c (symbol_add_stub): Do not allocate second BFD for
142 shared library; use OBJF_KEEPBFD flag on solib objfile.
143
0701b271
UW
1442009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
145
146 * frame.c (get_frame_arch): Abort if called with NULL this_frame.
147
61212c0f
UW
1482009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
149
150 * value.h (address_of_variable): Add prototype.
151 (locate_var_value): Remove prototype.
152
153 * findvar.c (read_var_value): Do not attempt to default frame
154 to selected frame.
155 (locate_var_value): Remove function.
156 * valops.c (value_of_variable): Retrieve selected frame for
157 symbols that require a frame when called with NULL block.
158 * valops.c (address_of_variable): New function.
159
160 * eval.c (evaluate_subexp_for_address): Call address_of_variable
161 instead of calling locate_var_value.
162 (evaluate_subexp_with_coercion): Likewise.
163
adb483fe
DJ
1642009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
165
166 * NEWS: Document "define" for prefixed commands.
167 * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call
168 show_user_1 for prefix commands.
169 * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
170 * cli/cli-script.c (validate_comname): Rewrite to handle prefix
171 commands. Return the containing command list.
172 (define_command, document_command): Update to handle prefix commands.
173 (show_user_1): Add prefix and name arguments. Handle prefix
174 commands.
175 * cli/cli-script.h (show_user_1): Update prototype.
176
a32d7317
KT
1772009-01-14 Kai Tietz <kai.tietz@onevision.com>
178
179 * mingw-ser.c (console_select_thread): Add return to make
180 compiler happy.
181 (pipe_select_thread): Likewise.
182 (file_select_thread): Likewise.
183
041d0fd7
PA
1842009-01-14 Pedro Alves <pedro@codesourcery.com>
185
186 * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
187 previous change.
188
dc1981d7
PA
1892009-01-14 Pedro Alves <pedro@codesourcery.com>
190
191 * remote.c (extended_remote_mourn_1): Invalidate our notion of
192 current general thread.
193
244bf9ae
PA
1942009-01-14 Pedro Alves <pedro@codesourcery.com>
195
196 * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
197 without a live selected thread.
198
e4d013fc
JB
1992009-01-14 Joel Brobecker <brobecker@adacore.com>
200
201 Update the copyright notice of some of the files I missed
202 in the previous copyright update.
203
a588db63
JB
2042009-01-14 Joel Brobecker <brobecker@adacore.com>
205
206 * windows-nat.c (handle_unload_dll): Use %p to print the DLL
207 base address instead of casting it to DWORD.
208
77a732d9
UW
2092009-01-13 Ulrich Weigand <uweigand@de.ibm.com>
210
211 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
212 for NULL frame pointers.
213
773698b5
JB
2142009-01-13 Mark Kettenis <kettenis@gnu.org>
215
216 * utils.c (host_address_to_string): Reimplement in a way that
217 avoids the cast of the address to long.
218
9918cab9
JB
2192009-01-13 Joel Brobecker <brobecker@adacore.com>
220
221 * mdebugread.c (parse_symbol): Save the symbol private data
222 using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
223 (psymtab_to_symtab_1): Likewise.
224 (parse_procedure): Declare variable "e" only in the scope
225 where it is used. Extract the symbol private data using
226 SYMBOL_VALUE_BYTES.
227
74bcbdf3
PA
2282009-01-13 Jim Blandy <jimb@codesourcery.com>
229
230 Abstract out common code for copying value locations.
231
232 * value.h (set_value_component_location): New declaration.
233 * value.c (set_value_component_location): New function.
234 (value_primitive_field): Use it.
235 * valarith.c (value_subscript, value_subscripted_rvalue): Same.
236 * valops.c (search_struct_field, value_slice): Same.
237 * ada-lang.c (coerce_unspec_val_to_type)
238 (ada_value_primitive_packed_val): Same.
239
d7dc3873
JB
2402009-01-13 Joel Brobecker <brobecker@adacore.com>
241
242 * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
243
dc05df57
CF
2442009-01-12 Christopher Faylor <me+cygwin@cgf.cx>
245
246 * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
247 throughout.
248 * i386-cygwin-tdep.c: Ditto.
249 * i386-windows-nat.c: Ditto.
250 * windows-nat.h: Ditto.
251 * windows-tdep.c: Ditto.
252 * windows-tdep.h: Ditto.
253 * windows-nat.c: Ditto.
254 (cygwin_load_start): Redefine as CORE_ADDR.
255 (cygwin_load_end): Ditto.
256 (windows_make_so): Coerce result of address arithmetic to to uintptr_t
257 before coercing to CORE_ADDR to avoid a compiler warning.
258 (handle_exception): Define addr as CORE_ADDR and coerce
259 ExceptionAddress to uintptr_t before assigining to avoid a compiler
260 warning.
261 * config/djgpp/fnchange.lst: Add mappings for recently renamed windows
262 files.
263
31b060a2
CF
2642009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
265
266 Fix linking with --enable-targets=all:
267 * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
268 (HFILES_NO_SRCDIR): Add windows-tdep.h.
269 (ALLDEPFILES): Add windows-tdep.c.
270
2712009-01-11 Christ Faylor <me.gdb@cgf.cx>
272
273 * win32-nat.h: Delete.
274 * windows-nat.h: Rename from win32-nat.h.
275 * win32-nat.c: Delete.
276 * windows-nat.c: Rename from win32-nat.c.
277 * win32-termcap.c: Delete.
278 * windows-termcap.c: Rename from win32-termcap.c.
279 * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
280 * configure.ac: Handle rename from win32-termcap.c ->
281 windows-termcap.c.
282 * configure: Regenerate.
283 * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
284 -> windows-termcap.c.
285 * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
286 windows-tdep.h.
287 * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
288 * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
289 windows-tdep.h.
290 (win32_make_so): Handle cygwin compiler warning due to change of
291 load_addr from DWORD to LPVOID.
292 (handle_load_dll): Use %p in format string to properly print address
293 and avoid a compiler warning.
294 (DEBUG_EXCEPTION_SIMPLE): Ditto.
295 (handle_exception): Ditto.
296 * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
297 * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
298 windows-nat.o.
299 * config/i386/mingw.mh: Ditto.
300 * config/i386/mingw64.mh: Ditto.
301
0311118f
JK
3022009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
303
304 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
305 arrayprint_recurse_level to a parameter. Update all the callers. New
306 comment at autovariables.
307
5f61c20e
JK
3082009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
309
310 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
311 coding style.
312
3132009-01-11 Joel Brobecker <brobecker@adacore.com>
53b71562
JB
314
315 * target.c (target_xfer_partial): Use host_address_to_string to
316 print the address of readbuf and writebuf. Cast the address of
317 elements inside the myaddr buffer into intptr_t.
318 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
319 Cast the address of elements inside the myaddr buffer into
320 intptr_t.
321
5f61c20e 3222009-01-11 Joel Brobecker <brobecker@adacore.com>
d0761299
JB
323
324 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
325 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
326 * configure.host, configure.tgt: Add handling for x86_64/windows.
327 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
328 and amd64-windows-tdep.c.
329
5f61c20e 3302009-01-11 Joel Brobecker <brobecker@adacore.com>
bfb87e33
JB
331
332 * win32-tdep.h, win32-tdep.c: New files.
333 * i386-cygwin-tdep.h: Delete.
334 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
335 i386-cygwin-tdep.h.
336 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
337 * win32-nat.c: Likewise.
338 * configure.tgt: Add win32-tdep.o to the list of target object
339 files for i386-cygwin and i386-mingw targets.
340
5f61c20e 3412009-01-11 Joel Brobecker <brobecker@adacore.com>
7e63b4e4
JB
342
343 * win32-nat.h: New file.
344 * win32-nat.c (mappings): Initialize to NULL.
345 (win32_set_context_register_offsets): New function.
346 * i386-windows-nat.c: New file.
347 (mappings): Moved here from win32-nat.c.
348 (_initialize_i386_windows_nat): New function.
349 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
350 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
351
25fc6591
AS
3522009-01-09 Andreas Schwab <schwab@suse.de>
353
354 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
355
87f70781
PA
3562009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
357
358 * gdbtypes.c (append_composite_type_field): Correct the location of
359 appended fields.
360
58d4abe1
PA
3612009-01-09 Pedro Alves <pedro@codesourcery.com>
362
363 * defs.h (deprecated_error_hook): Delete declaration.
364 * interps.c (clear_interpreter_hooks): Adjust.
365 * remote-sim.c (gdb_os_error): Don't try to call
366 deprecated_error_hook. No need to call exit anymore.
367 * top.c (deprecated_error_hook): Delete.
368
e3cb3832
JB
3692009-01-09 Joel Brobecker <brobecker@adacore.com>
370
371 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
372 to print the address of the gdbarch pointer.
373
30737ed9
JB
3742009-01-09 Joel Brobecker <brobecker@adacore.com>
375
376 * gdbarch.sh: Fix all the compilation errors on amd64-windows
377 due to casting a pointer to a long when printing a function
378 address. Instead, use host_address_to_string to convert our
379 address to a string.
380 * gdbarch.c: Regenerate.
381
ec4dfccf
JB
3822009-01-09 Joel Brobecker <brobecker@adacore.com>
383
384 * event-top.c (async_disconnect, async_stop_sig): use "raise"
385 instead of "kill" to raise a signal.
386
d3653bf6
JB
3872009-01-09 Joel Brobecker <brobecker@adacore.com>
388
389 * win32-nat.c (get_module_name): Change the type of parameter
390 "base_address" to LPVOID. Remove unnecessary cast.
391 (struct lm_info): Change type of load_addr to LPVOID.
392 (win32_make_so): Change the type of parameter "load_addr"
393 to LPVOID. Remove some unnecessary casts.
394 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
395 (win32_xfer_shared_libraries): Add missing cast.
396
308a8808
JB
3972009-01-09 Joel Brobecker <brobecker@adacore.com>
398
399 * win32-nat.c (has_detach_ability, set_process_privilege):
400 Cast the result of GetProcAddress to (void *) to avoid
401 a compilation warning.
402
5851ab76
JB
4032009-01-09 Joel Brobecker <brobecker@adacore.com>
404
405 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
406 already defined.
407
5732a500
JB
4082009-01-09 Joel Brobecker <brobecker@adacore.com>
409
410 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
411 definition of local variable "done".
412 (info_w32_command, handle_exception): Remove unnecessary cast.
413
def4de3a
JB
4142009-01-09 Joel Brobecker <brobecker@adacore.com>
415
416 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
417 DebugSetProcessKillOnExit. Update all uses in this file.
418 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
419 Update all uses in this file.
420
4212009-01-09 Joel Brobecker <brobecker@adacore.com>
0795be10
JB
422
423 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
424 and use it when pushing the target.
425 (win32_attach, win32_create_inferior): Update call to
426 do_initial_win32_stuff.
427 (win32_detach, win32_mourn_inferior): Use our ops parameter
428 instead of the global win32_ops to unpush the target.
429
1be7fe8d
JB
4302009-01-09 Joel Brobecker <brobecker@adacore.com>
431
432 * ser-mingw.c (ser_windows_open): Use proper type when casting
433 in call to _open_osfhandle.
434
1dac1b47
KT
4352009-01-09 Kai Tietz <kai.tietz@onevision.com>
436
437 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
438
ecf180db
JB
4392009-01-09 Joel Brobecker <brobecker@adacore.com>
440
441 * CONTRIBUTE: Minor reformatting.
442
8234eceb
KT
4432009-01-08 Kai Tietz <kai.tietz@onevision.com>
444
445 * MAINTAINERS: Add myself to Write After Approval.
a68ddad5
KT
446 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
447 export directory.
8234eceb 448
72ee8797
NF
4492009-01-08 Nathan Froyd <froydnj@codesourcery.com>
450
451 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
452 Call exit to make it obvious to GCC.
453
f7545552
TT
4542009-01-08 Tom Tromey <tromey@redhat.com>
455
456 PR breakpoints/9350:
457 * varobj.c (varobj_invalidate): Unconditionally free
458 all_rootvarobj.
459 * symfile.c (syms_from_objfile): Free local_addr when returning
460 normally.
461 * exec.c (exec_file_attach): Do cleanups before returning.
462 (exec_file_command): Likewise.
463 * corefile.c (reopen_exec_file): Do cleanups before returning.
464 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
465 returning.
466 (do_vec_free): New function.
467 (update_global_location_list): Make a cleanup for old_locations.
468 Do cleanups before returning. Remove unused variable 'e'.
469 (find_condition_and_thread): Free result of parsing the
470 expression.
471 (print_it_typical): Do cleanups before returning.
472 (breakpoint_re_set_one): Always free sals.sals.
473
dde02812
ES
4742009-01-08 Joel Brobecker <brobecker@adacore.com>
475 Emi Suzuki <emi-suzuki@tjsys.co.jp>
476
477 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
478 watchpoints.
479
69bcc6bc
DE
4802009-01-07 Doug Evans <dje@google.com>
481
482 * top.c (gdb_prompt_string): Delete, unused.
483
fa3a767f
PA
4842009-01-07 Pedro Alves <pedro@codesourcery.com>
485
486 Delete ONE_PROCESS_WRITETEXT leftovers.
487
488 * breakpoint.c (insert_bp_location): Delete process_warning
489 argument. Adjust.
490 (insert_breakpoint_locations): Adjust.
491 (reattach_breakpoints): Adjust.
492 * infrun.c (normal_stop): Drop "It might be running in another
493 process" notice.
494
7b93f36d
SS
4952009-01-07 Stan Shebs <stan@codesourcery.com>
496
497 * config/pa/linux.mh (XDEPFILES): Remove.
498
0380c18b
DE
4992009-01-07 Doug Evans <dje@google.com>
500
501 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
502
60023297
JK
5032009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
504
505 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
506 spacing, a regression from 2008-04-22.
507
ea8992ce
JB
5082009-01-07 Joel Brobecker <brobecker@adacore.com>
509
510 * utils.c (gdb_print_host_address): Adjust implementation to
511 reuse host_address_to_string. Move comment explaining the conversion
512 from host address to string from here...
513 (host_address_to_string): ... to there.
514
301d2c47
ES
5152009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
516
517 * MAINTAINERS: Add myself for write after approval privileges.
518
170ce852
TT
5192009-01-06 Tom Tromey <tromey@redhat.com>
520
521 * value.c (set_internalvar): Use value_free, not xfree.
522
fdb7262a
JB
5232009-01-06 Jim Blandy <jimb@red-bean.com>
524
bf1d7d9c
JB
525 Check return values of functions declared with warn_unused_result
526 attribute in GLIBC 2.8.
527 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
528 * inflow.c (check_syscall): New function.
529 (new_tty): Use check_syscall to check return values from open and dup.
530 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
531 * main.c (captured_main): Call cwd after setting up gdb_stderr;
532 check for errors from getcwd.
533 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
534 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
535 (stdio_file_fputs): Same.
536 * utils.c (internal_vproblem): abort if last-ditch error message
537 write fails.
538
fdb7262a
JB
539 * top.c (gdb_init): Don't set the current directory here; that's
540 already been done in captured_main.
541
84603566
SL
5422009-01-06 Sandra Loosemore <sandra@codesourcery.com>
543
544 * ser-tcp.c: Adjust includes.
545 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
546 (tcp_auto_retry, tcp_retry_limit): Declare.
547 (TIMEOUT): Remove, in favor of tcp_retry_limit.
548 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
549 (wait_for_connect): New function.
550 (net_open): Use it. Add auto-retry logic.
551 (set_tcp_cmd, show_tcp_cmd): New functions.
552 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
553 and "set/show tcp connect-timeout" commands.
554 * NEWS: Document new commands.
555
5171e6b3
TT
5562009-01-05 Tom Tromey <tromey@redhat.com>
557
558 * python/python-internal.h (Py_ssize_t): Define as int.
559
a367a1f2
JB
5602009-01-05 Jim Blandy <jimb@red-bean.com>
561
562 * MAINTAINERS: Fix my e-mail address as steering committee member.
563
0fb0cc75
JB
5642009-01-03 Joel Brobecker <brobecker@adacore.com>
565
566 Updated copyright notices for most files.
567
c9fc347d
JB
5682009-01-03 Joel Brobecker <brobecker@adacore.com>
569
570 * top.c (print_gdb_version): Update copyright year.
571
a85d99b4
JB
5722009-01-03 Joel Brobecker <brobecker@adacore.com>
573
574 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
575
4d78a120
JB
5762009-01-01 Pedro Alves <pedro@codesourcery.com>
577
578 PR breakpoints/9681:
579 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
580 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
581 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
582 retrow all other exceptions.
583
67de2a4c 584For older changes see ChangeLog-2008.
c906108c
SS
585\f
586Local Variables:
587mode: change-log
588left-margin: 8
589fill-column: 74
590version-control: never
57da7796 591coding: utf-8
c906108c 592End:
This page took 1.050714 seconds and 4 git commands to generate.