aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-11-01*** empty log message ***gdbadmin1-1/+1
2002-10-31 * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.Daniel Jacobowitz2-5/+6
2002-10-31 * i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check forDaniel Jacobowitz2-5/+16
trampolines in sigaction.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-36/+57
* h8300-tdep.c: Include "gdb_assert.h". (h8300_print_register): Add gdbarch, file and frame parameters. Use frame_read_unsigned_register to read the register's value. Use fprintf_filtered to display output. (h8300_print_registers_info): Replace h8300_do_registers_info. (h8300_gdbarch_init): Set print_registers_info.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+51
* frame.c (frame_read_unsigned_register): New function. (frame_read_signed_register): New function. * frame.h (frame_read_unsigned_register): Declare. (frame_read_signed_register): Declare.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-6/+133
* h8500-tdep.c (h8500_print_registers_info): New static function, clone of infcmd.c's default_print_registers_info. (h8500_do_registers_info): New funtion. (h8500_print_register_hook): Rename print_register_hook, make static. * config/h8500/tm-h8500.h: Update copyright. (DEPRECATED_DO_REGISTERS_INFO): Define. (h8500_do_registers_info: Declare. (PRINT_REGISTER_HOOK): Delete macro. (print_register_hook): Delete function.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-6/+130
* z8k-tdep.c (z8k_print_register_hook): Make static. (z8k_print_registers_info): New static function, clone of infcmd.c's default_print_registers_info. (z8k_do_registers_info): New function. Wrap z8k_print_registers_info. * config/z8k/tm-z8k.h: Update copyright. (PRINT_REGISTER_HOOK): Delete macro. (z8k_print_register_hook): Delete declaration. (DEPRECATED_DO_REGISTERS_INFO): Define. (z8k_do_registers_info): Declare.
2002-10-31*** empty log message ***gdbadmin1-1/+1
2002-10-30 * hppa-tdep.c (find_function_in_inferior): Remove this extern,Joel Brobecker2-4/+9
as this is already provided by value.h, and was actually causing a compilation error because of a conflict in parameter type declaration due to a missing const keyword. (low_text_segment_addres): Fix a compilation warning.
2002-10-30 * mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetchDaniel Jacobowitz2-0/+11
registers without a name. (mips_linux_cannot_store_register): Don't store registers without a name.
2002-10-30*** empty log message ***gdbadmin1-1/+1
2002-10-29*** empty log message ***gdbadmin1-1/+1
2002-10-282002-10-28 David Carlton <carlton@math.stanford.edu>David Carlton3-95/+6
* symtab.c (find_addr_symbol): Delete. (It was already commented out.) * symtab.h: Delete prototype for find_addr_symbol.
2002-10-28*** empty log message ***gdbadmin1-1/+1
2002-10-27*** empty log message ***gdbadmin1-1/+1
2002-10-262002-10-26 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-66/+73
* gdbint.texinfo (Target Architecture Definition): Delete definition of DO_REGISTERS_INFO. 2002-10-26 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename DO_REGISTERS_INFO. gdbarch.h, gdbarch.c: Re-generate. * infcmd.c (default_print_registers_info): Update reference. * mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info. (mips_dump_tdep): Do not print DO_REGISTERS_INFO. * sh-tdep.c (sh_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2002-10-26* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info toMark Kettenis4-8/+6
cfi_init_extra_frame_info. * x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype. * x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
2002-10-26* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386Mark Kettenis2-64/+75
target where necessary. Add more comments and remove the ones that don't provide any useful information.
2002-10-26* i386-tdep.c (i386_frame_saved_pc): Replace call toMark Kettenis2-2/+10
deprecated_read_register_dummy with frame_unwind_unsigned_register.
2002-10-26* i386-tdep.c (i386_extract_struct_value_address): UseMark Kettenis2-15/+13
regcache_raw_read_unsigned instead of regcache_cooked_read_unsigned since we know that the register we're reading isn't a pseudo register. Rename variable 'val' into the more descriptive 'addr'.
2002-10-26 * tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.Stephane Carrez2-2/+17
(tui_redisplay_readline): Use the last saved prompt. (tui_rl_saved_prompt): New.
2002-10-26* x86-64-tdep.c: Fix some formatting problems, mostly in comments.Mark Kettenis2-34/+40
(x86_64_push_return_address): Add comment. (x86_64_pop_frame): Make static. (examine_argument): Clarify comment. (x86_64_skip_prologue): Make prolog_expact variable static.
2002-10-26* dwarf2cfi.c: Fix some formatting problems.Mark Kettenis2-48/+42
(context_cpy, read_encoded_pointer): Clarify comments.
2002-10-26* x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify.Mark Kettenis2-41/+52
(x86_64_init_abi): Move set_gdbarch_* calls that overlap with the i386 target back into x86_64_gdbarch_init. Add some comments and remove meaningless ones.
2002-10-26*** empty log message ***gdbadmin1-1/+1
2002-10-252002-10-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney21-197/+227
* complaints.h (struct deprecated_complaint): Rename `struct complaint'. * complaints.c (complain): Update. * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete incorrect comment indicating that "symfile.h" was being included for the `struct complaint' definition. * remote-vx.c: Update. * objc-lang.c: Update. * xcoffread.c: Update. * hpread.c: Update. * mdebugread.c: Update. * stabsread.c: Update. * dwarf2read.c: Update. * dwarfread.c: Update. * elfread.c: Update. * coffread.c: Update. * stabsread.h: Update. * dbxread.c: Update. * buildsym.c: Update. * gdbtypes.c: Update. * macrotab.c: Update.
2002-10-25* x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar toMark Kettenis2-102/+75
the version in i386-tdep.c. Move set_gdbarch_* calls out into... (x86_64_init_abi): ...new function.
2002-10-25* Makefile.in (i386v-nat.o): Add $(i386_tdep_h).Mark Kettenis2-1/+2
2002-10-25 Fix PR gdb/787Stephane Carrez2-0/+25
* tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER, ACS_HLINE, ACS_VLINE): Define if they don't exist.
2002-10-25 Fix PR gdb/478Stephane Carrez2-1/+6
* tuiIO.c (tui_initialize_io): Use setvbuf since this is portable.
2002-10-25* i386v-nat.c: Include "i386-tdep.h".Mark Kettenis2-0/+6
2002-10-252002-10-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-90/+25
* gdbtypes.c (address_space_name_to_int): Update. (address_space_int_to_name): Update. * gdbarch.sh (address_class_type_flags_to_name): Change to a pure multi-arch predicate. (address_class_name_to_type_flags): Ditto. * gdbarch.h, gdbarch.c: Re-generate.
2002-10-252002-10-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+6
* MAINTAINERS: Check all warnings when h8300hms and alpha-elf.
2002-10-25*** empty log message ***gdbadmin1-1/+1
2002-10-242002-10-24 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-2/+4
* utils.c (string_to_core_addr): Revert patch from 11 Oct.
2002-10-242002-10-24 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni10-31/+63
* symtab.h (INIT_SAL): Delete macro. (init_sal): Export. * symtab.c (init_sal): New function. * ada-lang.c (ada_finish_decode_line_1): Change INIT_SAL macro to init_sal function call. (find_sal_from_funcs_and_line): Ditto. (all_sals_for_line): Ditto. * breakpoint.c (create_internal_breakpoint): Ditto. (create_fork_vfork_event_catchpoint): Ditto. (create_exec_event_catchpoint): Ditto. (parse_breakpoint_sals): Ditto. (watch_command_1): Ditto. (handle_gnu_4_16_catch_command): Ditto. (clear_command): Ditto. * hppa-tdep.c (child_enable_exception_callback): Ditto. * infcmd.c (run_stack_dummy): Ditto. * infrun.c (process_event_stop_test): Ditto. (check_sigtramp2): Ditto. (step_over_function): Ditto. * linespec.c (decode_line_2): Ditto. (decode_line_1): Ditto. * source.c (line_info): Ditto. * symtab.c (find_pc_sect_line): Ditto.
2002-10-24Reindented.Michal Ludvig6-44/+43
2002-10-242002-10-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig6-53/+145
* dwarf2cfi.c (struct context) (struct context_reg): Moved to dwarf2cfi.h (context_alloc, frame_state_alloc, context_cpy): Made extern instead of static, removed prototypes. * dwarf2cfi.h (struct context) (struct context_reg): New, moved from dwarf2cfi.c (context_alloc, frame_state_alloc, context_cpy): New prototypes. * x86-64-linux-tdep.c (x86_64_linux_sigtramp_saved_pc): Changed from static to extern. (LINUX_SIGINFO_SIZE, LINUX_SIGCONTEXT_PC_OFFSET) (LINUX_SIGCONTEXT_FP_OFFSET) (LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Adjusted. (x86_64_linux_in_sigtramp, x86_64_linux_frame_chain) (x86_64_init_frame_pc, x86_64_init_extra_frame_info): New. * x86-64-tdep.c (x86_64_gdbarch_init): Several set_gdbarch_*() calls now use x86-64 specific functions instead of DWARF2 CFI ones. * x86-64-tdep.h (x86_64_linux_in_sigtramp) (x86_64_linux_frame_chain, x86_64_init_frame_pc) (x86_64_init_extra_frame_info): New prototypes.
2002-10-242002-10-23 David Carlton <carlton@math.stanford.edu>David Carlton3-6/+8
* linespec.c: #include "parser-defs.h". Delete prototype for find_template_name_end. * Makefile.in (linespec.o): Depend on $(parser_defs_h).
2002-10-24*** empty log message ***gdbadmin1-1/+1
2002-10-232002-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+47
* mi-var-cmd.exp: Add tests to verify that a -var-assign that changes a value shows up in the changelist of a -var-update. Part of fix for gdb/702. * mi1-var-cmd.exp: Ditto.
2002-10-232002-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-3/+29
* NEWS: add recent mi fixes. * varobj.c (struct varobj): Add new "updated" flag. (new_variable): Default "updated" flag to 0. (varobj_set_value): Set "updated" flag to 1 if value changes. (varobj_update): Check varobj "updated" flag before comparing old and refreshed values. Fix for PR gdb/702.
2002-10-232002-10-23 David Carlton <carlton@math.stanford.edu>David Carlton4-4/+11
* parse.c (parse_exp_1): Use BLOCK_START. * x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END, SYMBOL_BLOCK_VALUE. * objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.
2002-10-232002-10-23 David Carlton <carlton@math.stanford.edu>David Carlton2-18/+5
* symtab.c: Delete cplusplus_hint. Delete prototype for find_template_name_end.
2002-10-232002-10-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+12
* symtab.h: Update comment.
2002-10-232002-10-23 Michael Snyder <msnyder@redhat.com>Michael Snyder3-6/+11
* printcmd.c (address_info): Restore quotes in output. * valops.c (value_of_local): Restore quotes in error message.
2002-10-232002-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-24/+47
* mi-cmd-var.c: Change all remaining occurrences of ui_out_tuple_begin to make_cleanup_ui_out_tuple_begin_end. Change all remaining occurrences of ui_out_list_begin to make_cleanup_ui_out_list_begin_end. Use do_cleanups instead of ui_out_list_end or ui_out_tuple_end. This is a fix for PR gdb/680. * mi-cmd-stack.c: Ditto. * mi-main.c: Ditto.
2002-10-232002-10-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-13/+29
* symtab.c (symbol_demangled_name): New function. * symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by turning most of it into a function. (symbol_demangled_name): Export.
2002-10-232002-10-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* valops.c (value_of_local): Restore quotes in error message.
2002-10-232002-10-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-25/+39
* symtab.c (symbol_init_language_specific): New function. * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by turning most of it into a function. (symbol_init_language_specific): Export.