1 2009-01-26 Pedro Alves <pedro@codesourcery.com>
3 * frame.c (create_new_frame): Update the frame's cached PC before
4 finding its unwinder. Use frame_id_build to build the new frame's
6 * stack.c (parse_frame_specification_1): Correct setting ``addrs''
7 array values from the ``args'' array values.
9 2009-01-26 Pedro Alves <pedro@codesourcery.com>
11 * gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)
12 (create_array_type, create_set_type, init_flags_type)
13 (copy_type_recursive): Replace pairs of calls to XALLOC and memset
14 with a call to XZALLOC or XCALLOC, and pairs of calls to
15 obstack_alloc and memset with a call to OBSTACK_ZALLOC.
17 2009-01-26 Pedro Alves <pedro@codesourcery.com>
19 Add "maint set|show internal-error|internal-warning quit|corefile
23 * utils.c (internal_problem_ask, internal_problem_yes)
24 (internal_problem_no, internal_problem_modes): New.
25 (struct internal_problem): Remove FIXME. Make should_quit and
26 should_dump_core types to char *.
27 (internal_vproblem, internal_error_problem)
28 (internal_warning_problem): Adjust.
29 (set_internal_problem_cmd, show_internal_problem_cmd): New dummy
31 (add_internal_problem_command): New.
32 (_initialize_utils): New.
34 2009-01-25 Pedro Alves <pedro@codesourcery.com>
36 * infcmd.c (program_info): Use paddress instead of casting stop_pc
39 2009-01-24 Pedro Alves <pedro@codesourcery.com>
41 * infrun.c (normal_stop): Don't call
42 deprecated_update_frame_pc_hack.
43 * frame.c (deprecated_update_frame_pc_hack)
44 (deprecated_update_frame_base_hack): Delete, and ...
45 (create_new_frame): ... inline here.
46 * frame.h (deprecated_update_frame_pc_hack)
47 (deprecated_update_frame_base_hack): Delete declarations.
49 2009-01-23 Pedro Alves <pedro@codesourcery.com>
51 * cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
52 * cli/cli-setshow.c (do_setshow_command): Handle it.
53 * command.h (enum var_types): Add var_zuinteger.
54 (add_setshow_zuinteger_cmd): Declare.
56 * valprint.c (_initialize_valprint): Change the set input-radix
57 and set output-radix commands to zuinteger type.
59 2009-01-23 Pedro Alves <pedro@codesourcery.com>
62 * infrun.c (normal_stop): Tag threads as stopped, and run the
63 hook-stop before printing the stack frame.
65 2009-01-22 Pedro Alves <pedro@codesourcery.com>
68 * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
71 2009-01-20 Kazu Hirata <kazu@codesourcery.com>
73 * gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
76 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
79 * infcmd.c (signal_command): Do not specify a resume PC.
81 2009-01-19 Doug Evans <dje@google.com>
83 * dummy-frame.c (dummy_frame): Replace regcache member with
85 (dummy_frame_push): Replace caller_regcache arg with caller_state.
87 (remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns.
88 (dummy_frame_pop): Rewrite. Verify requested frame is in the
89 dummy frame stack. Restore program state.
90 (cleanup_dummy_frames): Rewrite.
91 (dummy_frame_sniffer): Update. Make static.
92 * dummy-frame.h (regcache,frame_info): Delete forward decls.
93 (inferior_thread_state): New forward decl.
94 (dummy_frame_push): Update prototype.
95 * frame.c (frame_pop): dummy_frame_pop now does all the work for
97 * infcall.c (breakpoint_auto_delete_contents): Delete.
98 (get_function_name,run_inferior_call): New fns.
99 (call_function_by_hand): Simplify by moving some code to
100 get_function_name, run_inferior_call. Inferior function call wrapped
101 in TRY_CATCH so there's less need for cleanups and all exits from
102 proceed are handled similarily. Detect program exit.
103 Detect program stopping in a different thread.
104 Make error messages more consistent.
105 * inferior.h (inferior_thread_state): Declare (opaque type).
106 (save_inferior_thread_state,restore_inferior_thread_state,
107 make_cleanup_restore_inferior_thread_state,
108 discard_inferior_thread_state, get_inferior_thread_state_regcache):
110 (save_inferior_status): Update prototype.
111 * infrun.c: (normal_stop): When stopped for the completion of an
112 inferior function call, verify the expected stack frame kind.
113 (inferior_thread_state): New struct.
114 (save_inferior_thread_state,restore_inferior_thread_state,
115 do_restore_inferior_thread_state_cleanup,
116 make_cleanup_restore_inferior_thread_state,
117 discard_inferior_thread_state,
118 get_inferior_thread_state_regcache): New functions.
119 (inferior_status): Move stop_signal, stop_pc, registers to
120 inferior_thread_state. Remove restore_stack_info.
121 (save_inferior_status): Remove arg restore_stack_info.
122 All callers updated. Remove saving of state now saved by
123 save_inferior_thread_state.
124 (restore_inferior_status): Remove restoration of state now done by
125 restore_inferior_thread_state.
126 (discard_inferior_status): Remove freeing of registers, now done by
127 discard_inferior_thread_state.
129 2009-01-18 Pedro Alves <pedro@codesourcery.com>
131 * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
132 at a time, times NUM_TO_SCROLL.
133 * tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
134 fetch the selected frame if there is no stack.
136 2009-01-18 Pedro Alves <pedro@codesourcery.com>
139 * gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
141 * thread.c (finish_thread_state, finish_thread_state_cleanup): New.
142 * infrun.c (wait_for_inferior, fetch_inferior_event): If an error
143 is thrown while handling an event, finish the thread state.
144 (normal_stop): Use finish_thread_state cleanup.
145 * infcmd.c (run_command_1): If an error is thrown while starting
146 the inferior, finish the thread state.
148 2009-01-18 Pedro Alves <pedro@codesourcery.com>
150 * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
151 skip breakpoints without a location (pending breakpoints).
153 2009-01-18 Pedro Alves <pedro@codesourcery.com>
156 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
158 2009-01-18 Nick Roberts <nickrob@snap.net.nz>
160 * thread.c (thread_command): Move call to annotate_thread_changed
162 (do_captured_thread_select): ... here, to avoid printing an
163 annotation if the thread change generates an exception.
165 2009-01-16 Joel Brobecker <brobecker@adacore.com>
167 * NEWS: Document x86_64/MinGW as a new native configuration.
169 2009-01-16 Joel Brobecker <brobecker@adacore.com>
171 * NEWS: Move the documentation of "info os processes" to
172 the appropriate section (documenting the new commands).
174 2009-01-15 Doug Evans <dje@google.com>
176 * target.h (target_signal_to_string): Make return type const char *.
177 (target_signal_to_name): Ditto.
178 (target_signal_from_name): Make arg const char *.
179 * infrun.c (sig_print_info): Update.
180 * signals/signals.c (signals): Make array and struct members const.
181 (target_signal_to_string): Make return type const char *.
182 (target_signal_to_name): Ditto.
183 (target_signal_from_name): Make arg const char *.
185 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
186 Tristan Gingold <gingold@adacore.com>
188 * solist.h (struct target_so_ops): New member bfd_open.
189 (solib_find): Add prototype.
190 (solib_bfd_fopen): Add prototype.
191 * solib.c (solib_find, solib_bfd_fopen): New functions, extracted
193 (solib_bfd_open): Use ops->bfd_open override if present. Call
194 solib_find and solib_bfd_open otherwise.
196 * objfiles.h (OBJF_KEEPBFD): New define.
197 * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
199 * solib.c (symbol_add_stub): Do not allocate second BFD for
200 shared library; use OBJF_KEEPBFD flag on solib objfile.
202 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
204 * frame.c (get_frame_arch): Abort if called with NULL this_frame.
206 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
208 * value.h (address_of_variable): Add prototype.
209 (locate_var_value): Remove prototype.
211 * findvar.c (read_var_value): Do not attempt to default frame
213 (locate_var_value): Remove function.
214 * valops.c (value_of_variable): Retrieve selected frame for
215 symbols that require a frame when called with NULL block.
216 * valops.c (address_of_variable): New function.
218 * eval.c (evaluate_subexp_for_address): Call address_of_variable
219 instead of calling locate_var_value.
220 (evaluate_subexp_with_coercion): Likewise.
222 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
224 * NEWS: Document "define" for prefixed commands.
225 * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call
226 show_user_1 for prefix commands.
227 * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
228 * cli/cli-script.c (validate_comname): Rewrite to handle prefix
229 commands. Return the containing command list.
230 (define_command, document_command): Update to handle prefix commands.
231 (show_user_1): Add prefix and name arguments. Handle prefix
233 * cli/cli-script.h (show_user_1): Update prototype.
235 2009-01-14 Kai Tietz <kai.tietz@onevision.com>
237 * mingw-ser.c (console_select_thread): Add return to make
239 (pipe_select_thread): Likewise.
240 (file_select_thread): Likewise.
242 2009-01-14 Pedro Alves <pedro@codesourcery.com>
244 * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
247 2009-01-14 Pedro Alves <pedro@codesourcery.com>
249 * remote.c (extended_remote_mourn_1): Invalidate our notion of
250 current general thread.
252 2009-01-14 Pedro Alves <pedro@codesourcery.com>
254 * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
255 without a live selected thread.
257 2009-01-14 Joel Brobecker <brobecker@adacore.com>
259 Update the copyright notice of some of the files I missed
260 in the previous copyright update.
262 2009-01-14 Joel Brobecker <brobecker@adacore.com>
264 * windows-nat.c (handle_unload_dll): Use %p to print the DLL
265 base address instead of casting it to DWORD.
267 2009-01-13 Ulrich Weigand <uweigand@de.ibm.com>
269 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
270 for NULL frame pointers.
272 2009-01-13 Mark Kettenis <kettenis@gnu.org>
274 * utils.c (host_address_to_string): Reimplement in a way that
275 avoids the cast of the address to long.
277 2009-01-13 Joel Brobecker <brobecker@adacore.com>
279 * mdebugread.c (parse_symbol): Save the symbol private data
280 using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
281 (psymtab_to_symtab_1): Likewise.
282 (parse_procedure): Declare variable "e" only in the scope
283 where it is used. Extract the symbol private data using
286 2009-01-13 Jim Blandy <jimb@codesourcery.com>
288 Abstract out common code for copying value locations.
290 * value.h (set_value_component_location): New declaration.
291 * value.c (set_value_component_location): New function.
292 (value_primitive_field): Use it.
293 * valarith.c (value_subscript, value_subscripted_rvalue): Same.
294 * valops.c (search_struct_field, value_slice): Same.
295 * ada-lang.c (coerce_unspec_val_to_type)
296 (ada_value_primitive_packed_val): Same.
298 2009-01-13 Joel Brobecker <brobecker@adacore.com>
300 * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
302 2009-01-12 Christopher Faylor <me+cygwin@cgf.cx>
304 * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
306 * i386-cygwin-tdep.c: Ditto.
307 * i386-windows-nat.c: Ditto.
308 * windows-nat.h: Ditto.
309 * windows-tdep.c: Ditto.
310 * windows-tdep.h: Ditto.
311 * windows-nat.c: Ditto.
312 (cygwin_load_start): Redefine as CORE_ADDR.
313 (cygwin_load_end): Ditto.
314 (windows_make_so): Coerce result of address arithmetic to to uintptr_t
315 before coercing to CORE_ADDR to avoid a compiler warning.
316 (handle_exception): Define addr as CORE_ADDR and coerce
317 ExceptionAddress to uintptr_t before assigining to avoid a compiler
319 * config/djgpp/fnchange.lst: Add mappings for recently renamed windows
322 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
324 Fix linking with --enable-targets=all:
325 * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
326 (HFILES_NO_SRCDIR): Add windows-tdep.h.
327 (ALLDEPFILES): Add windows-tdep.c.
329 2009-01-11 Christ Faylor <me.gdb@cgf.cx>
331 * win32-nat.h: Delete.
332 * windows-nat.h: Rename from win32-nat.h.
333 * win32-nat.c: Delete.
334 * windows-nat.c: Rename from win32-nat.c.
335 * win32-termcap.c: Delete.
336 * windows-termcap.c: Rename from win32-termcap.c.
337 * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
338 * configure.ac: Handle rename from win32-termcap.c ->
340 * configure: Regenerate.
341 * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
342 -> windows-termcap.c.
343 * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
345 * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
346 * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
348 (win32_make_so): Handle cygwin compiler warning due to change of
349 load_addr from DWORD to LPVOID.
350 (handle_load_dll): Use %p in format string to properly print address
351 and avoid a compiler warning.
352 (DEBUG_EXCEPTION_SIMPLE): Ditto.
353 (handle_exception): Ditto.
354 * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
355 * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
357 * config/i386/mingw.mh: Ditto.
358 * config/i386/mingw64.mh: Ditto.
360 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
362 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
363 arrayprint_recurse_level to a parameter. Update all the callers. New
364 comment at autovariables.
366 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
368 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
371 2009-01-11 Joel Brobecker <brobecker@adacore.com>
373 * target.c (target_xfer_partial): Use host_address_to_string to
374 print the address of readbuf and writebuf. Cast the address of
375 elements inside the myaddr buffer into intptr_t.
376 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
377 Cast the address of elements inside the myaddr buffer into
380 2009-01-11 Joel Brobecker <brobecker@adacore.com>
382 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
383 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
384 * configure.host, configure.tgt: Add handling for x86_64/windows.
385 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
386 and amd64-windows-tdep.c.
388 2009-01-11 Joel Brobecker <brobecker@adacore.com>
390 * win32-tdep.h, win32-tdep.c: New files.
391 * i386-cygwin-tdep.h: Delete.
392 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
394 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
395 * win32-nat.c: Likewise.
396 * configure.tgt: Add win32-tdep.o to the list of target object
397 files for i386-cygwin and i386-mingw targets.
399 2009-01-11 Joel Brobecker <brobecker@adacore.com>
401 * win32-nat.h: New file.
402 * win32-nat.c (mappings): Initialize to NULL.
403 (win32_set_context_register_offsets): New function.
404 * i386-windows-nat.c: New file.
405 (mappings): Moved here from win32-nat.c.
406 (_initialize_i386_windows_nat): New function.
407 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
408 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
410 2009-01-09 Andreas Schwab <schwab@suse.de>
412 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
414 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
416 * gdbtypes.c (append_composite_type_field): Correct the location of
419 2009-01-09 Pedro Alves <pedro@codesourcery.com>
421 * defs.h (deprecated_error_hook): Delete declaration.
422 * interps.c (clear_interpreter_hooks): Adjust.
423 * remote-sim.c (gdb_os_error): Don't try to call
424 deprecated_error_hook. No need to call exit anymore.
425 * top.c (deprecated_error_hook): Delete.
427 2009-01-09 Joel Brobecker <brobecker@adacore.com>
429 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
430 to print the address of the gdbarch pointer.
432 2009-01-09 Joel Brobecker <brobecker@adacore.com>
434 * gdbarch.sh: Fix all the compilation errors on amd64-windows
435 due to casting a pointer to a long when printing a function
436 address. Instead, use host_address_to_string to convert our
438 * gdbarch.c: Regenerate.
440 2009-01-09 Joel Brobecker <brobecker@adacore.com>
442 * event-top.c (async_disconnect, async_stop_sig): use "raise"
443 instead of "kill" to raise a signal.
445 2009-01-09 Joel Brobecker <brobecker@adacore.com>
447 * win32-nat.c (get_module_name): Change the type of parameter
448 "base_address" to LPVOID. Remove unnecessary cast.
449 (struct lm_info): Change type of load_addr to LPVOID.
450 (win32_make_so): Change the type of parameter "load_addr"
451 to LPVOID. Remove some unnecessary casts.
452 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
453 (win32_xfer_shared_libraries): Add missing cast.
455 2009-01-09 Joel Brobecker <brobecker@adacore.com>
457 * win32-nat.c (has_detach_ability, set_process_privilege):
458 Cast the result of GetProcAddress to (void *) to avoid
459 a compilation warning.
461 2009-01-09 Joel Brobecker <brobecker@adacore.com>
463 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
466 2009-01-09 Joel Brobecker <brobecker@adacore.com>
468 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
469 definition of local variable "done".
470 (info_w32_command, handle_exception): Remove unnecessary cast.
472 2009-01-09 Joel Brobecker <brobecker@adacore.com>
474 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
475 DebugSetProcessKillOnExit. Update all uses in this file.
476 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
477 Update all uses in this file.
479 2009-01-09 Joel Brobecker <brobecker@adacore.com>
481 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
482 and use it when pushing the target.
483 (win32_attach, win32_create_inferior): Update call to
484 do_initial_win32_stuff.
485 (win32_detach, win32_mourn_inferior): Use our ops parameter
486 instead of the global win32_ops to unpush the target.
488 2009-01-09 Joel Brobecker <brobecker@adacore.com>
490 * ser-mingw.c (ser_windows_open): Use proper type when casting
491 in call to _open_osfhandle.
493 2009-01-09 Kai Tietz <kai.tietz@onevision.com>
495 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
497 2009-01-09 Joel Brobecker <brobecker@adacore.com>
499 * CONTRIBUTE: Minor reformatting.
501 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
503 * MAINTAINERS: Add myself to Write After Approval.
504 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
507 2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
509 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
510 Call exit to make it obvious to GCC.
512 2009-01-08 Tom Tromey <tromey@redhat.com>
515 * varobj.c (varobj_invalidate): Unconditionally free
517 * symfile.c (syms_from_objfile): Free local_addr when returning
519 * exec.c (exec_file_attach): Do cleanups before returning.
520 (exec_file_command): Likewise.
521 * corefile.c (reopen_exec_file): Do cleanups before returning.
522 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
524 (do_vec_free): New function.
525 (update_global_location_list): Make a cleanup for old_locations.
526 Do cleanups before returning. Remove unused variable 'e'.
527 (find_condition_and_thread): Free result of parsing the
529 (print_it_typical): Do cleanups before returning.
530 (breakpoint_re_set_one): Always free sals.sals.
532 2009-01-08 Joel Brobecker <brobecker@adacore.com>
533 Emi Suzuki <emi-suzuki@tjsys.co.jp>
535 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
538 2009-01-07 Doug Evans <dje@google.com>
540 * top.c (gdb_prompt_string): Delete, unused.
542 2009-01-07 Pedro Alves <pedro@codesourcery.com>
544 Delete ONE_PROCESS_WRITETEXT leftovers.
546 * breakpoint.c (insert_bp_location): Delete process_warning
548 (insert_breakpoint_locations): Adjust.
549 (reattach_breakpoints): Adjust.
550 * infrun.c (normal_stop): Drop "It might be running in another
553 2009-01-07 Stan Shebs <stan@codesourcery.com>
555 * config/pa/linux.mh (XDEPFILES): Remove.
557 2009-01-07 Doug Evans <dje@google.com>
559 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
561 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
563 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
564 spacing, a regression from 2008-04-22.
566 2009-01-07 Joel Brobecker <brobecker@adacore.com>
568 * utils.c (gdb_print_host_address): Adjust implementation to
569 reuse host_address_to_string. Move comment explaining the conversion
570 from host address to string from here...
571 (host_address_to_string): ... to there.
573 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
575 * MAINTAINERS: Add myself for write after approval privileges.
577 2009-01-06 Tom Tromey <tromey@redhat.com>
579 * value.c (set_internalvar): Use value_free, not xfree.
581 2009-01-06 Jim Blandy <jimb@red-bean.com>
583 Check return values of functions declared with warn_unused_result
584 attribute in GLIBC 2.8.
585 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
586 * inflow.c (check_syscall): New function.
587 (new_tty): Use check_syscall to check return values from open and dup.
588 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
589 * main.c (captured_main): Call cwd after setting up gdb_stderr;
590 check for errors from getcwd.
591 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
592 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
593 (stdio_file_fputs): Same.
594 * utils.c (internal_vproblem): abort if last-ditch error message
597 * top.c (gdb_init): Don't set the current directory here; that's
598 already been done in captured_main.
600 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
602 * ser-tcp.c: Adjust includes.
603 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
604 (tcp_auto_retry, tcp_retry_limit): Declare.
605 (TIMEOUT): Remove, in favor of tcp_retry_limit.
606 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
607 (wait_for_connect): New function.
608 (net_open): Use it. Add auto-retry logic.
609 (set_tcp_cmd, show_tcp_cmd): New functions.
610 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
611 and "set/show tcp connect-timeout" commands.
612 * NEWS: Document new commands.
614 2009-01-05 Tom Tromey <tromey@redhat.com>
616 * python/python-internal.h (Py_ssize_t): Define as int.
618 2009-01-05 Jim Blandy <jimb@red-bean.com>
620 * MAINTAINERS: Fix my e-mail address as steering committee member.
622 2009-01-03 Joel Brobecker <brobecker@adacore.com>
624 Updated copyright notices for most files.
626 2009-01-03 Joel Brobecker <brobecker@adacore.com>
628 * top.c (print_gdb_version): Update copyright year.
630 2009-01-03 Joel Brobecker <brobecker@adacore.com>
632 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
634 2009-01-01 Pedro Alves <pedro@codesourcery.com>
637 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
638 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
639 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
640 retrow all other exceptions.
642 For older changes see ChangeLog-2008.
648 version-control: never