1 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4 * thread.c (do_captured_list_thread_ids): Report the current
7 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9 * breakpoint.c (create_breakpoint, create_breakpoints)
10 (break_command_really, set_breakpoint): New parameter enabled.
11 (create_breakpoint, break_command_really): Make breakpoint
12 disabled if so requested.
13 * breakpoint.h (set_breakpoint): New parameter enabled.
14 * mi/mi-cmd-break.c (mi_cmd_break_insert): Handle the -d option.
16 2009-01-28 Doug Evans <dje@google.com>
18 * amd64-tdep.h (amd64_displaced_step_copy_insn): Declare.
19 (amd64_displaced_step_fixup): Declare.
20 * amd64-tdep.c: #include opcode/i386.h, dis-asm.h.
21 (amd64_arch_regmap): Move out of amd64_analyze_stack_align
22 and make static global.
23 (amd64_arch_regmap_len): New static global.
24 (amd64_arch_reg_to_regnum): New function.
25 (struct amd64_insn): New struct.
26 (struct displaced_step_closure): New struct.
27 (onebyte_has_modrm,twobyte_has_modrm): New static globals.
28 (rex_prefix_p,skip_prefixes)
29 (amd64_insn_length_fprintf,amd64_insn_length_init_dis)
30 (amd64_insn_length,amd64_get_unused_input_int_reg)
31 (amd64_get_insn_details,fixup_riprel,fixup_displaced_copy)
32 (amd64_displaced_step_copy_insn)
33 (amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p)
34 (amd64_call_p,amd64_breakpoint_p,amd64_syscall_p)
35 (amd64_displaced_step_fixup): New functions.
36 * amd64-linux-tdep.c: #include arch-utils.h.
37 (amd64_linux_init_abi): Install displaced stepping support.
39 2009-01-28 Pedro Alves <pedro@codesourcery.com>
41 * corefile.c (generic_search): Delete disabled code.
42 * gdbcore.h (generic_search): Delete declaration.
44 2009-01-26 Pedro Alves <pedro@codesourcery.com>
46 * linux-nat.c (linux_child_follow_fork): Copy attach_flag from the
48 * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
49 * inf-ptrace.c (inf_ptrace_follow_fork): Likewise. Use
50 remove_breakpoints to remove breakpoints from the parent.
52 2009-01-26 Pedro Alves <pedro@codesourcery.com>
54 PR backtrace/9458, PR backtrace/8864:
55 * frame.c (create_new_frame): Update the frame's cached PC before
56 finding its unwinder. Use frame_id_build to build the new frame's
58 * stack.c (parse_frame_specification_1): Correct setting ``addrs''
59 array values from the ``args'' array values.
61 2009-01-26 Pedro Alves <pedro@codesourcery.com>
63 * gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)
64 (create_array_type, create_set_type, init_flags_type)
65 (copy_type_recursive): Replace pairs of calls to XALLOC and memset
66 with a call to XZALLOC or XCALLOC, and pairs of calls to
67 obstack_alloc and memset with a call to OBSTACK_ZALLOC.
69 2009-01-26 Pedro Alves <pedro@codesourcery.com>
71 Add "maint set|show internal-error|internal-warning quit|corefile
75 * utils.c (internal_problem_ask, internal_problem_yes)
76 (internal_problem_no, internal_problem_modes): New.
77 (struct internal_problem): Remove FIXME. Make should_quit and
78 should_dump_core types to char *.
79 (internal_vproblem, internal_error_problem)
80 (internal_warning_problem): Adjust.
81 (set_internal_problem_cmd, show_internal_problem_cmd): New dummy
83 (add_internal_problem_command): New.
84 (_initialize_utils): New.
86 2009-01-25 Pedro Alves <pedro@codesourcery.com>
88 * infcmd.c (program_info): Use paddress instead of casting stop_pc
91 2009-01-24 Pedro Alves <pedro@codesourcery.com>
93 * infrun.c (normal_stop): Don't call
94 deprecated_update_frame_pc_hack.
95 * frame.c (deprecated_update_frame_pc_hack)
96 (deprecated_update_frame_base_hack): Delete, and ...
97 (create_new_frame): ... inline here.
98 * frame.h (deprecated_update_frame_pc_hack)
99 (deprecated_update_frame_base_hack): Delete declarations.
101 2009-01-23 Pedro Alves <pedro@codesourcery.com>
103 * cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
104 * cli/cli-setshow.c (do_setshow_command): Handle it.
105 * command.h (enum var_types): Add var_zuinteger.
106 (add_setshow_zuinteger_cmd): Declare.
108 * valprint.c (_initialize_valprint): Change the set input-radix
109 and set output-radix commands to zuinteger type.
111 2009-01-23 Pedro Alves <pedro@codesourcery.com>
114 * infrun.c (normal_stop): Tag threads as stopped, and run the
115 hook-stop before printing the stack frame.
117 2009-01-22 Pedro Alves <pedro@codesourcery.com>
120 * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
123 2009-01-20 Kazu Hirata <kazu@codesourcery.com>
125 * gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
128 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
131 * infcmd.c (signal_command): Do not specify a resume PC.
133 2009-01-19 Doug Evans <dje@google.com>
135 * dummy-frame.c (dummy_frame): Replace regcache member with
137 (dummy_frame_push): Replace caller_regcache arg with caller_state.
139 (remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns.
140 (dummy_frame_pop): Rewrite. Verify requested frame is in the
141 dummy frame stack. Restore program state.
142 (cleanup_dummy_frames): Rewrite.
143 (dummy_frame_sniffer): Update. Make static.
144 * dummy-frame.h (regcache,frame_info): Delete forward decls.
145 (inferior_thread_state): New forward decl.
146 (dummy_frame_push): Update prototype.
147 * frame.c (frame_pop): dummy_frame_pop now does all the work for
149 * infcall.c (breakpoint_auto_delete_contents): Delete.
150 (get_function_name,run_inferior_call): New fns.
151 (call_function_by_hand): Simplify by moving some code to
152 get_function_name, run_inferior_call. Inferior function call wrapped
153 in TRY_CATCH so there's less need for cleanups and all exits from
154 proceed are handled similarily. Detect program exit.
155 Detect program stopping in a different thread.
156 Make error messages more consistent.
157 * inferior.h (inferior_thread_state): Declare (opaque type).
158 (save_inferior_thread_state,restore_inferior_thread_state,
159 make_cleanup_restore_inferior_thread_state,
160 discard_inferior_thread_state, get_inferior_thread_state_regcache):
162 (save_inferior_status): Update prototype.
163 * infrun.c: (normal_stop): When stopped for the completion of an
164 inferior function call, verify the expected stack frame kind.
165 (inferior_thread_state): New struct.
166 (save_inferior_thread_state,restore_inferior_thread_state,
167 do_restore_inferior_thread_state_cleanup,
168 make_cleanup_restore_inferior_thread_state,
169 discard_inferior_thread_state,
170 get_inferior_thread_state_regcache): New functions.
171 (inferior_status): Move stop_signal, stop_pc, registers to
172 inferior_thread_state. Remove restore_stack_info.
173 (save_inferior_status): Remove arg restore_stack_info.
174 All callers updated. Remove saving of state now saved by
175 save_inferior_thread_state.
176 (restore_inferior_status): Remove restoration of state now done by
177 restore_inferior_thread_state.
178 (discard_inferior_status): Remove freeing of registers, now done by
179 discard_inferior_thread_state.
181 2009-01-18 Pedro Alves <pedro@codesourcery.com>
183 * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
184 at a time, times NUM_TO_SCROLL.
185 * tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
186 fetch the selected frame if there is no stack.
188 2009-01-18 Pedro Alves <pedro@codesourcery.com>
191 * gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
193 * thread.c (finish_thread_state, finish_thread_state_cleanup): New.
194 * infrun.c (wait_for_inferior, fetch_inferior_event): If an error
195 is thrown while handling an event, finish the thread state.
196 (normal_stop): Use finish_thread_state cleanup.
197 * infcmd.c (run_command_1): If an error is thrown while starting
198 the inferior, finish the thread state.
200 2009-01-18 Pedro Alves <pedro@codesourcery.com>
202 * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
203 skip breakpoints without a location (pending breakpoints).
205 2009-01-18 Pedro Alves <pedro@codesourcery.com>
208 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
210 2009-01-18 Nick Roberts <nickrob@snap.net.nz>
212 * thread.c (thread_command): Move call to annotate_thread_changed
214 (do_captured_thread_select): ... here, to avoid printing an
215 annotation if the thread change generates an exception.
217 2009-01-16 Joel Brobecker <brobecker@adacore.com>
219 * NEWS: Document x86_64/MinGW as a new native configuration.
221 2009-01-16 Joel Brobecker <brobecker@adacore.com>
223 * NEWS: Move the documentation of "info os processes" to
224 the appropriate section (documenting the new commands).
226 2009-01-15 Doug Evans <dje@google.com>
228 * target.h (target_signal_to_string): Make return type const char *.
229 (target_signal_to_name): Ditto.
230 (target_signal_from_name): Make arg const char *.
231 * infrun.c (sig_print_info): Update.
232 * signals/signals.c (signals): Make array and struct members const.
233 (target_signal_to_string): Make return type const char *.
234 (target_signal_to_name): Ditto.
235 (target_signal_from_name): Make arg const char *.
237 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
238 Tristan Gingold <gingold@adacore.com>
240 * solist.h (struct target_so_ops): New member bfd_open.
241 (solib_find): Add prototype.
242 (solib_bfd_fopen): Add prototype.
243 * solib.c (solib_find, solib_bfd_fopen): New functions, extracted
245 (solib_bfd_open): Use ops->bfd_open override if present. Call
246 solib_find and solib_bfd_open otherwise.
248 * objfiles.h (OBJF_KEEPBFD): New define.
249 * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
251 * solib.c (symbol_add_stub): Do not allocate second BFD for
252 shared library; use OBJF_KEEPBFD flag on solib objfile.
254 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
256 * frame.c (get_frame_arch): Abort if called with NULL this_frame.
258 2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
260 * value.h (address_of_variable): Add prototype.
261 (locate_var_value): Remove prototype.
263 * findvar.c (read_var_value): Do not attempt to default frame
265 (locate_var_value): Remove function.
266 * valops.c (value_of_variable): Retrieve selected frame for
267 symbols that require a frame when called with NULL block.
268 * valops.c (address_of_variable): New function.
270 * eval.c (evaluate_subexp_for_address): Call address_of_variable
271 instead of calling locate_var_value.
272 (evaluate_subexp_with_coercion): Likewise.
274 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
276 * NEWS: Document "define" for prefixed commands.
277 * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call
278 show_user_1 for prefix commands.
279 * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
280 * cli/cli-script.c (validate_comname): Rewrite to handle prefix
281 commands. Return the containing command list.
282 (define_command, document_command): Update to handle prefix commands.
283 (show_user_1): Add prefix and name arguments. Handle prefix
285 * cli/cli-script.h (show_user_1): Update prototype.
287 2009-01-14 Kai Tietz <kai.tietz@onevision.com>
289 * mingw-ser.c (console_select_thread): Add return to make
291 (pipe_select_thread): Likewise.
292 (file_select_thread): Likewise.
294 2009-01-14 Pedro Alves <pedro@codesourcery.com>
296 * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
299 2009-01-14 Pedro Alves <pedro@codesourcery.com>
301 * remote.c (extended_remote_mourn_1): Invalidate our notion of
302 current general thread.
304 2009-01-14 Pedro Alves <pedro@codesourcery.com>
306 * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
307 without a live selected thread.
309 2009-01-14 Joel Brobecker <brobecker@adacore.com>
311 Update the copyright notice of some of the files I missed
312 in the previous copyright update.
314 2009-01-14 Joel Brobecker <brobecker@adacore.com>
316 * windows-nat.c (handle_unload_dll): Use %p to print the DLL
317 base address instead of casting it to DWORD.
319 2009-01-13 Ulrich Weigand <uweigand@de.ibm.com>
321 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
322 for NULL frame pointers.
324 2009-01-13 Mark Kettenis <kettenis@gnu.org>
326 * utils.c (host_address_to_string): Reimplement in a way that
327 avoids the cast of the address to long.
329 2009-01-13 Joel Brobecker <brobecker@adacore.com>
331 * mdebugread.c (parse_symbol): Save the symbol private data
332 using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
333 (psymtab_to_symtab_1): Likewise.
334 (parse_procedure): Declare variable "e" only in the scope
335 where it is used. Extract the symbol private data using
338 2009-01-13 Jim Blandy <jimb@codesourcery.com>
340 Abstract out common code for copying value locations.
342 * value.h (set_value_component_location): New declaration.
343 * value.c (set_value_component_location): New function.
344 (value_primitive_field): Use it.
345 * valarith.c (value_subscript, value_subscripted_rvalue): Same.
346 * valops.c (search_struct_field, value_slice): Same.
347 * ada-lang.c (coerce_unspec_val_to_type)
348 (ada_value_primitive_packed_val): Same.
350 2009-01-13 Joel Brobecker <brobecker@adacore.com>
352 * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
354 2009-01-12 Christopher Faylor <me+cygwin@cgf.cx>
356 * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
358 * i386-cygwin-tdep.c: Ditto.
359 * i386-windows-nat.c: Ditto.
360 * windows-nat.h: Ditto.
361 * windows-tdep.c: Ditto.
362 * windows-tdep.h: Ditto.
363 * windows-nat.c: Ditto.
364 (cygwin_load_start): Redefine as CORE_ADDR.
365 (cygwin_load_end): Ditto.
366 (windows_make_so): Coerce result of address arithmetic to to uintptr_t
367 before coercing to CORE_ADDR to avoid a compiler warning.
368 (handle_exception): Define addr as CORE_ADDR and coerce
369 ExceptionAddress to uintptr_t before assigining to avoid a compiler
371 * config/djgpp/fnchange.lst: Add mappings for recently renamed windows
374 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
376 Fix linking with --enable-targets=all:
377 * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
378 (HFILES_NO_SRCDIR): Add windows-tdep.h.
379 (ALLDEPFILES): Add windows-tdep.c.
381 2009-01-11 Christ Faylor <me.gdb@cgf.cx>
383 * win32-nat.h: Delete.
384 * windows-nat.h: Rename from win32-nat.h.
385 * win32-nat.c: Delete.
386 * windows-nat.c: Rename from win32-nat.c.
387 * win32-termcap.c: Delete.
388 * windows-termcap.c: Rename from win32-termcap.c.
389 * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
390 * configure.ac: Handle rename from win32-termcap.c ->
392 * configure: Regenerate.
393 * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
394 -> windows-termcap.c.
395 * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
397 * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
398 * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
400 (win32_make_so): Handle cygwin compiler warning due to change of
401 load_addr from DWORD to LPVOID.
402 (handle_load_dll): Use %p in format string to properly print address
403 and avoid a compiler warning.
404 (DEBUG_EXCEPTION_SIMPLE): Ditto.
405 (handle_exception): Ditto.
406 * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
407 * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
409 * config/i386/mingw.mh: Ditto.
410 * config/i386/mingw64.mh: Ditto.
412 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
414 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
415 arrayprint_recurse_level to a parameter. Update all the callers. New
416 comment at autovariables.
418 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
420 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
423 2009-01-11 Joel Brobecker <brobecker@adacore.com>
425 * target.c (target_xfer_partial): Use host_address_to_string to
426 print the address of readbuf and writebuf. Cast the address of
427 elements inside the myaddr buffer into intptr_t.
428 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
429 Cast the address of elements inside the myaddr buffer into
432 2009-01-11 Joel Brobecker <brobecker@adacore.com>
434 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
435 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
436 * configure.host, configure.tgt: Add handling for x86_64/windows.
437 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
438 and amd64-windows-tdep.c.
440 2009-01-11 Joel Brobecker <brobecker@adacore.com>
442 * win32-tdep.h, win32-tdep.c: New files.
443 * i386-cygwin-tdep.h: Delete.
444 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
446 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
447 * win32-nat.c: Likewise.
448 * configure.tgt: Add win32-tdep.o to the list of target object
449 files for i386-cygwin and i386-mingw targets.
451 2009-01-11 Joel Brobecker <brobecker@adacore.com>
453 * win32-nat.h: New file.
454 * win32-nat.c (mappings): Initialize to NULL.
455 (win32_set_context_register_offsets): New function.
456 * i386-windows-nat.c: New file.
457 (mappings): Moved here from win32-nat.c.
458 (_initialize_i386_windows_nat): New function.
459 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
460 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
462 2009-01-09 Andreas Schwab <schwab@suse.de>
464 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
466 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
468 * gdbtypes.c (append_composite_type_field): Correct the location of
471 2009-01-09 Pedro Alves <pedro@codesourcery.com>
473 * defs.h (deprecated_error_hook): Delete declaration.
474 * interps.c (clear_interpreter_hooks): Adjust.
475 * remote-sim.c (gdb_os_error): Don't try to call
476 deprecated_error_hook. No need to call exit anymore.
477 * top.c (deprecated_error_hook): Delete.
479 2009-01-09 Joel Brobecker <brobecker@adacore.com>
481 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
482 to print the address of the gdbarch pointer.
484 2009-01-09 Joel Brobecker <brobecker@adacore.com>
486 * gdbarch.sh: Fix all the compilation errors on amd64-windows
487 due to casting a pointer to a long when printing a function
488 address. Instead, use host_address_to_string to convert our
490 * gdbarch.c: Regenerate.
492 2009-01-09 Joel Brobecker <brobecker@adacore.com>
494 * event-top.c (async_disconnect, async_stop_sig): use "raise"
495 instead of "kill" to raise a signal.
497 2009-01-09 Joel Brobecker <brobecker@adacore.com>
499 * win32-nat.c (get_module_name): Change the type of parameter
500 "base_address" to LPVOID. Remove unnecessary cast.
501 (struct lm_info): Change type of load_addr to LPVOID.
502 (win32_make_so): Change the type of parameter "load_addr"
503 to LPVOID. Remove some unnecessary casts.
504 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
505 (win32_xfer_shared_libraries): Add missing cast.
507 2009-01-09 Joel Brobecker <brobecker@adacore.com>
509 * win32-nat.c (has_detach_ability, set_process_privilege):
510 Cast the result of GetProcAddress to (void *) to avoid
511 a compilation warning.
513 2009-01-09 Joel Brobecker <brobecker@adacore.com>
515 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
518 2009-01-09 Joel Brobecker <brobecker@adacore.com>
520 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
521 definition of local variable "done".
522 (info_w32_command, handle_exception): Remove unnecessary cast.
524 2009-01-09 Joel Brobecker <brobecker@adacore.com>
526 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
527 DebugSetProcessKillOnExit. Update all uses in this file.
528 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
529 Update all uses in this file.
531 2009-01-09 Joel Brobecker <brobecker@adacore.com>
533 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
534 and use it when pushing the target.
535 (win32_attach, win32_create_inferior): Update call to
536 do_initial_win32_stuff.
537 (win32_detach, win32_mourn_inferior): Use our ops parameter
538 instead of the global win32_ops to unpush the target.
540 2009-01-09 Joel Brobecker <brobecker@adacore.com>
542 * ser-mingw.c (ser_windows_open): Use proper type when casting
543 in call to _open_osfhandle.
545 2009-01-09 Kai Tietz <kai.tietz@onevision.com>
547 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
549 2009-01-09 Joel Brobecker <brobecker@adacore.com>
551 * CONTRIBUTE: Minor reformatting.
553 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
555 * MAINTAINERS: Add myself to Write After Approval.
556 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
559 2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
561 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
562 Call exit to make it obvious to GCC.
564 2009-01-08 Tom Tromey <tromey@redhat.com>
567 * varobj.c (varobj_invalidate): Unconditionally free
569 * symfile.c (syms_from_objfile): Free local_addr when returning
571 * exec.c (exec_file_attach): Do cleanups before returning.
572 (exec_file_command): Likewise.
573 * corefile.c (reopen_exec_file): Do cleanups before returning.
574 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
576 (do_vec_free): New function.
577 (update_global_location_list): Make a cleanup for old_locations.
578 Do cleanups before returning. Remove unused variable 'e'.
579 (find_condition_and_thread): Free result of parsing the
581 (print_it_typical): Do cleanups before returning.
582 (breakpoint_re_set_one): Always free sals.sals.
584 2009-01-08 Joel Brobecker <brobecker@adacore.com>
585 Emi Suzuki <emi-suzuki@tjsys.co.jp>
587 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
590 2009-01-07 Doug Evans <dje@google.com>
592 * top.c (gdb_prompt_string): Delete, unused.
594 2009-01-07 Pedro Alves <pedro@codesourcery.com>
596 Delete ONE_PROCESS_WRITETEXT leftovers.
598 * breakpoint.c (insert_bp_location): Delete process_warning
600 (insert_breakpoint_locations): Adjust.
601 (reattach_breakpoints): Adjust.
602 * infrun.c (normal_stop): Drop "It might be running in another
605 2009-01-07 Stan Shebs <stan@codesourcery.com>
607 * config/pa/linux.mh (XDEPFILES): Remove.
609 2009-01-07 Doug Evans <dje@google.com>
611 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
613 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
615 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
616 spacing, a regression from 2008-04-22.
618 2009-01-07 Joel Brobecker <brobecker@adacore.com>
620 * utils.c (gdb_print_host_address): Adjust implementation to
621 reuse host_address_to_string. Move comment explaining the conversion
622 from host address to string from here...
623 (host_address_to_string): ... to there.
625 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
627 * MAINTAINERS: Add myself for write after approval privileges.
629 2009-01-06 Tom Tromey <tromey@redhat.com>
631 * value.c (set_internalvar): Use value_free, not xfree.
633 2009-01-06 Jim Blandy <jimb@red-bean.com>
635 Check return values of functions declared with warn_unused_result
636 attribute in GLIBC 2.8.
637 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
638 * inflow.c (check_syscall): New function.
639 (new_tty): Use check_syscall to check return values from open and dup.
640 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
641 * main.c (captured_main): Call cwd after setting up gdb_stderr;
642 check for errors from getcwd.
643 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
644 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
645 (stdio_file_fputs): Same.
646 * utils.c (internal_vproblem): abort if last-ditch error message
649 * top.c (gdb_init): Don't set the current directory here; that's
650 already been done in captured_main.
652 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
654 * ser-tcp.c: Adjust includes.
655 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
656 (tcp_auto_retry, tcp_retry_limit): Declare.
657 (TIMEOUT): Remove, in favor of tcp_retry_limit.
658 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
659 (wait_for_connect): New function.
660 (net_open): Use it. Add auto-retry logic.
661 (set_tcp_cmd, show_tcp_cmd): New functions.
662 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
663 and "set/show tcp connect-timeout" commands.
664 * NEWS: Document new commands.
666 2009-01-05 Tom Tromey <tromey@redhat.com>
668 * python/python-internal.h (Py_ssize_t): Define as int.
670 2009-01-05 Jim Blandy <jimb@red-bean.com>
672 * MAINTAINERS: Fix my e-mail address as steering committee member.
674 2009-01-03 Joel Brobecker <brobecker@adacore.com>
676 Updated copyright notices for most files.
678 2009-01-03 Joel Brobecker <brobecker@adacore.com>
680 * top.c (print_gdb_version): Update copyright year.
682 2009-01-03 Joel Brobecker <brobecker@adacore.com>
684 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
686 2009-01-01 Pedro Alves <pedro@codesourcery.com>
689 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
690 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
691 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
692 retrow all other exceptions.
694 For older changes see ChangeLog-2008.
700 version-control: never