78485d59c6
* stack.c (print_this_frame_argument_p): Use check_typedef.
2836 lines
106 KiB
Text
2836 lines
106 KiB
Text
2009-03-25 Tom Tromey <tromey@redhat.com>
|
||
|
||
* gdbtypes.h (CHECK_TYPEDEF): Don't yield a value.
|
||
* stack.c (print_this_frame_argument_p): Use check_typedef.
|
||
|
||
2009-03-25 Tom Tromey <tromey@redhat.com>
|
||
|
||
* configure: Rebuild.
|
||
* acinclude.m4 (AM_ICONV): Set am_cv_use_build_libiconv.
|
||
Rearrange flags setting. Add comments.
|
||
|
||
2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
* config/i386/nm-i386.h: Remove code within
|
||
I386_WATCHPOINTS_IN_TARGET_VECTOR conditional.
|
||
* config/i386/nm-cygwin.h: Remove I386_WATCHPOINTS_IN_TARGET_VECTOR
|
||
macro.
|
||
* config/i386/nm-cygwin64.h: Ditto.
|
||
* config/i386/nm-fbsd.h: Ditto.
|
||
* config/i386/nm-go32.h: Ditto.
|
||
* config/i386/nm-linux.h: Ditto.
|
||
* config/i386/nm-linux64.h: Ditto.
|
||
|
||
2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
ARI fix: "xasprintf" rule.
|
||
* printcmd.c (sym_info): Replace xasprintf by xstrprintf.
|
||
|
||
2009-03-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* remote.c (remote_start_remote): In non-stop mode, call
|
||
init_wait_for_inferior before adding threads and inferiors.
|
||
|
||
2009-03-25 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* breakpoint.c (breakpoint_thread_match): Split a large condition
|
||
into several smaller conditions. No behavior change.
|
||
|
||
2009-03-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* infrun.c (infrun_thread_thread_exit): New.
|
||
(_initialize_infrun): Attach it to the thread_exit observer.
|
||
* thread.c (delete_thread_1): Always call the observer, passing it
|
||
the silent flag.
|
||
* mi/mi-interp.c (mi_thread_exit): Add "silent" parameter. If
|
||
SILENT, return immediately.
|
||
|
||
2009-03-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* infrun.c (normal_stop): Use has_stack_frames instead of
|
||
target_has_stack.
|
||
* mi/mi-main.c (mi_execute_command): Avoid calling inferior_thread
|
||
when there is no thread selected.
|
||
(mi_cmd_execute): Don't special case commands that can run without
|
||
a valid selected thread.
|
||
* top.c (execute_command): Don't special case commands that can
|
||
run without a valid selected thread. Use has_stack_frames.
|
||
* infcmd.c (ensure_valid_thread): New.
|
||
(continue_1, step_1, jump_command, signal_command): Use it.
|
||
(detach_command): Error out if there's no selected thread/inferior.
|
||
* thread.c (print_thread_info): Allow having no thread selected.
|
||
(switch_to_thread): Don't read the PC if there is no current thread.
|
||
(do_restore_current_thread_cleanup): Don't record the current
|
||
frame if there is no current thread.
|
||
(make_cleanup_restore_current_thread): Don't read frame info if
|
||
there is no selected thread.
|
||
(_initialize_thread): Don't mark commands as
|
||
"no_selected_thread_ok".
|
||
* frame.c (get_current_frame): Error out if there is no valid
|
||
selected thread.
|
||
(has_stack_frames): Return false if there is no valid
|
||
selected thread.
|
||
* cli/cli-cmds.c (init_cli_cmds): Don't mark commands as
|
||
"no_selected_thread_ok".
|
||
* cli/cli-decode.c (set_cmd_no_selected_thread_ok)
|
||
(get_cmd_no_selected_thread_ok): Delete.
|
||
* cli/cli-decode.h (CMD_NO_SELECTED_THREAD_OK): Delete.
|
||
(set_cmd_no_selected_thread_ok, get_cmd_no_selected_thread_ok):
|
||
Delete declaration.
|
||
* stack.c (get_selected_block): Use has_stack_frames.
|
||
|
||
2009-03-25 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
Fix size of FPSCR in Power 7 processors.
|
||
* ppc-linux-nat.c (PPC_FEATURE_ARCH_2_05): Remove #define.
|
||
(PPC_FEATURE_HAS_DFP): New #define.
|
||
(ppc_linux_read_description): Check for DFP feature instead of
|
||
ISA 2.05 to decide on size of the FPSCR.
|
||
|
||
2009-03-25 Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* mn10300-tdep.c (trad-frame.h): Don't include.
|
||
(prologue-value.h): Include.
|
||
(mn10300_frame_unwind_cache, set_reg_offsets): Delete.
|
||
(struct mn10300_prologue): Define.
|
||
(push_reg, translate_rreg, check_for_saved): New functions.
|
||
(mn10300_analyze_prologue): Rewrite, using prologue-value
|
||
machinery. Handle more instructions than before. Permit
|
||
instructions to occur in any order.
|
||
(mn10300_skip_prologue): Find the extents of the function
|
||
in question; mn10300_analyze_prologue no longer does this.
|
||
(mn10300_analyze_frame_prologue): New function.
|
||
(mn10300_frame_base): New function.
|
||
(mn10300_frame_this_id): Rewrite, no longer using trad-frame
|
||
implementation.
|
||
(mn10300_frame_prev_register): Likewise.
|
||
(mn10300_frame_base_address, mn10300_frame_base struct): Delete.
|
||
(mn10300_unwind_pc, mn10300_unwind_sp): Rename `next_frame' to
|
||
`this_frame'.
|
||
(mn10300_frame_unwind_init): Don't call frame_base_set_default().
|
||
|
||
2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
Fix completer problem for filename completion on the first try.
|
||
|
||
* gdb/completer.h (gdb_completion_word_break_characters): New function.
|
||
* gdb/completer.c: Include gdb_assert.h.
|
||
(complete_line_internal_reason): New enum.
|
||
(complete_line_internal): Change last argument type to
|
||
complete_line_internal_reason.
|
||
Modify function to handle the different complete_line_internal_reason
|
||
argument values.
|
||
(complete_line): Adapt to change in complete_line_internal.
|
||
(command_completer): Ditto.
|
||
(gdb_completion_word_break_characters): Implement new function.
|
||
* top.c (init_main): Set rl_completion_word_break_hook to
|
||
gdb_completion_word_break_characters.
|
||
|
||
|
||
2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
ARI fix: "strlen d_name" rule.
|
||
* linux-nat.c (linux_nat_xfer_osdata): Use NAMELEN macro.
|
||
|
||
|
||
2009-03-24 Tom Tromey <tromey@redhat.com>
|
||
Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* configure, config.in: Rebuild.
|
||
* configure.ac: Check for libiconvlist.
|
||
* charset.c: Check HAVE_LIBICONVLIST.
|
||
* acinclude.m4 (AM_ICONV): Don't subst LIBICONV, LIBICONV_INCLUDE,
|
||
LIBICONV_LIBDIR. Update CPPFLAGS and LIBS.
|
||
* Makefile.in (LIBICONV, LIBICONV_INCLUDE, LIBICONV_LIBDIR):
|
||
Remove.
|
||
(INTERNAL_CFLAGS_BASE): Update.
|
||
(INTERNAL_LDFLAGS): Update.
|
||
(CLIBS): Update.
|
||
|
||
2009-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* configure.ac: Initialize the variable $PREFER_CURSES.
|
||
* configure: Regenerated.
|
||
|
||
2009-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* configure.ac: Enable $PREFER_CURSES even with default $ENABLE_TUI.
|
||
* configure: Regenerated.
|
||
|
||
2009-03-24 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
ARI fix: "strerror" rule.
|
||
* darwin-nat.c (darwin_ptrace): Use safe_strerror.
|
||
(darwin_stop_inferior, darwin_attach, darwin_detach): Ditto.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-exp.y (get_symbol_field_type): Make sure to resolve typedefs
|
||
before looking up the fields inside our struct type.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before
|
||
trying to resolve the type qualification.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) [UNOP_IN_RANGE]: make sure
|
||
we try to apply the attribute on the real type, rather than
|
||
its associated typedef.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) [OP_ATR_MODULUS]: Use check_typdef
|
||
to make sure we try to get the modulus of the actual type, not the
|
||
associated typedef.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp): [OP_ATR_FIRST, OP_ATR_LAST]
|
||
[OP_ATR_LENGTH]: When using the attribute on a type, make sure
|
||
to get the real type, not the associated typedef.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_get_field_index): Add handling of the case
|
||
when TYPE is a typedef of a struct.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Add gdb_usleep as a portable version of usleep based on gdb_select.
|
||
* gdb_usleep.h, gdb_usleep.c: New files.
|
||
* Makefile.in (SFILES): Add gdb_usleep.c.
|
||
(HFILES_NO_SRCDIR): Add gdb_usleep.h.
|
||
(COMMON_OBS): Add gdb_usleep.o.
|
||
* ser-unix.c (hardwire_send_break): Replace call to gdb_select
|
||
by call to gdb_usleep.
|
||
|
||
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* buildsym.c (end_symtab): If we ignore the subfiles, then
|
||
unlink the associated symtabs if they were already allocated.
|
||
|
||
2009-03-23 Jerome Guitton <guitton@adacore.com>
|
||
|
||
Provide a way to force building of GDB with libcurses.
|
||
* configure.ac: Add --with-curses.
|
||
* configure: Regenerated.
|
||
|
||
2009-03-23 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_uninit>: Fix typo in
|
||
error message.
|
||
|
||
2009-03-23 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||
|
||
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Use
|
||
solib_contains_address_p instead of searching.
|
||
|
||
2009-03-23 Tom Tromey <tromey@redhat.com>
|
||
|
||
* charset.c (ICONV_CONST) <PHONY_ICONV>: Define.
|
||
(iconv): Make 'inbuf' argument const.
|
||
(convert_between_encodings): Use ICONV_CONST.
|
||
(wchar_iterate): Likewise.
|
||
|
||
2009-03-22 Christopher Faylor <me+cygwin@cgf.cx>
|
||
|
||
* windows-nat.c (AdjustTokenPrivileges): Implement macro wraparound for
|
||
dynamically loaded function.
|
||
(LookupPrivilegeValueA): Ditto.
|
||
(OpenProcessToken): Ditto.
|
||
(AdjustTokenPrivileges): Rename and define placeholder for address of
|
||
dynamically loaded function.
|
||
(LookupPrivilegeValueA): Ditto.
|
||
(OpenProcessToken): Ditto.
|
||
(set_process_privilege): Remove check for loaded functions.
|
||
(bad_OpenProcessToken): Define.
|
||
(_initialize_loadable): Load token functions from advapi here, setting
|
||
OpenProcessToken function to a dummy static function which always return
|
||
error if OS doesn't support this functionality.
|
||
|
||
2009-03-22 Nicolas Roche <roche@adacore.com>
|
||
Christopher Faylor <me+cygwin@cgf.cx>
|
||
|
||
* win32-nat.c (ctrl_c_handler): New function.
|
||
(win32_wait): Register ctrl_c_handler as Ctrl-C handler if the inferior
|
||
is run in a separate console.
|
||
|
||
2009-03-22 Christopher Faylor <me+cygwin@cgf.cx>
|
||
|
||
* windows-nat.c (DebugActiveProcessStop): Implement macro wraparound
|
||
for dynamically loaded function.
|
||
(DebugBreakProcess): Ditto.
|
||
(DebugSetProcessKillOnExit): Ditto.
|
||
(EnumProcessModules): Ditto.
|
||
(GetModuleFileNameExA): Ditto.
|
||
(GetModuleInformation): Ditto.
|
||
(DebugActiveProcessStop): Rename and define placeholder for address of
|
||
dynamically loaded function.
|
||
(DebugBreakProcess): Ditto.
|
||
(DebugSetProcessKillOnExit): Ditto.
|
||
(EnumProcessModules): Ditto.
|
||
(GetModuleFileNameExA): Ditto.
|
||
(GetModuleInformation): Ditto.
|
||
(psapi_loaded): Delete.
|
||
(get_module_name): Don't check psapi_loaded, just rely on the fact that
|
||
dynamically loaded functions will return failure if they weren't
|
||
previously found.
|
||
(has_detach_ability): Delete.
|
||
(windows_attach): Remove call to has_detach_ability (). Just rely on
|
||
functions being callable.
|
||
(bad_DebugActiveProcessStop): Define.
|
||
(bad_DebugBreakProcess): Ditto.
|
||
(bad_DebugSetProcessKillOnExit): Ditto.
|
||
(bad_EnumProcessModules): Ditto.
|
||
(bad_GetModuleFileNameExA): Ditto.
|
||
(bad_GetModuleInformation): Ditto.
|
||
(_initialize_loadable): Rename from _initialize_psapi. Initialize all
|
||
dynamic storage here, setting nonexistent functions to dummy static
|
||
functions which always return error.
|
||
|
||
2009-03-22 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* mi/mi-interp.c (mi_interpreter_init): Attach mi_about_to_proceed
|
||
to the about_to_proceed observer notification.
|
||
(mi_about_to_proceed): New.
|
||
(mi_on_resume): Only output ^running and the prompt here if the
|
||
target was proceeded.
|
||
* breakpoint.c (breakpoint_proceeded): New static.
|
||
(breakpoint_about_to_proceed): New.
|
||
(_initialize_breakpoints): Attach breakpoint_about_to_proceed to
|
||
the about_to_proceed observer notification.
|
||
* inferior.h (breakpoint_proceeded): Delete declaration.
|
||
* infrun.c (clear_proceed_status): Don't set breakpoint_proceeded.
|
||
Notify the about_to_proceed observers.
|
||
(struct inferior_status): Delete breakpoint_proceeded member.
|
||
(save_inferior_status): Don't save it.
|
||
(restore_inferior_status): Don't restore it.
|
||
* mi-main.h (mi_proceeded): Declare.
|
||
* mi/mi-main.c (mi_cmd_execute): Clear mi_proceeded before running
|
||
a command.
|
||
|
||
2009-03-22 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* gdbthread.h (struct thread_info): Add in_infcall member.
|
||
* infcall.c (run_inferior_call): Save, set and restore in_infcall.
|
||
Remove reverences to suppress_resume_observer. Refresh
|
||
`call_thread' after returning from `proceed'.
|
||
* infcmd.c (suppress_resume_observer): Delete.
|
||
* inferior.h (suppress_resume_observer): Delete declaration.
|
||
* mi/mi-interp.c (mi_on_resume): Suppress output while calling an
|
||
inferior function.
|
||
* thread.c (set_running): Remove references to
|
||
suppress_resume_observer.
|
||
* infrun.c (struct inferior_status): Add in_infcall member.
|
||
(save_inferior_status): Save it.
|
||
(restore_inferior_status): Restore it.
|
||
|
||
2009-03-22 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* infcall.c (run_inferior_call): Remove references to
|
||
suppress_stop_observer.
|
||
* infcmd.c (suppress_stop_observer): Delete.
|
||
(finish_command_continuation): Remove NOTE. Don't clear
|
||
suppress_stop_observer anymore.
|
||
(finish_command_continuation_free_arg): Likewise.
|
||
(finish_forward): Remove references to suppress_stop_observer.
|
||
Call normal_stop observer if we haven't already.
|
||
* inferior.h (suppress_stop_observer): Delete.
|
||
* infrun.c (normal_stop): When deciding to suppress the
|
||
normal_stop observer, check for proceed_to_finish instead of
|
||
suppress_stop_observer.
|
||
|
||
2009-03-22 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* symfile.c (symfile_relocate_debug_section): Remove check for
|
||
SEC_DEBUGGING.
|
||
|
||
2009-03-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
Jim Blandy <jimb@red-bean.com>
|
||
Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
Miscellaneous fixes to the Python code.
|
||
* python/python-cmd.c (cmdpy_init): Accept keyword
|
||
arguments.
|
||
* python/python-value.c (valpy_string): Accept keyword
|
||
arguments.
|
||
(valpy_binop): Use `break' to exit from the TRY_CATCH block.
|
||
Do not call value_to_value_object on NULL RES_VAL.
|
||
(value_object_methods): Change `string' entry to also accept
|
||
keyword arguments.
|
||
(convert_value_from_python): Return a copy of the value if obj is
|
||
a gdb.Value object.
|
||
(value_object_methods): Mark the `string' method as accepting
|
||
keywords, and show method "prototype" in the doc string.
|
||
* python/python.c (get_parameter): Don't return inside a
|
||
TRY_CATCH.
|
||
|
||
2009-03-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
Add support for convenience functions in Python.
|
||
* Makefile.in (SUBDIR_PYTHON_OBS): Add python-function.o.
|
||
(SUBDIR_PYTHON_SRCS): Add python-function.c.
|
||
(python-function.o): New target.
|
||
* eval.c: Include "python/python.h" and <ctype.h>.
|
||
(evaluate_subexp_standard): Handle values of type
|
||
TYPE_CODE_INTERNAL_FUNCTION.
|
||
* gdbtypes.h (type_code): Add TYPE_CODE_INTERNAL_FUNCTION.
|
||
* parse.c (write_exp_string): Remove duplicate word in comment.
|
||
* python/python-function.c: New file.
|
||
* python/python-internal.h (gdbpy_initialize_functions): Add
|
||
prototype.
|
||
* python/python.c (_initialize_python): Call
|
||
gdbpy_initialize_functions.
|
||
* valprint.c (value_check_printable): Handle values of type
|
||
TYPE_CODE_INTERNAL_FUNCTION.
|
||
* value.c: Include "cli/cli-decode.h".
|
||
(internal_function): New struct.
|
||
(functionlist, internal_fn_type): New static variables.
|
||
(lookup_only_internalvar,
|
||
lookup_internalvar): Add const qualifier to name argument.
|
||
(create_internalvar): Likewise. Initialize new field.
|
||
(set_internal_var): Fix typo in comment. Don't allow assignment
|
||
to canonical variable.
|
||
(value_create_internal_function, value_internal_function_name,
|
||
call_internal_function, function_command, function_destroyer,
|
||
add_internal_function): New functions.
|
||
(_initialize_values): Create `function' placeholder command.
|
||
Initialize internal_fn_type.
|
||
* value.h (lookup_only_internalvar, create_internalvar,
|
||
lookup_internalvar): Add const qualifier to name argument.
|
||
(internal_function_fn, add_internal_function, call_internal_function,
|
||
value_internal_function_name): Add prototypes.
|
||
(struct internalvar) <canonical>: New field.
|
||
|
||
2009-03-20 Tom Tromey <tromey@redhat.com>
|
||
|
||
* c-lang.c (evaluate_subexp_c): Call check_typedef.
|
||
|
||
2009-03-20 Tom Tromey <tromey@redhat.com>
|
||
Julian Brown <julian@codesourcery.com>
|
||
|
||
PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103,
|
||
PR i18n/9401, PR exp/9613:
|
||
* NEWS: Update
|
||
* value.h (value_typed_string): Declare.
|
||
(val_print_string): Update.
|
||
* valprint.h (print_char_chars): Update.
|
||
* valprint.c (print_char_chars): Add type argument. Update.
|
||
(val_print_string): Likewise.
|
||
* valops.c (value_typed_string): New function.
|
||
* utils.c (host_char_to_target): New function.
|
||
(parse_escape): Use host_char_to_target, host_hex_value. Update.
|
||
Remove '^' case.
|
||
(no_control_char_error): Remove.
|
||
* typeprint.c (print_type_scalar): Update.
|
||
* scm-valprint.c (scm_scmval_print): Update.
|
||
* scm-lang.h (scm_printchar, scm_printstr): Update.
|
||
* scm-lang.c (scm_printchar): Add type argument.
|
||
(scm_printstr): Likewise.
|
||
* printcmd.c (print_formatted): Update.
|
||
(print_scalar_formatted): Update.
|
||
(printf_command) <wide_string_arg, wide_char_arg>: New constants.
|
||
Handle '%lc' and '%ls'.
|
||
* parser-defs.h (struct typed_stoken): New type.
|
||
(struct stoken_vector): Likewise.
|
||
(write_exp_string_vector): Declare.
|
||
* parse.c (write_exp_string_vector): New function.
|
||
* p-valprint.c (pascal_val_print): Update.
|
||
* p-lang.h (is_pascal_string_type, pascal_printchar,
|
||
pascal_printstr): Update.
|
||
* p-lang.c (is_pascal_string_type): Remove 'char_size' argument.
|
||
Add 'char_type' argument.
|
||
(pascal_emit_char): Add type argument.
|
||
(pascal_printchar): Likewise.
|
||
(pascal_printstr): Likewise.
|
||
* objc-lang.c (objc_emit_char): Add type argument.
|
||
(objc_printchar): Likewise.
|
||
(objc_printstr): Likewise.
|
||
* macroexp.c (get_character_constant): Handle unicode characters.
|
||
Use c_parse_escape.
|
||
(get_string_literal): Handle unicode strings. Use
|
||
c_parse_escape.
|
||
* m2-valprint.c (print_unpacked_pointer): Update.
|
||
(m2_print_array_contents): Update.
|
||
(m2_val_print): Update.
|
||
* m2-lang.c (m2_emit_char): Add type argument.
|
||
(m2_printchar): Likewise.
|
||
(m2_printstr): Likewise.
|
||
* language.h (struct language_defn) <la_printchar>: Add type
|
||
argument.
|
||
<la_printstr, la_emitchar>: Likewise.
|
||
(LA_PRINT_CHAR): Likewise.
|
||
(LA_PRINT_STRING): Likewise.
|
||
(LA_EMIT_CHAR): Likewise.
|
||
* language.c (unk_lang_emit_char): Add type argument.
|
||
(unk_lang_printchar): Likewise.
|
||
(unk_lang_printstr): Likewise.
|
||
* jv-valprint.c (java_val_print): Update.
|
||
* jv-lang.c (java_emit_char): Add type argument.
|
||
* f-valprint.c (f_val_print): Update.
|
||
* f-lang.c (f_emit_char): Add type argument.
|
||
(f_printchar): Likewise.
|
||
(f_printstr): Likewise.
|
||
* expprint.c (print_subexp_standard): Update.
|
||
* charset.h (target_wide_charset): Declare.
|
||
(c_target_char_has_backslash_escape, c_parse_backslash,
|
||
host_char_print_literally, host_char_to_target,
|
||
target_char_to_host, target_char_to_control_char): Remove.
|
||
(enum transliterations): New type.
|
||
(convert_between_encodings): Declare.
|
||
(HOST_ESCAPE_CHAR): New define.
|
||
(host_letter_to_control_character, host_hex_value): Declare.
|
||
(enum wchar_iterate_result): New enum.
|
||
(struct wchar_iterator): Declare.
|
||
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
|
||
wchar_push_back): Declare.
|
||
* charset-list.h: New file.
|
||
* c-valprint.c (textual_name): New function.
|
||
(textual_element_type): Handle wide character types.
|
||
(c_val_print): Pass original type to textual_element_type. Handle
|
||
wide character types.
|
||
(c_value_print): Use textual_element_type. Pass original type of
|
||
value to val_print.
|
||
* c-lang.h (enum c_string_type): New type.
|
||
(c_printchar, c_printstr): Update.
|
||
* c-lang.c (classify_type): New function.
|
||
(print_wchar): Likewise.
|
||
(c_emit_char): Add type argument. Handle wide characters.
|
||
(c_printchar): Likewise.
|
||
(c_printstr): Add type argument. Handle wide and multibyte
|
||
character sets.
|
||
(convert_ucn): New function.
|
||
(emit_numeric_character): Likewise.
|
||
(convert_octal): Likewise.
|
||
(convert_hex): Likewise.
|
||
(ADVANCE): New macro.
|
||
(convert_escape): New function.
|
||
(parse_one_string): Likewise.
|
||
(evaluate_subexp_c): Likewise.
|
||
(exp_descriptor_c): New global.
|
||
(c_language_defn): Use exp_descriptor_c.
|
||
(cplus_language_defn): Likewise.
|
||
(asm_language_defn): Likewise.
|
||
(minimal_language_defn): Likewise.
|
||
(charset_for_string_type): New function.
|
||
* c-exp.y (%union): Add 'svec' and 'tsval'.
|
||
(CHAR): New token.
|
||
(exp): Add CHAR production.
|
||
(string_exp): Rewrite.
|
||
(exp) <string_exp>: Rewrite.
|
||
(tempbuf): Now global.
|
||
(tempbuf_init): New global.
|
||
(parse_string_or_char): New function.
|
||
(yylex) <tempbuf>: Now global.
|
||
<tokptr, tempbufindex, tempbufsize, token_string, class_prefix>:
|
||
Remove.
|
||
Handle 'u', 'U', and 'L' prefixes. Call parse_string_or_char.
|
||
(c_parse_escape): New function.
|
||
* auxv.c (fprint_target_auxv): Update.
|
||
* ada-valprint.c (ada_emit_char): Add type argument.
|
||
(ada_printchar): Likewise.
|
||
(ada_print_scalar): Update.
|
||
(printstr): Add type argument. Update calls to ada_emit_char.
|
||
(ada_printstr): Add type argument.
|
||
(ada_val_print_array): Update.
|
||
(ada_val_print_1): Likewise.
|
||
* ada-lang.c (emit_char): Add type argument.
|
||
* ada-lang.h (ada_emit_char, ada_printchar, ada_printstr): Add
|
||
type arguments.
|
||
* gdb_locale.h: Include langinfo.h.
|
||
* charset.c (_initialize_charset): Set default host charset from
|
||
the locale. Don't register charsets. Add target-wide-charset
|
||
commands. Call find_charset_names.
|
||
(struct charset, struct translation): Remove.
|
||
(GDB_DEFAULT_HOST_CHARSET): Remove.
|
||
(GDB_DEFAULT_TARGET_WIDE_CHARSET): New define.
|
||
(target_wide_charset_name): New global.
|
||
(show_host_charset_name): Handle "auto".
|
||
(show_target_wide_charset_name): New function.
|
||
(host_charset_enum, target_charset_enum): Remove.
|
||
(charset_enum): New global.
|
||
(all_charsets, register_charset, lookup_charset, all_translations,
|
||
register_translation, lookup_translation): Remove.
|
||
(simple_charset, ascii_print_literally, ascii_to_control): Remove.
|
||
(iso_8859_print_literally, iso_8859_to_control,
|
||
iso_8859_family_charset): Remove.
|
||
(ebcdic_print_literally, ebcdic_to_control,
|
||
ebcdic_family_charset): Remove.
|
||
(struct cached_iconv, check_iconv_cache, cached_iconv_convert,
|
||
register_iconv_charsets): Remove.
|
||
(target_wide_charset_be_name, target_wide_charset_le_name): New
|
||
globals.
|
||
(identity_either_char_to_other): Remove.
|
||
(set_be_le_names, validate): New functions.
|
||
(backslashable, backslashed, represented): Remove.
|
||
(default_c_target_char_has_backslash_escape): Remove.
|
||
(default_c_parse_backslash, iconv_convert): Remove.
|
||
(ascii_to_iso_8859_1_table, ascii_to_ebcdic_us_table,
|
||
ascii_to_ibm1047_table, iso_8859_1_to_ascii_table,
|
||
iso_8859_1_to_ebcdic_us_table, iso_8859_1_to_ibm1047_table,
|
||
ebcdic_us_to_ascii_table, ebcdic_us_to_iso_8859_1_table,
|
||
ebcdic_us_to_ibm1047_table, ibm1047_to_ascii_table,
|
||
ibm1047_to_iso_8859_1_table, ibm1047_to_ebcdic_us_table): Remove.
|
||
(table_convert_char, table_translation, simple_table_translation):
|
||
Remove.
|
||
(current_host_charset, current_target_charset,
|
||
c_target_char_has_backslash_escape_func,
|
||
c_target_char_has_backslash_escape_baton): Remove.
|
||
(c_parse_backslash_func, c_parse_backslash_baton): Remove.
|
||
(host_char_to_target_func, host_char_to_target_baton): Remove.
|
||
(target_char_to_host_func, target_char_to_host_baton): Remove.
|
||
(cached_iconv_host_to_target, cached_iconv_target_to_host):
|
||
Remove.
|
||
(lookup_charset_or_error, check_valid_host_charset): Remove.
|
||
(set_host_and_target_charsets): Remove.
|
||
(set_host_charset, set_target_charset): Remove.
|
||
(set_host_charset_sfunc, set_target_charset_sfunc): Rewrite.
|
||
(set_target_wide_charset_sfunc): New function.
|
||
(show_charset): Print target wide character set.
|
||
(host_charset, target_charset): Rewrite.
|
||
(target_wide_charset): New function.
|
||
(c_target_char_has_backslash_escape): Remove.
|
||
(c_parse_backslash): Remove.
|
||
(host_letter_to_control_character): New function.
|
||
(host_char_print_literally): Remove.
|
||
(host_hex_value): New function.
|
||
(target_char_to_control_char): Remove.
|
||
(cleanup_iconv): New function.
|
||
(convert_between_encodings): New function.
|
||
(target_char_to_host): Remove.
|
||
(struct wchar_iterator): Define.
|
||
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
|
||
wchar_push_back): New functions.
|
||
(do_cleanup_iterator): New function.
|
||
(char_ptr): New typedef.
|
||
(charsets): New global.
|
||
(add_one, find_charset_names): New functions.
|
||
(default_charset_names): New global.
|
||
(auto_host_charset_name): Likewise.
|
||
* aclocal.m4, config.in, configure: Rebuild.
|
||
* configure.ac: Call AM_LANGINFO_CODESET.
|
||
(GDB_DEFAULT_HOST_CHARSET): Default to UTF-8.
|
||
(AM_ICONV): Invoke earlier.
|
||
* acinclude.m4: Include codeset.m4. Subst LIBICONV_INCLUDE and
|
||
LIBICONV_LIBDIR. Check for libiconv in build tree.
|
||
* Makefile.in (LIBICONV_LIBDIR, LIBICONV_INCLUDE): New macros.
|
||
(INTERNAL_CFLAGS_BASE): Add LIBICONV_INCLUDE.
|
||
(INTERNAL_LDFLAGS): Add LIBICONV_LIBDIR.
|
||
* gdb_obstack.h (obstack_grow_wstr): New define.
|
||
* gdb_wchar.h: New file.
|
||
* defs.h: Include it.
|
||
|
||
2009-03-20 Tom Tromey <tromey@redhat.com>
|
||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dwarf2read.c (process_die): Handle DW_TAG_typedef.
|
||
* eval.c (evaluate_subexp_standard) <OP_TYPE>: Strip a single
|
||
typedef.
|
||
* ada-lang.c (decode_packed_array_type): Call CHECK_TYPEDEF on the
|
||
SYMBOL_TYPE result.
|
||
* ada-typeprint.c (print_array_type): Do the NULL check
|
||
unconditionally.
|
||
|
||
2009-03-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
* utils.c (do_obstack_free): New function.
|
||
(make_cleanup_obstack_free): Likewise.
|
||
* defs.h (make_cleanup_obstack_free): Declare.
|
||
|
||
2009-03-18 Doug Evans <dje@google.com>
|
||
|
||
* linux-nat.c (linux_nat_find_memory_regions): Result of PIDGET is an
|
||
int, not a long long.
|
||
(linux_nat_info_proc_cmd): Store pid in long instead of long long.
|
||
|
||
* expprint.c (dump_raw_expression): Print note if non-NULL.
|
||
|
||
* printcmd.c (display_uses_solib_p): Redo loop, scan element list
|
||
backwards.
|
||
|
||
2009-03-18 Nathan Sidwell <nathan@codesourcery.com>
|
||
|
||
* Makefile.in: Update license to GPLv3.
|
||
* ada-exp.y: Update license to GPLv3.
|
||
* ada-lex.l: Update license to GPLv3.
|
||
* c-exp.y: Update license to GPLv3.
|
||
* cp-name-parser.y: Update license to GPLv3.
|
||
* darwin-nat-info.c: Update license to GPLv3.
|
||
* f-exp.y: Update license to GPLv3.
|
||
* gdb_thread_db.h: Update license to GPLv3.
|
||
* hppanbsd-nat.c: Update license to GPLv3.
|
||
* hppanbsd-tdep.c: Update license to GPLv3.
|
||
* hppaobsd-tdep.c: Update license to GPLv3.
|
||
* jv-exp.y: Update license to GPLv3.
|
||
* m2-exp.y: Update license to GPLv3.
|
||
* objc-exp.y: Update license to GPLv3.
|
||
* p-exp.y: Update license to GPLv3.
|
||
* reply_mig_hack.awk: Update license to GPLv3.
|
||
* reverse.c: Update license to GPLv3.
|
||
* xtensa-xtregs.c: Update license to GPLv3.
|
||
|
||
2009-03-18 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* remote.c (remote_close): Don't call generic_mourn_inferior.
|
||
(remote_mourn_1): Call generic_mourn_inferior after closing the
|
||
target.
|
||
|
||
2009-03-18 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* remote.c (remote_start_remote): Add missing call to
|
||
init_wait_for_inferior in non-stop mode.
|
||
|
||
2009-03-18 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* breakpoint.c (bpstat_should_step): Only consider software
|
||
watchpoints that have a location.
|
||
|
||
2009-03-17 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Add a target_ops parameter to the to_kill method in struct target_ops.
|
||
|
||
* target.h (struct target_ops): Add a "target_ops *" parameter to
|
||
method to_kill.
|
||
(target_kill): Remove macro. Add declaration.
|
||
* target.c (debug_to_kill): Delete, no longer necessary.
|
||
(target_kill): New function.
|
||
(update_current_target): Stop inheriting the to_kill method.
|
||
Do not de_fault it to no_process either.
|
||
(setup_target_debug): Do not set current_target.to_kill.
|
||
* gnu-nat.c, go32-nat.c, hpux-thread.c, inf-ptrace.c, inf-ttrace.c,
|
||
linux-nat.c, monitor.c, nto-procfs.c, procfs.c, remote-m32r-sdi.c,
|
||
remote-mips.c, remote-sim.c, remote.c, windows-nat.c: Update
|
||
accordingly.
|
||
|
||
2009-03-17 Doug Evans <dje@google.com>
|
||
|
||
* amd64-linux-nat.c (si_timerid,si_overrun): Provide definition for
|
||
glibc 2.3.2 and earlier.
|
||
|
||
2009-03-17 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* frame.c (get_prev_frame_1): Do not perform the inner_frame
|
||
sanity check if this_frame is not NORMAL.
|
||
(frame_id_inner): Update the description of this function.
|
||
|
||
2009-03-17 Hui Zhu <teawater@gmail.com>
|
||
|
||
* stack.c: Change the introduce of "disassemble-next-line".
|
||
|
||
2009-03-17 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* mi/mi-main.h (mi_print_timing_maybe): Add strict prototype,
|
||
declare as extern.
|
||
|
||
2009-03-17 Hui Zhu <teawater@gmail.com>
|
||
|
||
* stack.c: Include valprint.h.
|
||
(disassemble_next_line): New enum.
|
||
(show_disassemble_next_line): New function. Show the current
|
||
value of disassemble-next-line.
|
||
(gdb_disassembly_stub_args): New struct for argument passing
|
||
between function do_gdb_disassembly and function
|
||
gdb_disassembly_stub.
|
||
(gdb_disassembly_stub): New function. Helper for
|
||
gdb_disassembly.
|
||
(do_gdb_disassembly): New function. Use TRY_CATCH to catch
|
||
the exception from the gdb_disassembly because it will be
|
||
broken by filter sometime.
|
||
(print_frame_info): If disassemble-next-line is set to auto
|
||
or on and doesn't have the line debug messages for $pc,
|
||
output the next instruction.
|
||
If disassemble-next-line is set to on and there is line debug
|
||
messages, output assembly codes for next line.
|
||
(_initialize_stack): Make the "set disassemble-next-line"
|
||
command an auto-boolean command. Change its class to
|
||
class_stack. Place it in the top level set list. Extend help
|
||
to describe the auto mode.
|
||
|
||
2009-03-17 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* infrun.c (normal_stop): Don't overwrite old_chain.
|
||
|
||
2009-03-16 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* remote-mips.c (mips_load): Replace call to regcache_set_valid_p,
|
||
which is undefined, by call to regcache_invalidate, which should
|
||
do what the original author wanted to do.
|
||
|
||
2009-03-16 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* remote-mips.c (mips_mourn_inferior): Add missing ops parameter.
|
||
(mips_create_inferior): Likewise.
|
||
|
||
2009-03-16 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* go32-nat.c (go32_create_inferior): Add missing ops parameter.
|
||
|
||
2009-03-16 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* darwin-nat.c (darwin_resume): Fix a compiler warning when
|
||
building on x86_64-darwin.
|
||
|
||
2009-03-16 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* configure.tgt: Add handling for x86_64-darwin.
|
||
|
||
2009-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* auxv.c (fprint_target_auxv): New TAG for AT_RANDOM.
|
||
|
||
2009-03-15 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* aix-thread.c (aix_thread_thread_alive, aix_thread_pid_to_str):
|
||
Use the ops parameter to get to the target beneath, rather than
|
||
using the current_target global. Using the current_target global
|
||
was an unintended accident.
|
||
|
||
2009-03-15 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Fix an error happening while loading symbols from a core file
|
||
(on AIX).
|
||
|
||
* rs6000-nat.c (xcoff_relocate_symtab): Use target_has_execution
|
||
to detect whether we're debugging a core file or not.
|
||
|
||
2009-03-15 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Modernize the aix-thread later by getting rid of the base_target
|
||
global. This brings back to life the AIX port which was otherwise
|
||
crashing all the time.
|
||
|
||
* aix-thread.c (base_target): Delete.
|
||
(pd_enable): Do not set base_target.
|
||
(aix_thread_attach): Use find_target_beneath instead of base_target.
|
||
(aix_thread_detach, aix_thread_resume, aix_thread_wait)
|
||
(aix_thread_fetch_registers, aix_thread_store_registers),
|
||
(aix_thread_xfer_partial, aix_thread_mourn_inferior)
|
||
(aix_thread_thread_alive, aix_thread_pid_to_str): Likewise.
|
||
(aix_thread_kill): Delete. Does not seem necessary.
|
||
(init_aix_thread_ops): Do not set aix_thread_ops.to_kill.
|
||
|
||
2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* stack.c (return_command <retval_exp>): New variables retval_expr
|
||
and old_chain. Inline parse_and_eval to initialize retval_expr. Check
|
||
RETVAL_EXPR for UNOP_CAST and set RETURN_TYPE to the RETURN_VALUE type
|
||
if RETURN_TYPE is NULL.
|
||
|
||
>>>>>>> 1.10280
|
||
2009-03-14 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* remote.c (PACKET_qAttached): New.
|
||
(remote_query_attached): New.
|
||
(remote_add_inferior): Add new `attached' argument. Handle it.
|
||
(remote_notice_new_inferior, remote_start_remote): Adjust to pass
|
||
-1 to remote_add_inferior in new parameter.
|
||
(extended_remote_attach_1): Adjust to pass 1 to
|
||
remote_add_inferior in the new parameter.
|
||
(extended_remote_create_inferior_1): Adjust to pass 0 to
|
||
remote_add_inferior in the new parameter.
|
||
(_initialize_remote): Add "set/show remote query-attached-packet"
|
||
commands.
|
||
|
||
2009-03-13 Tom Tromey <tromey@redhat.com>
|
||
|
||
* symtab.c (lookup_symbol_in_language): Use a cleanup.
|
||
|
||
2009-03-13 Doug Evans <dje@google.com>
|
||
|
||
* exceptions.h: Clean up some comments on catch_exceptions usage.
|
||
* exceptions.c: Ditto. Plus mark catch_errors as superseded by
|
||
catch_exceptions.
|
||
|
||
2009-02-17 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
The following patch helps getting rid of a warning inside solib-som.c.
|
||
|
||
* source.c (source_full_path_of): Constify parameter filename.
|
||
* defs.h (source_full_path_of): Update declaration accordingly.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp): Merge case BINOP_REM and
|
||
BINOP_MOD cases with the handling of case BINOP_DIV and BINOP_MUL.
|
||
Remove useless op value checks when EVAL_AVOID_SIDE_EFFECTS.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) <BINOP_DIV>: make sure to
|
||
promote the operands when noside is EVAL_AVOID_SIDE_EFFECTS.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-tasks.c (ada_task_is_alive): Move up and make static.
|
||
* ada-lang.h (ada_task_is_alive): Remove declaration.
|
||
|
||
2009-03-12 Jerome Guitton <guitton@adacore.com>
|
||
|
||
* ada-lang.c (ada_delta): Change the type of numerators and
|
||
denominators to DOUBLEST, as they may not fit into a long.
|
||
(scaling_factor): Ditto.
|
||
|
||
2009-03-12 Jerome Guitton <guitton@adacore.com>
|
||
|
||
* language.c (lang_bool_type): Set lai->bool_type_symbol to NULL.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: For tagged
|
||
types, if we are unable to determine the actual symbol type
|
||
from its tag, then use the static approximation instead.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Fix crash printing packed record with packed array.
|
||
|
||
* ada-lang.c (ada_modulus_from_name): New function.
|
||
(ada_modulus): In the case where the type length is bigger than
|
||
the size of the type used to hold the bounds, try determining
|
||
the modulus from the type name.
|
||
(ada_value_primitive_packed_val): Fix bug in the computation of
|
||
ntarg causing an out-of-buffer invalid access.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Fix segfault when printing short_integer'last.
|
||
|
||
* ada-lang.c (ada_find_any_type): Search in the primitive types
|
||
if a symbol could not be found.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-tasks.c (task_states,long_task_states): Add new states
|
||
Activating and Acceptor_Delay_Sleep. Update the description
|
||
of state Acceptor_Sleep.
|
||
|
||
2009-03-12 Jonas Maebe <jonas.maebe@elis.ugent.be> (obvious change)
|
||
|
||
Fix a build failure on Darwin following some changes in
|
||
the profile of some target_ops methods.
|
||
|
||
* darwin-nat.c (darwin_kill_inferior): Add target_ops parameter
|
||
where missing.
|
||
(darwin_stop_inferior, darwin_detach): Likewise.
|
||
|
||
2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
Include token in ^running notification for CLI commands.
|
||
|
||
* mi/mi-main.c (mi_execute_command): Set current_token here.
|
||
(mi_cmd_execute): Do not set current_token here.
|
||
|
||
2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
Fix MI timings.
|
||
|
||
* mi/mi-main.c (mi_print_timing_maybe): New.
|
||
(captured_mi_execute_command): Simplify. Output timings to
|
||
CLI commands, too.
|
||
(mi_execute_async_cli_command): Do not print timings.
|
||
* mi/mi-main.h (mi_print_timing_maybe): Declare.
|
||
* mi/mi-interp.c (mi_on_normal_stop): Call mi_print_timing_maybe.
|
||
|
||
2009-03-12 Jerome Guitton <guitton@adacore.com>
|
||
|
||
* xcoffread.c (process_linenos): Check if the line in the
|
||
include table refers to the main source file and, if so,
|
||
add them to the main subfile.
|
||
|
||
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Fix a build failure on AIX introduced after a change in the profile
|
||
of some of the "methods" in the target_ops structure.
|
||
* aix-thread.c: Add missing target_ops parameter throughout.
|
||
|
||
Implement Ada task switching on AIX.
|
||
* aix-thread.c (aix_thread_get_ada_task_ptid): New function.
|
||
(init_aix_thread_ops): Set aix_thread_ops.to_get_ada_task_ptid.
|
||
|
||
2009-03-11 Daniel Jacobowitz <dan@codesourcery.com>
|
||
|
||
* breakpoint.c (bpstat_check_breakpoint_conditions): Use
|
||
value_mark and value_free_to_mark.
|
||
* objfiles.c (free_objfile): Call objfile_free_data before
|
||
freeing the BFD.
|
||
|
||
2009-03-10 Hui Zhu <teawater@gmail.com>
|
||
|
||
* disasm.c (gdb_disassembly): Remove unused argument
|
||
"line_num".
|
||
* disasm.h (gdb_disassembly): Ditto.
|
||
* cli/cli-cmds.c (print_disassembly): Ditto.
|
||
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
|
||
|
||
2009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||
|
||
* solib.c (solib_contains_address_p): New function.
|
||
(solib_name_from_address): Use it.
|
||
* printcmd.c (display_uses_solib_p): Use it.
|
||
* solib.h (solib_contains_address_p): Declare it.
|
||
|
||
2009-03-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* varobj.c (free_variable): Call value_free.
|
||
|
||
2009-03-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR gdb/9873:
|
||
* dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'.
|
||
Move the variable `macinfo_type' out of the loop. Create a new
|
||
processing pass before the current one to pre-create `current_file'.
|
||
New complaint on misplaced zero/non-zero definitions/includes.
|
||
Skip first DW_MACINFO_start_file with `at_commandline' set.
|
||
|
||
2008-03-09 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
* solib.c (reload_shared_libraries): Give
|
||
inferior a chance to reset solib breakpoint.
|
||
Reinit frame cache.
|
||
|
||
2009-03-08 Christopher Faylor <me+cygwin@cgf.cx>
|
||
|
||
* windows-nat.c (dr): Redefine to use largest possible integer which
|
||
holds a pointer.
|
||
(cygwin_set_dr): Avoid coercion.
|
||
|
||
2009-03-08 Oswald Buddenhagen <oswald.buddenhagen@trolltech.de>
|
||
|
||
* windows-nat.c (windows_create_inferior): Implement --tty handling on
|
||
non-cygwin.
|
||
|
||
2009-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||
|
||
Rename solib_address to solib_name_from_address.
|
||
* breakpoint.c (insert_bp_location, disable_breakpoints_in_shlibs)
|
||
(disable_breakpoints_in_unloaded_shlib): Update.
|
||
* printcmd.c (display_uses_solib_p): Likewise.
|
||
* stack.c (print_frame): Likewise.
|
||
* solib.c: Rename.
|
||
* solib.h: Rename.
|
||
|
||
2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||
|
||
* printcmd.c (do_one_display): Reparse exp_string.
|
||
(display_uses_solib_p): New function.
|
||
(clear_dangling_display_expressions): New function.
|
||
(_initialize_printcmd): Add observer.
|
||
* solib.c (no_shared_libraries): Swap order of calls to
|
||
clear_solib and objfile_purge_solibs.
|
||
|
||
2009-03-05 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Implement the target-specific part of Ada tasking support
|
||
on Tru64.
|
||
|
||
* dec-thread.c (dec_thread_get_ada_task_ptid): New function.
|
||
(init_dec_thread_ops): Set the to_get_ada_task_ptid method.
|
||
|
||
2009-03-05 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Get rid of the global "base_target" and use "find_target_beneath"
|
||
to find the underlying target.
|
||
* dec-thread.c (base_target): Delete.
|
||
(enable_dec_thread): Remove assignement to base_target.
|
||
(dec_thread_detach, dec_thread_wait, dec_thread_wait)
|
||
(dec_thread_fetch_registers, dec_thread_store_registers)
|
||
(dec_thread_mourn_inferior, dec_thread_pid_to_str):
|
||
Update the function profile if necessary.
|
||
Use find_target_beneath to call the same method but from
|
||
the underlying target, removing the need for "base_target".
|
||
|
||
* dec-thread.c (dec_thread_get_regsets, dec_thread_set_regsets):
|
||
Fix a copy/paste error in a few debug traces...
|
||
|
||
* solib-osf.c (init_so): Use a simpler method for computing
|
||
the size of lm_info structure. This also gets rid of warning
|
||
emitted by the compiler.
|
||
|
||
2009-03-05 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* breakpoint.c (check_duplicates_for): Skip permanent breakpoints
|
||
duplicates of permanent breakpoints.
|
||
|
||
2009-03-04 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* inferior.h (notice_new_inferior): Declare.
|
||
* infcmd.c (notice_new_inferior): New.
|
||
* remote.c (remote_add_inferior, remote_add_thread): New.
|
||
(notice_new_inferiors): Rename to...
|
||
(remote_notice_new_inferior): ... this. Add RUNNING argument.
|
||
Use remote_add_thread instead of add_thread, passing it the
|
||
RUNNING argument. Add an inferior with remote_add_inferior. If
|
||
we just learned about an inferior, call notice_new_inferior.
|
||
(record_currthread): Adjust.
|
||
(remote_threads_info): Adjust to use remote_notice_new_inferior.
|
||
(remote_start_remote, extended_remote_attach_1): Use
|
||
remote_add_inferior.
|
||
(process_stop_reply): Adjust. Call remote_notice_new_inferior
|
||
after handling expedited registers and watchpoint state.
|
||
(extended_remote_create_inferior_1): Use remote_add_inferior.
|
||
|
||
2009-03-04 Aleksandar Ristovski <aristovski@qnx.com>
|
||
|
||
* infcmd.c (registers_info): Remove register number case.
|
||
|
||
2009-03-03 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* top.c (quit_target): Check for target_has_execution before
|
||
killing or detaching from inferiors.
|
||
|
||
2009-03-02 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Remove some unused routines.
|
||
|
||
* ada-lang.c (is_suppressed_name, ada_suppress_symbol_printing):
|
||
Delete.
|
||
* ada-lang.c (ada_task_list_iterator_ftype)
|
||
(iterate_over_live_ada_tasks): Delete.
|
||
* ada-tasks.c (ada_get_environment_task, iterate_over_live_ada_tasks):
|
||
Delete.
|
||
|
||
2009-03-01 Doug Evans <dje@google.com>
|
||
|
||
* symtab.c: Remove trailing whitespace throughout the file.
|
||
(expand_line_sal): Fix some typos and whitespace.
|
||
|
||
* Makefile.in (clean): rm -f $(DEPDIR)/*.
|
||
|
||
* Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.
|
||
(init.c): signals/ -> common/.
|
||
(signals.o): Update.
|
||
* target.h (target_signal_to_string,target_signal_to_string)
|
||
(target_signal_from_name,target_signal_to_host_p)
|
||
(target_signal_from_host,target_signal_to_host): Move to ...
|
||
* common/gdb_signals.h: ... here. New file.
|
||
* common/signals.c: Moved here from signals/signals.c.
|
||
#include gdb_signals.h, remove #include of target.h in gdb case.
|
||
(target_signal_from_command,default_target_signal_to_host)
|
||
(default_target_signal_from_host): Move inside #ifndef GDBSERVER.
|
||
|
||
Include thread ID in target_wait debugging output.
|
||
* infrun.c (print_target_wait_results): New function.
|
||
(wait_for_inferior,fetch_inferior_event): Call it.
|
||
|
||
2009-02-27 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* gdb_proc_service.h (struct ps_prochandle): Replace pid_t field
|
||
with a ptid_t field.
|
||
* linux-thread-db.c (thread_get_info_callback): Build the ptid
|
||
using the pid stored in proc_handle.ptid.
|
||
(thread_from_lwp, thread_db_attach_lwp, enable_thread_event)
|
||
(check_for_thread_db, thread_db_detach, check_event)
|
||
(thread_db_mourn_inferior, find_new_threads_callback)
|
||
(thread_db_find_new_threads_1): Adjust.
|
||
* proc-service.c (ps_xfer_memory, ps_lgetregs, ps_lsetregs)
|
||
(ps_lgetfpregs, ps_lsetfpregs, ps_getpid): Adjust.
|
||
|
||
2009-02-27 Phil Muldoon <pmuldoon@redhat.com>
|
||
|
||
* valprint.c (read_string): Rework clean-up logic. Use
|
||
free_current_contents to clean-up buffer.
|
||
|
||
2009-02-27 Andreas Schwab <schwab@linux-m68k.org>
|
||
|
||
* MAINTAINERS: Update e-mail address.
|
||
|
||
2009-02-26 Phil Muldoon <pmuldoon@redhat.com>
|
||
|
||
* python/python-utils.c (python_string_to_unicode): Always return
|
||
a new reference.
|
||
(python_string_to_target_string): Decrement transient python
|
||
instance.
|
||
(python_string_to_host_string): Likewise.
|
||
|
||
2007-02-26 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to
|
||
call to super_fetch_registers.
|
||
(mips64_linux_store_registers): Pass `ops' to call to
|
||
super_store_registers.
|
||
|
||
2009-02-25 Doug Evans <dje@google.com>
|
||
|
||
* breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
|
||
error message.
|
||
|
||
* breakpoint.c (disable_breakpoints_in_shlibs): Delete local
|
||
disabled_shlib_breaks, unused.
|
||
|
||
* printcmd.c (build_address_symbolic): Fix comment.
|
||
|
||
2009-02-25 Hui Zhu <teawater@gmail.com>
|
||
|
||
* cli/cli-script.c (define_command): Add _() to query.
|
||
* gnu-nat.c (inf_validate_task_sc): Ditto.
|
||
* infcmd.c (kill_if_already_running): Ditto.
|
||
(jump_command): Ditto.
|
||
(attach_command): Ditto.
|
||
* inflow.c (kill_command): Ditto.
|
||
* infrun.c (handle_command): Ditto.
|
||
* maint.c (maintenance_dump_me): Ditto.
|
||
* memattr.c (mem_delete_command): Ditto.
|
||
* monitor.c (monitor_interrupt_query): Ditto.
|
||
* nto-procfs.c (interrupt_query): Ditto.
|
||
* printcmd.c (undisplay_command): Ditto.
|
||
* remote-mips.c (mips_kill): Ditto.
|
||
* remote.c (interrupt_query): Ditto.
|
||
* solib-irix.c (irix_open_symbol_file_object): Ditto.
|
||
* solib-osf.c (osf_open_symbol_file_object): Ditto.
|
||
* solib-pa64.c (pa64_open_symbol_file_object): Ditto.
|
||
* solib-som.c (som_open_symbol_file_object): Ditto.
|
||
* solib-svr4.c (open_symbol_file_object): Ditto.
|
||
* symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto.
|
||
* target.c (kill_or_be_killed): Ditto.
|
||
* tracepoint.c (delete_trace_command): Ditto.
|
||
* top.c (quit_confirm): Add _() to s that will be used
|
||
in query.
|
||
|
||
2009-02-24 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
Fix windows-nat.c compilation failure.
|
||
|
||
* windows-nat.c (windows_thread_alive): Fix forward declaration.
|
||
(get_windows_debug_event): Add ops parameter to call to windows_resume.
|
||
|
||
2009-02-23 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* remote-sim.c (gdbsim_resume): Add target_ops* argument.
|
||
|
||
2009-02-23 Jay Krell <jay.krell@cornell.edu> (tiny change)
|
||
|
||
* symtab.c (find_line_symtab): Initialize exact to avoid
|
||
a compiler warning.
|
||
|
||
2009-02-23 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass
|
||
`ops' to recursive call.
|
||
|
||
2009-02-23 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* corelow.c (get_core_registers): Adjust.
|
||
(core_file_thread_alive): Rename to...
|
||
(core_thread_alive): ... this.
|
||
(core_pid_to_str): Try gdbarch_core_pid_to_str first.
|
||
(init_core_ops): Adjust.
|
||
(coreops_suppress_target): Delete.
|
||
(_initialize_corelow): Unconditionally add core_ops.
|
||
* procfs.c: Include "inf-child.h".
|
||
(procfs_ops): Delete.
|
||
(init_procfs_ops): Delete. Reimplement as...
|
||
(procfs_target): ... this, inheriting from inf-child.
|
||
(procfs_attach, procfs_detach, procfs_fetch_registers): Adjust.
|
||
(procfs_prepare_to_store): Delete.
|
||
(procfs_store_registers, procfs_resume): Adjust.
|
||
(procfs_open): Delete.
|
||
(procfs_suppress_run): Delete.
|
||
(procfs_can_run): Delete.
|
||
(procfs_mourn_inferior): Adjust.
|
||
(procfs_init_inferior): Add target_ops parameter. Adjust.
|
||
(procfs_create_inferior): Don't pass procfs_init_inferior to
|
||
fork_inferior. Instead call it after fork_inferior returns.
|
||
(procfs_find_new_threads): Adjust.
|
||
(_initialize_procfs): Adjust to use procfs_target instead of
|
||
init_procfs_ops.
|
||
* sol-thread.c (orig_core_ops, sol_core_ops): Delete.
|
||
(lwp_to_thread): Use target_thread_alive.
|
||
(sol_thread_open): Delete.
|
||
(sol_thread_attach): Delete.
|
||
(sol_thread_detach, sol_thread_resume, sol_thread_wait)
|
||
(sol_thread_fetch_registers, sol_thread_store_registers): Adjust
|
||
to use find_target_beneath.
|
||
(sol_thread_prepare_to_store, sol_thread_xfer_memory): Delete.
|
||
(sol_thread_xfer_partial): Adjust to use find_target_beneath.
|
||
(sol_thread_files_info, sol_thread_kill_inferior): Delete.
|
||
(check_for_thread_db): New.
|
||
(sol_thread_notice_signals, sol_thread_create_inferior): Delete.
|
||
(sol_thread_new_objfile): Call check_for_thread_db.
|
||
(sol_thread_mourn_inferior): Adjust to use find_target_beneath.
|
||
(sol_thread_can_run): Delete.
|
||
(sol_thread_alive): Adjust to use find_target_beneath.
|
||
(sol_thread_stop): Delete.
|
||
(rw_common): Use target_write_memory or target_read_memory.
|
||
(ps_lgetregs, ps_lgetfpregs): Use target_fetch_registers.
|
||
(ps_lsetregs, ps_lsetfpregs): Use target_store_registers.
|
||
(solaris_pid_to_str): Remove check for libthread_db initialization
|
||
failing.
|
||
(sol_find_new_threads): Remove check for libthread_db
|
||
initialization failing, or for an invalid inferior_ptid. Adjust
|
||
to use find_target_beneath.
|
||
(sol_core_open, sol_core_close, sol_core_detach,
|
||
sol_core_files_info, sol_find_memory_regions,
|
||
sol_make_note_section, ignore): Delete.
|
||
(init_sol_thread_ops): Make it a thread_stratum target. Remove
|
||
unneeded callback settings.
|
||
(init_sol_core_ops): Delete.
|
||
(_initialize_sol_thread): No longer call init_sol_core_ops, set
|
||
procfs_suppress_run, or hack with core_ops.
|
||
|
||
* target.h (struct target_ops): Add a target_ops * parameter to
|
||
to_resume, to_fetch_registers, to_store_registers, to_thread_alive
|
||
and to_find_new_threads.
|
||
(target_fetch_registers, target_store_registers)
|
||
(target_thread_alive, target_find_new_threads): Redeclare as
|
||
function.
|
||
|
||
* target.c (update_current_target): Do not inherit or de_fault
|
||
to_resume, to_fetch_registers, to_store_registers,
|
||
to_thread_alive, to_find_new_threads.
|
||
(target_resume): Adjust.
|
||
(target_thread_alive, target_find_new_threads): New.
|
||
(debug_to_resume, debug_to_fetch_registers): Delete.
|
||
(target_fetch_registers): New.
|
||
(debug_to_store_registers): Delete.
|
||
(target_store_registers): New.
|
||
(debug_to_thread_alive, debug_to_find_new_threads): Delete.
|
||
(setup_target_debug): Adjust.
|
||
|
||
* gdbcore.h (core_ops): Delete declaration.
|
||
|
||
* inf-ptrace.c, linux-nat.c, remote.c, amd64-linux-nat.c,
|
||
inf-child.c, linux-thread-db.c, bsd-uthread.c, inf-ttrace.c,
|
||
i386-sol2-tdep.c, darwin-nat.c, gnu-nat.c, go32-nat.c,
|
||
hpux-thread.c, i386-linux-nat.c, i386fbsd-nat.c, monitor.c,
|
||
nto-procfs.c, remote-m32r-sdi.c, remote-mips.c, windows-nat.c,
|
||
alphabsd-nat.c, amd64bsd-nat.c, arm-linux-nat.c, armnbsd-nat.c,
|
||
bsd-kvm.c, hppa-hpux-nat.c, hppa-linux-nat.c, hppabsd-nat.c,
|
||
hppanbsd-nat.c, i386-darwin-nat.c, i386bsd-nat.c,
|
||
ia64-linux-nat.c, m32r-linux-nat.c, m68kbsd-nat.c,
|
||
m68klinux-nat.c, m88kbsd-nat.c, mips-linux-nat.c,
|
||
mips64obsd-nat.c, mipsnbsd-nat.c, ppc-linux-nat.c, ppcnbsd-nat.c,
|
||
ppcobsd-nat.c, remote-sim.c, rs6000-nat.c, s390-nat.c,
|
||
shnbsd-nat.c, sparc-nat.c, sparc-nat.h, spu-linux-nat.c,
|
||
vaxbsd-nat.c, xtensa-linux-nat.c: Adjust to target_ops changes.
|
||
|
||
* gdbarch.sh (core_pid_to_str): New gdbarch callback.
|
||
* gdbarch.h, gdbarch.c: Regenerate.
|
||
|
||
* sol2-tdep.c: Include "inferior.h".
|
||
(sol2_core_pid_to_str): New.
|
||
* sol2-tdep.h (sol2_core_pid_to_str): Declare.
|
||
|
||
* amd64-sol2-tdep.c (amd64_sol2_init_abi): Set it.
|
||
* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Set it.
|
||
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Set it.
|
||
* i386-sol2-tdep.c (i386_sol2_init_abi): Set it.
|
||
|
||
2009-02-22 Doug Evans <dje@google.com>
|
||
|
||
* exec.c (exec_file_attach): Fix comment.
|
||
|
||
2009-02-22 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
Silence a few -Wmissing-prototypes warnings.
|
||
|
||
PR build/9877:
|
||
* alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Make
|
||
it static.
|
||
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Declare.
|
||
* amd64fbsd-tdep.c (amd64fbsd_init_abi): Make it static.
|
||
* amd64nbsd-tdep.c (_initialize_amd64nbsd_ndep): Rename to ...
|
||
(_initialize_amd64nbsd_tdep): ... this.
|
||
* arm-linux-tdep.c (arm_linux_software_single_step): Make it static.
|
||
(_initialize_arm_linux_tdep): Declare.
|
||
* armbsd-tdep.c (armbsd_fpreg_offset): Make it static.
|
||
* armnbsd-tdep.c (_initialize_arm_netbsd_tdep): Declare.
|
||
* armobsd-tdep.c (_initialize_armobsd_tdep): Declare.
|
||
* avr-tdep.c (avr_return_value): Make it static.
|
||
(avr_frame_unwind_cache): Ditto.
|
||
* bsd-uthread.c (bsd_uthread_inferior_created): Ditto.
|
||
(bsd_uthread_solib_loaded): Ditto.
|
||
(bsd_uthread_solib_unloaded): Ditto.
|
||
(bsd_uthread_target): Ditto.
|
||
(_initialize_bsd_uthread): Declare.
|
||
* cris-tdep.c (crisv32_single_step_through_delay): Make it static.
|
||
(cris_frame_unwind_cache): Ditto.
|
||
* frv-tdep.c (frv_return_value): Ditto.
|
||
* h8300-tdep.c (h8300_use_struct_convention): Ditto.
|
||
(h8300h_use_struct_convention): Ditto.
|
||
* hppa-tdep.c (hppa_sign_extend, hppa_low_hppa_sign_extend):
|
||
Ditto.
|
||
* hppa-tdep.h (hppa_low_sign_extend, hppa_sign_extend): Delete
|
||
declarations.
|
||
* hppabsd-tdep.c: Include hppabsd-tdep.h.
|
||
(hppabsd_find_global_pointer): Make it static.
|
||
* hppabsd-tdep.h: New.
|
||
* hppanbsd-tdep.c: Include hppabsd-tdep.h.
|
||
(hppabsd_init_abi): Remove declaration.
|
||
(_initialize_hppabsd_tdep): Remove declaration.
|
||
(_initialize_hppanbsd_tdep): Declare.
|
||
* hppaobsd-tdep.c: Include hppabsd-tdep.h.
|
||
(hppabsd_init_abi): Delete declaration.
|
||
(hppaobsd_init_abi): Make it static.
|
||
* i386-nto-tdep.c (_initialize_i386nto_tdep): Declare.
|
||
* i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Declare.
|
||
* ia64-linux-tdep.c (_initialize_ia64_linux_tdep): Declare.
|
||
* ia64-tdep.c (ia64_register_reggroup_p): Make it static.
|
||
* iq2000-tdep.c (_initialize_iq2000_tdep): Declare.
|
||
* m32c-tdep.c (m32c_register_reggroup_p): Make it static.
|
||
(m32c_analyze_prologue, m32c_virtual_frame_pointer): Ditto.
|
||
(_initialize_m32c_tdep): Declare.
|
||
* m32r-rom.c (_initialize_m32r_rom): Declare.
|
||
* m32r-tdep.c (m32r_skip_prologue): Make it static.
|
||
(m32r_return_value): Ditto.
|
||
* m68hc11-tdep.c (m68hc11_frame_unwind_cache): Make it static.
|
||
(m68hc11_return_value): Ditto.
|
||
* m68klinux-tdep.c (_initialize_m68k_linux_tdep): Declare.
|
||
* m88k-tdep.c (m88k_frame_cache): Make it static.
|
||
* mep-tdep.c (mep_gdb_print_insn): Ditto.
|
||
(mep_return_value): Ditto.
|
||
(_initialize_mep_tdep): Declare.
|
||
* mips-irix-tdep.c (_initialize_mips_irix_tdep): Declare.
|
||
* mips-linux-tdep.c (supply_64bit_reg): Make it static.
|
||
(mips_linux_syscall_next_pc): Ditto.
|
||
(_initialize_mips_linux_tdep): Declare.
|
||
* mips-tdep.c (mips_single_step_through_delay): Make it static.
|
||
* mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Declare.
|
||
* mn10300-linux-tdep.c (_initialize_mn10300_linux_tdep): Declare.
|
||
* mn10300-tdep.c (_initialize_mn10300_tdep): Declare.
|
||
* mt-tdep.c (_initialize_mt_tdep): Declare.
|
||
* nbsd-tdep.c: Include nbsd-tdep.h.
|
||
* nto-tdep.c (find_load_phdr): Make it static.
|
||
(_initialize_nto_tdep): Declare.
|
||
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Make it
|
||
static.
|
||
(_initialize_ppc_linux_tdep): Declare.
|
||
* remote-m32r-sdi.c (m32r_can_use_hw_watchpoint)
|
||
(m32r_insert_watchpoint, m32r_remove_watchpoint)
|
||
(m32r_stopped_data_address, m32r_stopped_by_watchpoint): Make
|
||
static.
|
||
* rs6000-aix-tdep.c (_initialize_rs6000_aix_tdep): Declare.
|
||
* rs6000-nat.c: Include xcoffread.h.
|
||
(find_toc_address): Don't extern declare get_toc_offset. Adjust
|
||
to call xcoff_get_to_offset.
|
||
* rs6000-tdep.c (ppc_vsx_support_p, ppc_displaced_step_fixup)
|
||
(rs6000_skip_main_prologue, rs6000_in_solib_return_trampoline)
|
||
(rs6000_skip_trampoline_code): Make static.
|
||
* s390-tdep.c (s390_regset_from_core_section): Ditto.
|
||
* sh-tdep.c (sh_register_reggroup_p): Ditto.
|
||
* shnbsd-tdep.c (shnbsd_regset_from_core_section): Ditto.
|
||
(_initialize_shnbsd_tdep): Declare.
|
||
* solib-frv.c (displacement_from_map): Make static.
|
||
(_initialize_frv_solib): Declare.
|
||
* solib-irix.c (fetch_lm_info): Make static.
|
||
(_initialize_irix_solib): Declare.
|
||
* solib-som.c: Include solib-som.h.
|
||
(som_solib_select): Line break.
|
||
* sparc-tdep.c (sparc_regset_from_core_section): Make static.
|
||
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Rename to ...
|
||
(_initialize_sparcnbsd_tdep): ... this.
|
||
* spu-tdep.c (spu_software_single_step): Make it static.
|
||
(_initialize_spu_tdep): Declare.
|
||
* vax-tdep.c (vax_frame_cache): Make it static.
|
||
* xcoffread.c: Include xcoffread.h.
|
||
(get_toc_offset): Rename to ...
|
||
(xcoff_get_toc_offset): ... this.
|
||
(_initialize_xcoffread): Declare.
|
||
* xcoffread.h: New.
|
||
* xtensa-linux-tdep.c (_initialize_xtensa_linux_tdep): Declare.
|
||
* xtensa-tdep.c (xtensa_skip_prologue, xtensa_derive_tdep): Make
|
||
static.
|
||
(_initialize_xtensa_tdep): Declare.
|
||
|
||
2008-02-21 Pedro Alves <pedro@codesorcery.com>
|
||
|
||
Silence a few -Wmissing-prototypes warnings.
|
||
|
||
PR build/9877:
|
||
* amd64-nat.c: Include "amd64-nat.h".
|
||
* fork-child.c (_initialize_fork_child): Ditto.
|
||
* gcore.c (_initialize_gcore): Ditto.
|
||
* inf-ptrace.c: Include "inf-ptrace.h".
|
||
(inf_ptrace_store_registers): Make it static.
|
||
* linux-nat.c (linux_nat_terminal_ours): Make it static.
|
||
(_initialize_linux_nat): Declare before definition.
|
||
* linux-tdep.c: Include "linux-tdep.h".
|
||
* linux-thread-db.c (_initialize_thread_db): Declare before
|
||
definition.
|
||
* proc-service.c (_initialize_proc_service): Ditto.
|
||
* remote.c (remote_send_printf): Make it static.
|
||
* solib.c: Include "solib.h".
|
||
* symfile-mem.c (_initialize_symfile_mem): Declare before
|
||
definition.
|
||
* ada-lang.c (ada_la_decode, ada_match_name)
|
||
(ada_suppress_symbol_printing, ada_is_array_type)
|
||
(ada_value_ptr_subscript, ada_array_length)
|
||
(ada_to_static_fixed_value): Make them static.
|
||
(_initialize_ada_language): Declare before definition.
|
||
* ada-tasks.c (ada_get_task_number, ada_get_environment_task)
|
||
(ada_task_list_changed, ada_new_objfile_observer): Make them
|
||
static.
|
||
(_initialize_tasks): Declare before definition.
|
||
* addrmap.c (_initialize_addrmap): Declare before definition.
|
||
* auxv.c (default_auxv_parse): Make it static.
|
||
* bfd-target.c (target_bfd_xfer_partial, target_bfd_xclose): Make
|
||
them static.
|
||
* breakpoint.c (remove_sal): Add line break.
|
||
(expand_line_sal_maybe): Make it static.
|
||
* cp-name-parser.y: Include "cp-support.h".
|
||
* cp-valprint.c (cp_find_class_member): Make it static.
|
||
* eval.c (value_f90_subarray): Ditto.
|
||
* exceptions.c (print_any_exception): Ditto.
|
||
* findcmd.c (_initialize_mem_search): Declare before definition.
|
||
* frame.c (frame_observer_target_changed): Make it static.
|
||
* gnu-v3-abi.c (gnuv3_find_method_in): Make it static.
|
||
* inf-child.c: Include "inf-child.h".
|
||
* inferior.h (valid_inferior_id): Rename to ...
|
||
(valid_gdb_inferior_id): ... this.
|
||
* infrun.c (infrun_thread_stop_requested, siginfo_make_value):
|
||
Make them static.
|
||
* jv-lang.c (java_language_arch_info): Make it static.
|
||
* m2-typeprint.c (m2_get_discrete_bounds): Ditto.
|
||
* osdata.c (info_osdata_command): Make it static.
|
||
* regcache.c (regcache_observer_target_changed): Make it static.
|
||
* reverse.c (_initialize_reverse): Declare before definition.
|
||
* stabsread.c (cleanup_undefined_types_noname)
|
||
(cleanup_undefined_types_1): Make them static.
|
||
* symfile.c (place_section): Make it static.
|
||
* symtab.c (find_pc_sect_psymtab_closer): Make it static.
|
||
* target-descriptions.c (_initialize_target_descriptions): Declare
|
||
before definition.
|
||
* target.c (default_get_ada_task_ptid, find_default_can_async_p)
|
||
(find_default_is_async_p, find_default_supports_non_stop): Make
|
||
them static.
|
||
(target_supports_non_stop): Add prototype.
|
||
(dummy_pid_to_str): Make it static.
|
||
* utils.c (_initialize_utils): Declare before definition.
|
||
* ada-exp.y (_initialize_ada_exp): Declare before definition.
|
||
* solib-svr4.c (HAS_LM_DYNAMIC_FROM_LINK_MAP): Add a prototype.
|
||
* target.h (struct target_ops): Add a prototype to the
|
||
to_can_execute_reverse callback.
|
||
* macroscope.c (_initialize_macroscope): Declare before definition.
|
||
* cp-namespace.c (_initialize_cp_namespace): Declare before definition.
|
||
* python/python.c (_initialize_python): Declare before definition.
|
||
* tui/tui-command.c: Include "tui/tui-command.h".
|
||
* tui/tui-data.c (init_content_element, init_win_info): Make them
|
||
static.
|
||
* tui/tui-disasm.c: Include "tui/tui-disasm.h".
|
||
* tui/tui-interp.c (_initialize_tui_interp): Declare before
|
||
definition.
|
||
* tui/tui-layout.c: Include "tui/tui-layout.h".
|
||
(_initialize_tui_layout): Declare before definition.
|
||
* tui/tui-regs.c: Include "tui/tui-regs.h".
|
||
(tui_display_reg_element_at_line): Make it static.
|
||
(_initialize_tui_regs): Declare before definition.
|
||
* tui/tui-stack.c (_initialize_tui_stack): Declare before
|
||
definition.
|
||
* tui/tui-win.c: Include "tui/tui-win.h".
|
||
(_initialize_tui_win): Declare before definition.
|
||
(tui_sigwinch_handler): Make it static. Wrap in ifdef SIGWINCH.
|
||
* tui/tui-win.h (tui_sigwinch_handler): Delete declaration.
|
||
(tui_get_cmd_list): Add a prototype.
|
||
* tui/tui-windata.c: Include tui-windata.h.
|
||
* tui/tui-wingeneral.c (box_win): Make it static.
|
||
* cli/cli-logging.c (show_logging_command): Make it static.
|
||
(_initialize_cli_logging): Declare before definition.
|
||
* mi/mi-common.c (_initialize_gdb_mi_common): Declare before
|
||
definition.
|
||
|
||
2009-02-20 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
Extend use of i386_use_watchpoints to all i386 native files
|
||
using hardware watchpoints.
|
||
* go32-nat.c (init_go32_ops): Call i386_use_watchpoints.
|
||
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Ditto.
|
||
* windows-nat.c (init_windows_ops): Ditto.
|
||
* config/i386/nm-cygwin.h: Define I386_WATCHPOINTS_IN_TARGET_VECTOR.
|
||
* config/i386/nm-cygwin64.h: Ditto.
|
||
* config/i386/nm-fbsd.h: Ditto.
|
||
* config/i386/nm-go32.h: Ditto.
|
||
|
||
2009-02-19 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-typeprint.c (ada_typedef_print): Remove. Unused.
|
||
|
||
2009-02-18 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
* mi/mi-interp.c (mi_solib_loaded, mi_solib_unloaded): New.
|
||
(mi_interpreter_init): Register the above.
|
||
* solib.c (clear_solib): Notify solib unload.
|
||
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Do not
|
||
disable breakpoints on a.out targets.
|
||
|
||
2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
* observer.c (observer_test_first_notification_function)
|
||
(observer_test_second_notification_function)
|
||
(observer_test_third_notification_function): Adjust prototype.
|
||
|
||
2009-02-17 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* Makefile.in (ALL_64_TARGET_OBS): Add amd64-dicos-tdep.o.
|
||
(ALL_TARGET_OBS): Add dicos-tdep.o.
|
||
(ALLDEPFILES): Add amd64-dicos-tdep.c and dicos-tdep.c.
|
||
* configure.tgt (i[34567]86-*-dicos*): Add dicos-tdep.o to
|
||
gdb_target_obs.
|
||
(x86_64-*-dicos*): Add dicos-tdep.o and amd64-dicos-tdep.o to
|
||
gdb_target_obs.
|
||
* dicos-tdep.h, dicos-tdep.c: New.
|
||
* amd64-dicos-tdep.c: New.
|
||
* i386-dicos-tdep.c: Don't include solib.h, solib-target.h or
|
||
inferior.h. Include dicos-tdep.h.
|
||
(i386_dicos_init_abi): Call dicos_init_abi.
|
||
(i386_dicos_bfd_has_symbol_p): Delete.
|
||
(i386_dicos_osabi_sniffer): Use dicos_load_module_p.
|
||
|
||
* NEWS: Mention x86-64 DICOS target support.
|
||
|
||
2009-02-16 Doug Evans <dje@google.com>
|
||
|
||
* amd64-tdep.c (amd64_skip_prefixes): Renamed from skip_prefixes.
|
||
All callers updated.
|
||
(amd64_get_insn_details): Handle more 3-byte opcode insns.
|
||
(amd64_breakpoint_p): Delete.
|
||
(amd64_displaced_step_fixup): When fixing up after stepping an int3,
|
||
don't back up pc to the start of the int3.
|
||
* i386-tdep.c: #include opcode/i386.h.
|
||
(i386_skip_prefixes): New function.
|
||
(i386_absolute_jmp_p): Constify argument.
|
||
(i386_absolute_call_p,i386_ret_p,i386_call_p,i386_syscall_p): Ditto.
|
||
(i386_breakpoint_p): Delete.
|
||
(i386_displaced_step_fixup): Handle unnecessary or redundant prefixes.
|
||
When fixing up after stepping an int3, don't back up pc to the start
|
||
of the int3.
|
||
|
||
2009-02-16 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* corelow.c (core_close): Don't hardcode the core's pid.
|
||
(core_open): Find core threads before calling
|
||
post_create_inferior.
|
||
(add_to_thread_list, get_core_register_section): Take into account
|
||
systems where the regset section names encode the pid of the
|
||
inferior.
|
||
|
||
* gdbarch.sh (core_reg_section_encodes_pid): New gdbarch setting.
|
||
* gdbarch.h, gdbarch.c: Regenerate.
|
||
|
||
* amd64-sol2-tdep.c (amd64_sol2_init_abi): Set it.
|
||
* i386-sol2-tdep.c (i386_sol2_init_abi): Set it.
|
||
* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Set it.
|
||
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Set it.
|
||
|
||
2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
Include frame information for *stopped due to CLI commands.
|
||
|
||
* ada-tasks.c (ada_normal_stop_observer): Adjust prototype.
|
||
* infcmd.c (finish_command_continuation): Pass '1' for
|
||
'print_frame' parameter to the observer.
|
||
* infrun.c (normal_stop): Don't print mi-specific information
|
||
here. Pass 'stop_print_frame' to the 'print_frame' parameter
|
||
of the observer.
|
||
* mi/mi-interp.c (mi_on_normal_stop): Adjust prototype.
|
||
If we need to print frame, and current uiout is not the MI one,
|
||
print frame again.
|
||
|
||
2009-02-13 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
* xtensa-tdep.c (call0_analyze_prologue): Delete BSZ macro.
|
||
Replace BSZ macro uses by XTENSA_ISA_BSZ macro.
|
||
|
||
2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR fortran/9806
|
||
* dwarf2read.c (process_die <DW_TAG_module>, read_module)
|
||
(scan_partial_symbols <DW_TAG_module>, add_partial_module): New.
|
||
|
||
2009-02-11 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
* dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR
|
||
for DW_ATE_signed_char and DW_ATE_unsigned_char
|
||
for pascal language.
|
||
|
||
2009-02-11 Jim Meyering <meyering@redhat.com>
|
||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Avoid NULL dereference.
|
||
* stack.c (return_command): Guard use of SYMBOL_TYPE (thisfun).
|
||
New variable func_type.
|
||
|
||
2009-02-11 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* gdbarch.c: Regenerate.
|
||
|
||
2009-02-10 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
* p-lang.c (is_pascal_string_type): Fix comment.
|
||
Determine exact size of char elements for GPC
|
||
strings.
|
||
(pascal_printstr): Handle char width of 2 or 4.
|
||
* p-valprint.c (pascal_val_print): Handle char
|
||
of width 2 or 4.
|
||
|
||
2009-02-07 Daniel Jacobowitz <dan@codesourcery.com>
|
||
|
||
* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
|
||
inside the loop. Only call addrmap_set_empty if the compilation unit
|
||
had DW_AT_high_pc and DW_AT_low_pc. Update call to
|
||
scan_partial_symbols.
|
||
(scan_partial_symbols): Take NEED_PC argument and pass it along with
|
||
LOWPC and HIGHPC.
|
||
(add_partial_namespace): Take NEED_PC argument and pass it through.
|
||
(add_partial_subprogram): Take NEED_PC argument. Update the addrmap
|
||
if necessary.
|
||
|
||
2009-02-07 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* NEWS: Mention inspecting extra signal information, $_siginfo,
|
||
and the qXfer:siginfo:read and qXfer:siginfo:write packets.
|
||
|
||
2009-02-07 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
|
||
isn't defined.
|
||
|
||
2009-02-06 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* amd64-linux-nat.c (compat_int_t, compat_uptr_t, compat_time_t)
|
||
(compat_timer_t, compat_clock_t, struct compat_timeval)
|
||
(compat_sigval_t, compat_siginfo_t): New types.
|
||
(cpt_si_pid, cpt_si_uid, cpt_si_timerid, cpt_si_overrun)
|
||
(cpt_si_status, cpt_si_utime, cpt_si_stime, cpt_si_ptr)
|
||
(cpt_si_addr, cpt_si_band, cpt_si_fd): New defines.
|
||
(compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
|
||
(amd64_linux_siginfo_fixup): New.
|
||
* linux-nat.c (linux_nat_siginfo_fixup): New.
|
||
(siginfo_fixup): New.
|
||
(linux_xfer_siginfo): Use siginfo_fixup to convert between the
|
||
siginfo layout expected by ptrace and the siginfo layout of the
|
||
inferior.
|
||
(linux_nat_set_siginfo_fixup): New.
|
||
* linux-nat.h (linux_nat_set_siginfo_fixup): Declare.
|
||
|
||
2009-02-06 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* target.h (enum target_object): Add new TARGET_OBJECT_SIGNAL_INFO.
|
||
* infrun.c (siginfo_value_read, siginfo_value_write): New.
|
||
(siginfo_value_funcs): New.
|
||
(siginfo_make_value): New.
|
||
(_initialize_infrun): Create the $_siginfo convenience variable.
|
||
* gdbtypes.h (append_composite_type_field_aligned): Declare.
|
||
* gdbtypes.c (append_composite_type_field): Rename to...
|
||
(append_composite_type_field_aligned): ... this. Add ALIGNMENT
|
||
argument. Handle it.
|
||
(append_composite_type_field): Rewrite on top of
|
||
append_composite_type_field_aligned.
|
||
* value.h (internalvar_make_value): New typedef.
|
||
(struct internalvar) <make_value>: New field.
|
||
(create_internalvar_type_lazy): Declare.
|
||
* value.c (create_internalvar): Clear make_value.
|
||
(create_internalvar_type_lazy): New.
|
||
(value_of_internalvar): If make_value is set use it.
|
||
(preserve_values): Skip internal variables that don't have a
|
||
value.
|
||
* gdbarch.sh (get_siginfo_type): New.
|
||
* gdbarch.h, gdbarch.c: Regenerate.
|
||
|
||
* linux-tdep.h, linux-tdep.c: New.
|
||
* amd64-linux-tdep.c: Include "linux-tdep.h".
|
||
(amd64_linux_init_abi): Register linux_get_siginfo_type and
|
||
linux_get_siginfo_mapper.
|
||
* i386-linux-tdep.c: Include "linux-tdep.h".
|
||
(i386_linux_init_abi): Register linux_get_siginfo_type and
|
||
linux_get_siginfo_mapper.
|
||
* arm-linux-tdep.c: Include "linux-tdep.h".
|
||
(i386_linux_init_abi): Register linux_get_siginfo_type and
|
||
linux_get_siginfo_mapper.
|
||
|
||
* linux-nat.c (linux_xfer_siginfo): New.
|
||
(linux_nat_xfer_partial): Handle TARGET_OBJECT_SIGNAL_INFO.
|
||
* remote.c (PACKET_qXfer_siginfo_read)
|
||
(PACKET_qXfer_siginfo_write): New.
|
||
(feature remote_protocol_features): Add "qXfer:siginfo:read" and
|
||
"qXfer:siginfo:write" features.
|
||
(remote_xfer_partial): Handle TARGET_OBJECT_SIGNAL_INFO.
|
||
(_initialize_remote): Add "set/show remote read-siginfo-object"
|
||
and "set/show remote write-siginfo-object" commands.
|
||
|
||
* Makefile.in (ALL_TARGET_OBS): Add linux-tdep.o.
|
||
(HFILES_NO_SRCDIR): Add linux-tdep.h.
|
||
(ALLDEPFILES): Add linux-tdep.c.
|
||
|
||
* configure.tgt (arm*-*-linux* | arm*-*-uclinux*)
|
||
(i[34567]86-*-linux*, x86_64-*-linux*): Add linux-tdep.o to
|
||
gdb_target_obs.
|
||
|
||
2009-02-06 Jim Blandy <jimb@codesourcery.com>
|
||
Daniel Jacobowitz <dan@codesourcery.com>
|
||
Vladimir Prus <vladimir@codesourcery.com>
|
||
Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* defs.h (enum lval_type): New value: lval_computed.
|
||
* value.h (struct lval_funcs): New type.
|
||
(allocate_computed_value, value_computed_funcs)
|
||
(value_computed_closure): New declarations.
|
||
* value.c (struct value): Add a structure to the location union
|
||
for computed lvalues, containing 'funcs' and 'closure' members.
|
||
(allocate_computed_value, value_computed_funcs)
|
||
(value_computed_closure): New functions.
|
||
(value_free): For computed lvalues, call the closure's
|
||
'free_closure' function before freeing the value itself.
|
||
(value_copy): If we're copying an lval_computed value, call the
|
||
closure's 'copy_closure' function.
|
||
(set_value_component_location): If the original value is a
|
||
computed lvalue, then call the closure's 'copy_closure' function.
|
||
(value_of_internalvar): If an internal variable's value is a
|
||
computed lvalue, make retrieving its value produce an equivalent
|
||
computed lvalue.
|
||
* valops.c (value_fetch_lazy): Unlazy computed lvalues by calling
|
||
their read function.
|
||
(value_assign): Assign to computed lvalues by calling their write
|
||
function.
|
||
|
||
2009-02-06 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* linux-nat.c (linux_nat_wait): Adjust.
|
||
(linux_nat_pid_to_str): Adjust. Remove call to thread_db_init.
|
||
* linux-nat.h (thread_db_init): Delete declaration.
|
||
* linux-thread-db.c (target_beneath): Delete.
|
||
(thread_db_init): Delete.
|
||
(thread_db_detach): Use find_target_beneath.
|
||
(thread_db_wait): Adjust interface. Use find_target_beneath.
|
||
(thread_db_mourn_inferior): Use find_target_beneath.
|
||
(thread_db_can_async_p, thread_db_is_async_p, thread_db_async)
|
||
(thread_db_async_mask): Delete.
|
||
(thread_db_pid_to_str): Adjust interface. Use
|
||
find_target_beneath.
|
||
(thread_db_get_thread_local_address): Adjust interface. Use
|
||
find_target_beneath.
|
||
(init_thread_db_ops): Delete references to delete functions.
|
||
* target.c (update_current_target): Don't inherit or default
|
||
to_wait. Don't inherit to_pid_to_str and
|
||
to_get_thread_local_address.
|
||
(target_translate_tls_address): Look for a pushed target that
|
||
implements to_get_thread_local_address, and use it instead of
|
||
checking for target_get_thread_local_address_p.
|
||
(target_wait, target_pid_to_str): Reimplement as functions.
|
||
(dummy_pid_to_str): New.
|
||
(init_dummy_target): Register it.
|
||
(debug_to_wait): Delete.
|
||
* target.h (struct target_ops): Make to_wait, to_pid_to_str and
|
||
to_get_thread_local_address accept a pointer to struct target_ops.
|
||
(target_wait): Delete macro, and declare as function.
|
||
(target_pid_to_str): Likewise.
|
||
(target_get_thread_local_address)
|
||
(target_get_thread_local_address_p): Delete.
|
||
(noprocess): Add NORETURN and ATTR_NORETURN tags.
|
||
* inf-ptrace.c (inf_ptrace_wait): Adjust.
|
||
(inf_ptrace_pid_to_str): New.
|
||
(inf_ptrace_target): Use inf_ptrace_pid_to_str.
|
||
* aix-thread.c (aix_thread_wait, aix_thread_pid_to_str): Adjust.
|
||
* bsd-kvm.c (bsd_kvm_pid_to_str): Adjust.
|
||
* bsd-uthread.c (bsd_uthread_wait, bsd_uthread_pid_to_str):
|
||
Adjust.
|
||
* corelow.c (core_pid_to_str): Adjust.
|
||
* darwin-nat.c (darwin_wait, darwin_pid_to_str): Adjust.
|
||
* dec-thread.c (dec_thread_wait, dec_thread_pid_to_str): Adjust.
|
||
* gnu-nat.c (gnu_wait, gnu_pid_to_str): Adjust.
|
||
* go32-nat.c (go32_wait, go32_pid_to_str): Adjust.
|
||
* hpux-thread.c (hpux_thread_wait): Adjust.
|
||
* inf-ttrace.c (inf_ttrace_wait, inf_ttrace_pid_to_str): Adjust.
|
||
* monitor.c (monitor_wait, monitor_pid_to_str): Adjust.
|
||
* nto-procfs.c (procfs_wait, procfs_pid_to_str): Adjust.
|
||
* procfs.c (procfs_pid_to_str): Adjust.
|
||
* remote-m32r-sdi.c (m32r_wait, m32r_pid_to_str): Adjust.
|
||
* remote-mips.c (mips_wait): Adjust.
|
||
* remote-sim.c (gdbsim_wait, gdbsim_pid_to_str): Adjust.
|
||
* remote.c (remote_wait, remote_pid_to_str)
|
||
(remote_get_thread_local_address): Adjust.
|
||
* rs6000-nat.c (rs6000_wait): Adjust.
|
||
* sol-thread.c (procfs_pid_to_str): Adjust declaration.
|
||
(sol_thread_wait, solaris_pid_to_str): Adjust.
|
||
* spu-linux-nat.c (spu_child_wait): Adjust.
|
||
* windows-nat.c (windows_wait, windows_pid_to_str): Adjust.
|
||
|
||
2009-02-06 Tom Tromey <tromey@redhat.com>
|
||
|
||
* Makefile.in (SUBDIR_PYTHON_OBS): Add python-cmd.o.
|
||
(SUBDIR_PYTHON_SRCS): Add python-cmd.c.
|
||
(python-cmd.o): New target.
|
||
* cli/cli-decode.c (set_cmd_completer): Add self parameter to
|
||
completer prototype.
|
||
(add_cmd): Initialize destroyer member of cmd_list_element. Use
|
||
make_symbol_completion_list_fn as completer.
|
||
(delete_cmd): Call destroyer if one is set.
|
||
* cli/cli-decode.h (cmd_list_element): Add cmd parameter to
|
||
completer member. Add destroyer member.
|
||
(set_cmd_completer): Add self parameter to
|
||
completer prototype.
|
||
* command.h (set_cmd_completer): Add cmd parameter to
|
||
completer prototype.
|
||
* completer.c (noop_completer, filename_completer,
|
||
location_completer, expression_completer, command_completer): Adapt
|
||
to new completer prototype.
|
||
(complete_line_internal): Pass new parameter to completer function.
|
||
* completer.h (noop_completer, filename_completer,
|
||
location_completer, expression_completer, command_completer): Adapt
|
||
prototypes to new completer prototype.
|
||
* interps.c (interpreter_completer): Adapt to new completer
|
||
prototype.
|
||
* python/python-cmd.c: New file.
|
||
* python/python-internal.h (gdbpy_initialize_commands): Add
|
||
prototype.
|
||
(gdbpy_doc_cst): Add forward declaration.
|
||
* python/python.c (gdbpy_doc_cst): Declare.
|
||
(_initialize_python): Call gdbpy_initialize_commands. Initialize
|
||
gdbpy_doc_cst.
|
||
* symtab.c (make_symbol_completion_list_fn): New function.
|
||
* symtab.h (make_symbol_completion_list_fn): Add prototype.
|
||
|
||
2009-02-06 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* target.c (target_get_osdata): Check for equal or higher than
|
||
process_stratum, not dummy_stratum.
|
||
|
||
2009-02-06 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* remote.c (extended_remote_can_run): Delete.
|
||
(init_remote_ops): Don't register it.
|
||
* target.c (target_get_osdata): Don't check for target_can_run.
|
||
Instead any target that has already been pushed, otherwise
|
||
fallback to the default run target.
|
||
|
||
2009-02-06 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* target.c (target_create_inferior, target_detach)
|
||
(target_mourn_inferior, target_attach, target_close): Do target
|
||
debug output.
|
||
(debug_to_attach, debug_to_detach, debug_to_create_inferior)
|
||
(debug_to_mourn_inferior, debug_to_close): Delete.
|
||
(setup_target_debug): Adjust.
|
||
|
||
2009-02-05 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* target.h (target_stopped_data_address_p): Delete declaration,
|
||
and don't define as macro.
|
||
* target.c (target_stopped_data_address_p): Delete.
|
||
|
||
2009-02-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
* python/python-utils.c (target_string_to_unicode): New function.
|
||
* python/python-internal.h (target_string_to_unicode): New prototype.
|
||
* python/python-value.c (valpy_string): New function.
|
||
(value_object_methods): Add `string' entry.
|
||
|
||
2009-02-05 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* target.h (target_tid_to_str): Delete.
|
||
* thread.c (print_thread_info, thread_apply_all_command)
|
||
(thread_apply_command, thread_command, do_captured_thread_select):
|
||
Use target_pid_to_str instead of target_tid_to_str.
|
||
* linux-fork.c (delete_fork_command): Likewise.
|
||
|
||
2009-02-05 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* frame.c (has_stack_frames): Make public.
|
||
(get_prev_frame): Don't allow a NULL this_frame anymore.
|
||
* frame.h (has_stack_frames): Declare.
|
||
* varobj.c (find_frame_addr_in_frame_chain): Don't ever pass NULL
|
||
to get_prev_frame, instead start at get_current_frame.
|
||
(varobj_create): Check has_stack_frames before getting any frame;
|
||
eliminate one usage of deprecated_safe_get_selected_frame.
|
||
|
||
2009-02-05 Tom Tromey <tromey@redhat.com>
|
||
Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
* python/python.c (GdbMethods): Move to bottom of file.
|
||
(get_parameter, execute_gdb_command, gdbpy_write,
|
||
gdbpy_flush): Remove forward declarations.
|
||
(eval_python_from_control_command): Fix error checking of function
|
||
PyRun_SimpleString. Fix error string.
|
||
(python_command): Likewise.
|
||
(execute_gdb_command): Added from_tty argument.
|
||
|
||
2009-02-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
* language.h (language_dfn): Add la_get_string member.
|
||
(LA_GET_STRING): New macro.
|
||
(default_get_string): New prototype.
|
||
* language.c (default_get_string): New function.
|
||
(unknown_language_defn, auto_language_defn, local_language_defn): Use
|
||
default_get_string for la_get_string.
|
||
* c-lang.c (c_get_string): New function.
|
||
(c_language_defn, cplus_language_defn, asm_language_defn): Use
|
||
c_get_string for la_get_string.
|
||
(minimal_language_defn): Likewise
|
||
* ada-lang.c (ada_language_defn): Likewise.
|
||
* f-lang.c (f_language_defn): Use default_get_string for
|
||
la_get_string.
|
||
* jv-lang.c (java_language_defn): Likewise.
|
||
* m2-lang.c (m2_language_defn): Likewise.
|
||
* objc-lang.c (objc_language_defn): Likewise.
|
||
* p-lang.c (p_language_defn): Likewise.
|
||
* scm-lang.c (scm_language_defn): Likewise.
|
||
* typeprint.c (type_to_string): New function.
|
||
* value.h (type_to_string): New prototype.
|
||
* valprint.c (val_print_string): Factor out code for reading string
|
||
from the inferior into its own function. Put 2 spaces after period
|
||
in comments.
|
||
(read_string): New function.
|
||
* valprint.h (read_string): New prototype.
|
||
|
||
2009-01-07 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
Tom Tromey <tromey@redhat.com>
|
||
|
||
PR breakpoints/8079:
|
||
* breakpoint.c (print_one_breakpoint): Use exp_string field
|
||
to display expression of watchpoints.
|
||
(mention): Likewise.
|
||
(watch_command_1): Remove trailing whitespace from expression.
|
||
* printcmd.c (struct display) <exp_string>: New field.
|
||
(display_command): Set exp_string.
|
||
(free_display): Free exp_string.
|
||
(clear_displays): Use free_display.
|
||
(do_one_display): Print exp_string.
|
||
(display_info): Likewise.
|
||
|
||
2009-02-04 Tom Tromey <tromey@redhat.com>
|
||
Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
Phil Muldoon <pmuldoon@redhat.com>
|
||
|
||
* python/python-internal.h (gdbpy_get_value_from_history): Rename
|
||
prototype to gdbpy_history.
|
||
(gdbpy_is_string): Declare.
|
||
(python_string_to_host_string): Declare.
|
||
* python/python-utils.c (gdbpy_is_string): New function.
|
||
(unicode_to_encoded_string): New function.
|
||
(unicode_to_target_string): Use it.
|
||
(python_string_to_host_string): New function.
|
||
* python/python-value.c (valpy_address): New function.
|
||
(convert_value_from_python): Use gdbpy_is_string. Change to throw
|
||
Python exception instead of a GDB exception on error. Properly check
|
||
Python booleans.
|
||
(valpy_getitem): Convert field name to host string. Handle array
|
||
accesses. Adapt to new behaviour of convert_value_from_python.
|
||
(valpy_new): Adapt to new behaviour of convert_value_from_python.
|
||
(enum valpy_opcode) <VALPY_LSH, VALPY_RSH, VALPY_BITAND,
|
||
VALPY_BITXOR, VALPY_BITOR>: New constants.
|
||
(valpy_binop): Update. Adapt to new behaviour of
|
||
convert_value_from_python.
|
||
(valpy_invert): New function.
|
||
(valpy_lsh): Likewise.
|
||
(valpy_rsh): Likewise.
|
||
(valpy_and): Likewise.
|
||
(valpy_or): Likewise.
|
||
(valpy_xor): Likewise.
|
||
(valpy_richcompare): Call convert_value_from_python instead of doing
|
||
conversions itself.
|
||
(is_intlike, valpy_int, valpy_long, valpy_float): New functions.
|
||
(gdbpy_get_value_from_history): Rename
|
||
function to gdbpy_history.
|
||
(gdbpy_initialize_values): Don't set tp_new.
|
||
(value_object_type): Add valpy_new.
|
||
(value_object_methods): Add `address' entry.
|
||
(value_object_as_number): Update for new methods.
|
||
* python/python.c (GdbMethods): Rename entry from
|
||
`get_value_from_history' to `history'.
|
||
|
||
2009-02-04 Jerome Guitton <guitton@adacore.com>
|
||
|
||
* ada-lang.c (ada_template_to_fixed_record_type_1): Check size
|
||
of type to guard against a crash.
|
||
|
||
2009-02-04 Jerome Guitton <guitton@adacore.com>
|
||
|
||
* value.c (value_from_contents_and_address): Always return
|
||
a lval_memory value, even if address is null.
|
||
|
||
2009-02-04 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* i386-darwin-tdep.c (i386_darwin_sigcontext_addr): New function.
|
||
(amd64_darwin_sigcontext_addr): Ditto.
|
||
(darwin_dwarf_signal_frame_p): Ditto.
|
||
(i386_darwin_init_abi): Handle signal frames, use the const for
|
||
sc_num_regs.
|
||
(x86_darwin_init_abi_64): Ditto.
|
||
|
||
2009-02-04 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* i386-tdep.c (i386_sigtramp_p): Make it public.
|
||
* i386-tdep.h (i386_sigtramp_p): Declare.
|
||
|
||
2009-02-04 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* machoread.c (macho_symfile_read): Read minsymtab also from
|
||
shared libraries.
|
||
(macho_symfile_read): Try to read dwarf2 frame info from main
|
||
object file, but not from OSO files.
|
||
(macho_symfile_offsets): Update section names for latest BFD
|
||
changes.
|
||
* i386-darwin-tdep.c (i386_darwin_init_abi): Call set_solib_ops.
|
||
(x86_darwin_init_abi_64): Ditto.
|
||
* solib-darwin.c: New file.
|
||
* solib-darwin.h: New file.
|
||
* configure.tgt: Add solib.o solib-darwin.o for Darwin.
|
||
|
||
2009-02-04 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* solist.h (struct target_so_ops): Comment fallback behavior for
|
||
operation same.
|
||
|
||
2009-02-03 Tom Tromey <tromey@redhat.com>
|
||
|
||
* completer.c (add_struct_fields): Check type_name against NULL
|
||
before use.
|
||
|
||
2009-02-03 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* MAINTAINERS: Update Elena's email address.
|
||
|
||
2009-02-02 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* breakpoint (update_watchpoint): Minor comment adjustment.
|
||
|
||
2009-02-02 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR gdb/9594:
|
||
* completer.c (count_struct_fields): Count method names.
|
||
(add_struct_fields): Add matching method names.
|
||
|
||
2009-02-02 Doug Evans <dje@google.com>
|
||
|
||
* configure.ac (gdbkt): Check both no_tcl/no_tk first, before
|
||
doing any further tcl/tk configury. Don't configure gdbtk if
|
||
tcl or tk check fails.
|
||
* aclocal.m4: Regenerate.
|
||
* configure: Regenerate.
|
||
|
||
2009-02-02 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR exp/9059:
|
||
* valops.c (find_overload_match): Follow typedefs before taking
|
||
address of object argument.
|
||
|
||
2009-02-01 Doug Evans <dje@google.com>
|
||
|
||
* target.h (target_waitstatus_to_string): Declare.
|
||
* target.c (target_waitstatus_to_string): New function. Copied from
|
||
debug_to_wait. Add missing entries for TARGET_WAITKIND_SYSCALL_ENTRY,
|
||
TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_IGNORE,
|
||
TARGET_WAITKIND_NO_HISTORY.
|
||
(debug_to_wait): Call it.
|
||
* infrun.c (wait_for_inferior): If debug_infrun, print result of
|
||
target_wait.
|
||
(fetch_inferior_event): Ditto.
|
||
|
||
2009-01-30 Tom Tromey <tromey@redhat.com>
|
||
|
||
* Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.
|
||
|
||
2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
PR 8145.
|
||
* thread.c (do_captured_list_thread_ids): Report the current
|
||
thread id.
|
||
|
||
2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
|
||
|
||
* breakpoint.c (create_breakpoint, create_breakpoints)
|
||
(break_command_really, set_breakpoint): New parameter enabled.
|
||
(create_breakpoint, break_command_really): Make breakpoint
|
||
disabled if so requested.
|
||
* breakpoint.h (set_breakpoint): New parameter enabled.
|
||
* mi/mi-cmd-break.c (mi_cmd_break_insert): Handle the -d option.
|
||
|
||
2009-01-28 Doug Evans <dje@google.com>
|
||
|
||
* amd64-tdep.h (amd64_displaced_step_copy_insn): Declare.
|
||
(amd64_displaced_step_fixup): Declare.
|
||
* amd64-tdep.c: #include opcode/i386.h, dis-asm.h.
|
||
(amd64_arch_regmap): Move out of amd64_analyze_stack_align
|
||
and make static global.
|
||
(amd64_arch_regmap_len): New static global.
|
||
(amd64_arch_reg_to_regnum): New function.
|
||
(struct amd64_insn): New struct.
|
||
(struct displaced_step_closure): New struct.
|
||
(onebyte_has_modrm,twobyte_has_modrm): New static globals.
|
||
(rex_prefix_p,skip_prefixes)
|
||
(amd64_insn_length_fprintf,amd64_insn_length_init_dis)
|
||
(amd64_insn_length,amd64_get_unused_input_int_reg)
|
||
(amd64_get_insn_details,fixup_riprel,fixup_displaced_copy)
|
||
(amd64_displaced_step_copy_insn)
|
||
(amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p)
|
||
(amd64_call_p,amd64_breakpoint_p,amd64_syscall_p)
|
||
(amd64_displaced_step_fixup): New functions.
|
||
* amd64-linux-tdep.c: #include arch-utils.h.
|
||
(amd64_linux_init_abi): Install displaced stepping support.
|
||
|
||
2009-01-28 Daniel Jacobowitz <dan@codesourcery.com>
|
||
Jerome Guitton <guitton@adacore.com>
|
||
|
||
* configure, config.in: Regenerated.
|
||
* configure.ac: Add --with-system-gdbinit.
|
||
* main.c (get_init_files): New.
|
||
(captured_main): Use get_init_files. Load system gdbinit before
|
||
$HOME/.gdbinit.
|
||
(print_gdb_help): Print location of init files.
|
||
|
||
2009-01-28 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* corefile.c (generic_search): Delete disabled code.
|
||
* gdbcore.h (generic_search): Delete declaration.
|
||
|
||
2009-01-26 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* linux-nat.c (linux_child_follow_fork): Copy attach_flag from the
|
||
parent to the child.
|
||
* inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
|
||
* inf-ptrace.c (inf_ptrace_follow_fork): Likewise. Use
|
||
remove_breakpoints to remove breakpoints from the parent.
|
||
|
||
2009-01-26 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
PR backtrace/9458, PR backtrace/8864:
|
||
* frame.c (create_new_frame): Update the frame's cached PC before
|
||
finding its unwinder. Use frame_id_build to build the new frame's
|
||
id.
|
||
* stack.c (parse_frame_specification_1): Correct setting ``addrs''
|
||
array values from the ``args'' array values.
|
||
|
||
2009-01-26 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)
|
||
(create_array_type, create_set_type, init_flags_type)
|
||
(copy_type_recursive): Replace pairs of calls to XALLOC and memset
|
||
with a call to XZALLOC or XCALLOC, and pairs of calls to
|
||
obstack_alloc and memset with a call to OBSTACK_ZALLOC.
|
||
|
||
2009-01-26 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
Add "maint set|show internal-error|internal-warning quit|corefile
|
||
ask|yes|no" commands.
|
||
|
||
PR gdb/7580:
|
||
* utils.c (internal_problem_ask, internal_problem_yes)
|
||
(internal_problem_no, internal_problem_modes): New.
|
||
(struct internal_problem): Remove FIXME. Make should_quit and
|
||
should_dump_core types to char *.
|
||
(internal_vproblem, internal_error_problem)
|
||
(internal_warning_problem): Adjust.
|
||
(set_internal_problem_cmd, show_internal_problem_cmd): New dummy
|
||
functions.
|
||
(add_internal_problem_command): New.
|
||
(_initialize_utils): New.
|
||
|
||
2009-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* infcmd.c (program_info): Use paddress instead of casting stop_pc
|
||
to unsigned long.
|
||
|
||
2009-01-24 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* infrun.c (normal_stop): Don't call
|
||
deprecated_update_frame_pc_hack.
|
||
* frame.c (deprecated_update_frame_pc_hack)
|
||
(deprecated_update_frame_base_hack): Delete, and ...
|
||
(create_new_frame): ... inline here.
|
||
* frame.h (deprecated_update_frame_pc_hack)
|
||
(deprecated_update_frame_base_hack): Delete declarations.
|
||
|
||
2009-01-23 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
|
||
* cli/cli-setshow.c (do_setshow_command): Handle it.
|
||
* command.h (enum var_types): Add var_zuinteger.
|
||
(add_setshow_zuinteger_cmd): Declare.
|
||
|
||
* valprint.c (_initialize_valprint): Change the set input-radix
|
||
and set output-radix commands to zuinteger type.
|
||
|
||
2009-01-23 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
PR gdb/9664:
|
||
* infrun.c (normal_stop): Tag threads as stopped, and run the
|
||
hook-stop before printing the stack frame.
|
||
|
||
2009-01-22 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
PR c++/9631:
|
||
* gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
|
||
vbasetype.
|
||
|
||
2009-01-20 Kazu Hirata <kazu@codesourcery.com>
|
||
|
||
* gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
|
||
unsigned long.
|
||
|
||
2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
|
||
|
||
PR gdb/9346
|
||
* infcmd.c (signal_command): Do not specify a resume PC.
|
||
|
||
2009-01-19 Doug Evans <dje@google.com>
|
||
|
||
* dummy-frame.c (dummy_frame): Replace regcache member with
|
||
caller_state.
|
||
(dummy_frame_push): Replace caller_regcache arg with caller_state.
|
||
All callers updated.
|
||
(remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns.
|
||
(dummy_frame_pop): Rewrite. Verify requested frame is in the
|
||
dummy frame stack. Restore program state.
|
||
(cleanup_dummy_frames): Rewrite.
|
||
(dummy_frame_sniffer): Update. Make static.
|
||
* dummy-frame.h (regcache,frame_info): Delete forward decls.
|
||
(inferior_thread_state): New forward decl.
|
||
(dummy_frame_push): Update prototype.
|
||
* frame.c (frame_pop): dummy_frame_pop now does all the work for
|
||
DUMMY_FRAMEs.
|
||
* infcall.c (breakpoint_auto_delete_contents): Delete.
|
||
(get_function_name,run_inferior_call): New fns.
|
||
(call_function_by_hand): Simplify by moving some code to
|
||
get_function_name, run_inferior_call. Inferior function call wrapped
|
||
in TRY_CATCH so there's less need for cleanups and all exits from
|
||
proceed are handled similarily. Detect program exit.
|
||
Detect program stopping in a different thread.
|
||
Make error messages more consistent.
|
||
* inferior.h (inferior_thread_state): Declare (opaque type).
|
||
(save_inferior_thread_state,restore_inferior_thread_state,
|
||
make_cleanup_restore_inferior_thread_state,
|
||
discard_inferior_thread_state, get_inferior_thread_state_regcache):
|
||
Declare.
|
||
(save_inferior_status): Update prototype.
|
||
* infrun.c: (normal_stop): When stopped for the completion of an
|
||
inferior function call, verify the expected stack frame kind.
|
||
(inferior_thread_state): New struct.
|
||
(save_inferior_thread_state,restore_inferior_thread_state,
|
||
do_restore_inferior_thread_state_cleanup,
|
||
make_cleanup_restore_inferior_thread_state,
|
||
discard_inferior_thread_state,
|
||
get_inferior_thread_state_regcache): New functions.
|
||
(inferior_status): Move stop_signal, stop_pc, registers to
|
||
inferior_thread_state. Remove restore_stack_info.
|
||
(save_inferior_status): Remove arg restore_stack_info.
|
||
All callers updated. Remove saving of state now saved by
|
||
save_inferior_thread_state.
|
||
(restore_inferior_status): Remove restoration of state now done by
|
||
restore_inferior_thread_state.
|
||
(discard_inferior_status): Remove freeing of registers, now done by
|
||
discard_inferior_thread_state.
|
||
|
||
2009-01-18 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
|
||
at a time, times NUM_TO_SCROLL.
|
||
* tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
|
||
fetch the selected frame if there is no stack.
|
||
|
||
2009-01-18 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
PR gdb/9747:
|
||
* gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
|
||
Declare.
|
||
* thread.c (finish_thread_state, finish_thread_state_cleanup): New.
|
||
* infrun.c (wait_for_inferior, fetch_inferior_event): If an error
|
||
is thrown while handling an event, finish the thread state.
|
||
(normal_stop): Use finish_thread_state cleanup.
|
||
* infcmd.c (run_command_1): If an error is thrown while starting
|
||
the inferior, finish the thread state.
|
||
|
||
2009-01-18 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
|
||
skip breakpoints without a location (pending breakpoints).
|
||
|
||
2009-01-18 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
PR build/9186:
|
||
* hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
|
||
|
||
2009-01-18 Nick Roberts <nickrob@snap.net.nz>
|
||
|
||
* thread.c (thread_command): Move call to annotate_thread_changed
|
||
to...
|
||
(do_captured_thread_select): ... here, to avoid printing an
|
||
annotation if the thread change generates an exception.
|
||
|
||
2009-01-16 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* NEWS: Document x86_64/MinGW as a new native configuration.
|
||
|
||
2009-01-16 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* NEWS: Move the documentation of "info os processes" to
|
||
the appropriate section (documenting the new commands).
|
||
|
||
2009-01-15 Doug Evans <dje@google.com>
|
||
|
||
* target.h (target_signal_to_string): Make return type const char *.
|
||
(target_signal_to_name): Ditto.
|
||
(target_signal_from_name): Make arg const char *.
|
||
* infrun.c (sig_print_info): Update.
|
||
* signals/signals.c (signals): Make array and struct members const.
|
||
(target_signal_to_string): Make return type const char *.
|
||
(target_signal_to_name): Ditto.
|
||
(target_signal_from_name): Make arg const char *.
|
||
|
||
2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
|
||
Tristan Gingold <gingold@adacore.com>
|
||
|
||
* solist.h (struct target_so_ops): New member bfd_open.
|
||
(solib_find): Add prototype.
|
||
(solib_bfd_fopen): Add prototype.
|
||
* solib.c (solib_find, solib_bfd_fopen): New functions, extracted
|
||
from solib_bfd_open.
|
||
(solib_bfd_open): Use ops->bfd_open override if present. Call
|
||
solib_find and solib_bfd_open otherwise.
|
||
|
||
* objfiles.h (OBJF_KEEPBFD): New define.
|
||
* objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
|
||
objfile flag is set.
|
||
* solib.c (symbol_add_stub): Do not allocate second BFD for
|
||
shared library; use OBJF_KEEPBFD flag on solib objfile.
|
||
|
||
2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* frame.c (get_frame_arch): Abort if called with NULL this_frame.
|
||
|
||
2009-01-15 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* value.h (address_of_variable): Add prototype.
|
||
(locate_var_value): Remove prototype.
|
||
|
||
* findvar.c (read_var_value): Do not attempt to default frame
|
||
to selected frame.
|
||
(locate_var_value): Remove function.
|
||
* valops.c (value_of_variable): Retrieve selected frame for
|
||
symbols that require a frame when called with NULL block.
|
||
* valops.c (address_of_variable): New function.
|
||
|
||
* eval.c (evaluate_subexp_for_address): Call address_of_variable
|
||
instead of calling locate_var_value.
|
||
(evaluate_subexp_with_coercion): Likewise.
|
||
|
||
2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
|
||
|
||
* NEWS: Document "define" for prefixed commands.
|
||
* cli/cli-cmds.c (show_user): Update calls to show_user_1. Call
|
||
show_user_1 for prefix commands.
|
||
* cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
|
||
* cli/cli-script.c (validate_comname): Rewrite to handle prefix
|
||
commands. Return the containing command list.
|
||
(define_command, document_command): Update to handle prefix commands.
|
||
(show_user_1): Add prefix and name arguments. Handle prefix
|
||
commands.
|
||
* cli/cli-script.h (show_user_1): Update prototype.
|
||
|
||
2009-01-14 Kai Tietz <kai.tietz@onevision.com>
|
||
|
||
* mingw-ser.c (console_select_thread): Add return to make
|
||
compiler happy.
|
||
(pipe_select_thread): Likewise.
|
||
(file_select_thread): Likewise.
|
||
|
||
2009-01-14 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
|
||
previous change.
|
||
|
||
2009-01-14 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* remote.c (extended_remote_mourn_1): Invalidate our notion of
|
||
current general thread.
|
||
|
||
2009-01-14 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
|
||
without a live selected thread.
|
||
|
||
2009-01-14 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Update the copyright notice of some of the files I missed
|
||
in the previous copyright update.
|
||
|
||
2009-01-14 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* windows-nat.c (handle_unload_dll): Use %p to print the DLL
|
||
base address instead of casting it to DWORD.
|
||
|
||
2009-01-13 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
|
||
for NULL frame pointers.
|
||
|
||
2009-01-13 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* utils.c (host_address_to_string): Reimplement in a way that
|
||
avoids the cast of the address to long.
|
||
|
||
2009-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* mdebugread.c (parse_symbol): Save the symbol private data
|
||
using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
|
||
(psymtab_to_symtab_1): Likewise.
|
||
(parse_procedure): Declare variable "e" only in the scope
|
||
where it is used. Extract the symbol private data using
|
||
SYMBOL_VALUE_BYTES.
|
||
|
||
2009-01-13 Jim Blandy <jimb@codesourcery.com>
|
||
|
||
Abstract out common code for copying value locations.
|
||
|
||
* value.h (set_value_component_location): New declaration.
|
||
* value.c (set_value_component_location): New function.
|
||
(value_primitive_field): Use it.
|
||
* valarith.c (value_subscript, value_subscripted_rvalue): Same.
|
||
* valops.c (search_struct_field, value_slice): Same.
|
||
* ada-lang.c (coerce_unspec_val_to_type)
|
||
(ada_value_primitive_packed_val): Same.
|
||
|
||
2009-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
|
||
|
||
2009-01-12 Christopher Faylor <me+cygwin@cgf.cx>
|
||
|
||
* amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
|
||
throughout.
|
||
* i386-cygwin-tdep.c: Ditto.
|
||
* i386-windows-nat.c: Ditto.
|
||
* windows-nat.h: Ditto.
|
||
* windows-tdep.c: Ditto.
|
||
* windows-tdep.h: Ditto.
|
||
* windows-nat.c: Ditto.
|
||
(cygwin_load_start): Redefine as CORE_ADDR.
|
||
(cygwin_load_end): Ditto.
|
||
(windows_make_so): Coerce result of address arithmetic to uintptr_t
|
||
before coercing to CORE_ADDR to avoid a compiler warning.
|
||
(handle_exception): Define addr as CORE_ADDR and coerce
|
||
ExceptionAddress to uintptr_t before assigining to avoid a compiler
|
||
warning.
|
||
* config/djgpp/fnchange.lst: Add mappings for recently renamed windows
|
||
files.
|
||
|
||
2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix linking with --enable-targets=all:
|
||
* Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
|
||
(HFILES_NO_SRCDIR): Add windows-tdep.h.
|
||
(ALLDEPFILES): Add windows-tdep.c.
|
||
|
||
2009-01-11 Chris Faylor <me.gdb@cgf.cx>
|
||
|
||
* win32-nat.h: Delete.
|
||
* windows-nat.h: Rename from win32-nat.h.
|
||
* win32-nat.c: Delete.
|
||
* windows-nat.c: Rename from win32-nat.c.
|
||
* win32-termcap.c: Delete.
|
||
* windows-termcap.c: Rename from win32-termcap.c.
|
||
* amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
|
||
* configure.ac: Handle rename from win32-termcap.c ->
|
||
windows-termcap.c.
|
||
* configure: Regenerate.
|
||
* gdb_curses.h: Change comment to reflect rename from win32-termcap.c
|
||
-> windows-termcap.c.
|
||
* i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
|
||
windows-tdep.h.
|
||
* i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
|
||
* windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h ->
|
||
windows-tdep.h.
|
||
(win32_make_so): Handle cygwin compiler warning due to change of
|
||
load_addr from DWORD to LPVOID.
|
||
(handle_load_dll): Use %p in format string to properly print address
|
||
and avoid a compiler warning.
|
||
(DEBUG_EXCEPTION_SIMPLE): Ditto.
|
||
(handle_exception): Ditto.
|
||
* windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
|
||
* config/i386/cygwin.mh: Handle rename from win32-nat.o ->
|
||
windows-nat.o.
|
||
* config/i386/mingw.mh: Ditto.
|
||
* config/i386/mingw64.mh: Ditto.
|
||
|
||
2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
|
||
arrayprint_recurse_level to a parameter. Update all the callers. New
|
||
comment at autovariables.
|
||
|
||
2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
|
||
coding style.
|
||
|
||
2009-01-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* target.c (target_xfer_partial): Use host_address_to_string to
|
||
print the address of readbuf and writebuf. Cast the address of
|
||
elements inside the myaddr buffer into intptr_t.
|
||
(deprecated_debug_xfer_memory): Use paddress to print memaddr.
|
||
Cast the address of elements inside the myaddr buffer into
|
||
intptr_t.
|
||
|
||
2009-01-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* amd64-windows-nat.c, amd64-windows-tdep.c: New files.
|
||
* config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
|
||
* configure.host, configure.tgt: Add handling for x86_64/windows.
|
||
* config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
|
||
and amd64-windows-tdep.c.
|
||
|
||
2009-01-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-tdep.h, win32-tdep.c: New files.
|
||
* i386-cygwin-tdep.h: Delete.
|
||
* i386-cygwin-tdep.c: Include win32-tdep.h instead of
|
||
i386-cygwin-tdep.h.
|
||
(win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
|
||
* win32-nat.c: Likewise.
|
||
* configure.tgt: Add win32-tdep.o to the list of target object
|
||
files for i386-cygwin and i386-mingw targets.
|
||
|
||
2009-01-11 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-nat.h: New file.
|
||
* win32-nat.c (mappings): Initialize to NULL.
|
||
(win32_set_context_register_offsets): New function.
|
||
* i386-windows-nat.c: New file.
|
||
(mappings): Moved here from win32-nat.c.
|
||
(_initialize_i386_windows_nat): New function.
|
||
* config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
|
||
* config/i386/cygwin.mh (NATDEPFILES): Likewise.
|
||
|
||
2009-01-09 Andreas Schwab <schwab@suse.de>
|
||
|
||
* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
|
||
|
||
2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
|
||
|
||
* gdbtypes.c (append_composite_type_field): Correct the location of
|
||
appended fields.
|
||
|
||
2009-01-09 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* defs.h (deprecated_error_hook): Delete declaration.
|
||
* interps.c (clear_interpreter_hooks): Adjust.
|
||
* remote-sim.c (gdb_os_error): Don't try to call
|
||
deprecated_error_hook. No need to call exit anymore.
|
||
* top.c (deprecated_error_hook): Delete.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* arch-utils.c (gdbarch_update_p): Use host_address_to_string
|
||
to print the address of the gdbarch pointer.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* gdbarch.sh: Fix all the compilation errors on amd64-windows
|
||
due to casting a pointer to a long when printing a function
|
||
address. Instead, use host_address_to_string to convert our
|
||
address to a string.
|
||
* gdbarch.c: Regenerate.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* event-top.c (async_disconnect, async_stop_sig): use "raise"
|
||
instead of "kill" to raise a signal.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-nat.c (get_module_name): Change the type of parameter
|
||
"base_address" to LPVOID. Remove unnecessary cast.
|
||
(struct lm_info): Change type of load_addr to LPVOID.
|
||
(win32_make_so): Change the type of parameter "load_addr"
|
||
to LPVOID. Remove some unnecessary casts.
|
||
(handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
|
||
(win32_xfer_shared_libraries): Add missing cast.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-nat.c (has_detach_ability, set_process_privilege):
|
||
Cast the result of GetProcAddress to (void *) to avoid
|
||
a compilation warning.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
|
||
already defined.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-nat.c (get_image_name, win32_xfer_memory): Fix type
|
||
definition of local variable "done".
|
||
(info_w32_command, handle_exception): Remove unnecessary cast.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
|
||
DebugSetProcessKillOnExit. Update all uses in this file.
|
||
(kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
|
||
Update all uses in this file.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
|
||
and use it when pushing the target.
|
||
(win32_attach, win32_create_inferior): Update call to
|
||
do_initial_win32_stuff.
|
||
(win32_detach, win32_mourn_inferior): Use our ops parameter
|
||
instead of the global win32_ops to unpush the target.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ser-mingw.c (ser_windows_open): Use proper type when casting
|
||
in call to _open_osfhandle.
|
||
|
||
2009-01-09 Kai Tietz <kai.tietz@onevision.com>
|
||
|
||
* coff-pe-read.c (read_pe_exported_syms): Fix typo.
|
||
|
||
2009-01-09 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* CONTRIBUTE: Minor reformatting.
|
||
|
||
2009-01-08 Kai Tietz <kai.tietz@onevision.com>
|
||
|
||
* MAINTAINERS: Add myself to Write After Approval.
|
||
* coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
|
||
export directory.
|
||
|
||
2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
|
||
|
||
* remote-sim.c (gdb_os_error): Mark as a noreturn function.
|
||
Call exit to make it obvious to GCC.
|
||
|
||
2009-01-08 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR breakpoints/9350:
|
||
* varobj.c (varobj_invalidate): Unconditionally free
|
||
all_rootvarobj.
|
||
* symfile.c (syms_from_objfile): Free local_addr when returning
|
||
normally.
|
||
* exec.c (exec_file_attach): Do cleanups before returning.
|
||
(exec_file_command): Likewise.
|
||
* corefile.c (reopen_exec_file): Do cleanups before returning.
|
||
* breakpoint.c (insert_breakpoint_locations): Do cleanups before
|
||
returning.
|
||
(do_vec_free): New function.
|
||
(update_global_location_list): Make a cleanup for old_locations.
|
||
Do cleanups before returning. Remove unused variable 'e'.
|
||
(find_condition_and_thread): Free result of parsing the
|
||
expression.
|
||
(print_it_typical): Do cleanups before returning.
|
||
(breakpoint_re_set_one): Always free sals.sals.
|
||
|
||
2009-01-08 Joel Brobecker <brobecker@adacore.com>
|
||
Emi Suzuki <emi-suzuki@tjsys.co.jp>
|
||
|
||
* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
|
||
watchpoints.
|
||
|
||
2009-01-07 Doug Evans <dje@google.com>
|
||
|
||
* top.c (gdb_prompt_string): Delete, unused.
|
||
|
||
2009-01-07 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
Delete ONE_PROCESS_WRITETEXT leftovers.
|
||
|
||
* breakpoint.c (insert_bp_location): Delete process_warning
|
||
argument. Adjust.
|
||
(insert_breakpoint_locations): Adjust.
|
||
(reattach_breakpoints): Adjust.
|
||
* infrun.c (normal_stop): Drop "It might be running in another
|
||
process" notice.
|
||
|
||
2009-01-07 Stan Shebs <stan@codesourcery.com>
|
||
|
||
* config/pa/linux.mh (XDEPFILES): Remove.
|
||
|
||
2009-01-07 Doug Evans <dje@google.com>
|
||
|
||
* cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
|
||
|
||
2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
|
||
spacing, a regression from 2008-04-22.
|
||
|
||
2009-01-07 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* utils.c (gdb_print_host_address): Adjust implementation to
|
||
reuse host_address_to_string. Move comment explaining the conversion
|
||
from host address to string from here...
|
||
(host_address_to_string): ... to there.
|
||
|
||
2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
|
||
|
||
* MAINTAINERS: Add myself for write after approval privileges.
|
||
|
||
2009-01-06 Tom Tromey <tromey@redhat.com>
|
||
|
||
* value.c (set_internalvar): Use value_free, not xfree.
|
||
|
||
2009-01-06 Jim Blandy <jimb@red-bean.com>
|
||
|
||
Check return values of functions declared with warn_unused_result
|
||
attribute in GLIBC 2.8.
|
||
* cli/cli-cmds.c (pwd_command): Check return value from getcwd.
|
||
* inflow.c (check_syscall): New function.
|
||
(new_tty): Use check_syscall to check return values from open and dup.
|
||
* linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
|
||
* main.c (captured_main): Call cwd after setting up gdb_stderr;
|
||
check for errors from getcwd.
|
||
* mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
|
||
* ui-file.c (stdio_file_write): Ignore return value from fwrite.
|
||
(stdio_file_fputs): Same.
|
||
* utils.c (internal_vproblem): abort if last-ditch error message
|
||
write fails.
|
||
|
||
* top.c (gdb_init): Don't set the current directory here; that's
|
||
already been done in captured_main.
|
||
|
||
2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
* ser-tcp.c: Adjust includes.
|
||
(tcp_set_cmdlist, tcp_show_cmdlist): Declare.
|
||
(tcp_auto_retry, tcp_retry_limit): Declare.
|
||
(TIMEOUT): Remove, in favor of tcp_retry_limit.
|
||
(POLL_INTERVAL): Increase to 5, in favor of backoff logic.
|
||
(wait_for_connect): New function.
|
||
(net_open): Use it. Add auto-retry logic.
|
||
(set_tcp_cmd, show_tcp_cmd): New functions.
|
||
(_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
|
||
and "set/show tcp connect-timeout" commands.
|
||
* NEWS: Document new commands.
|
||
|
||
2009-01-05 Tom Tromey <tromey@redhat.com>
|
||
|
||
* python/python-internal.h (Py_ssize_t): Define as int.
|
||
|
||
2009-01-05 Jim Blandy <jimb@red-bean.com>
|
||
|
||
* MAINTAINERS: Fix my e-mail address as steering committee member.
|
||
|
||
2009-01-03 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Updated copyright notices for most files.
|
||
|
||
2009-01-03 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* top.c (print_gdb_version): Update copyright year.
|
||
|
||
2009-01-03 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
|
||
|
||
2009-01-01 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
PR breakpoints/9681:
|
||
* exceptions.h (enum errors): New error type, MEMORY_ERROR.
|
||
* corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
|
||
* breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
|
||
retrow all other exceptions.
|
||
|
||
For older changes see ChangeLog-2008.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
coding: utf-8
|
||
End:
|