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