aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-27daily updateAlan Modra1-1/+1
2002-10-27merge from gccDJ Delorie3-2/+10
2002-10-27merge from gccDJ Delorie2-0/+8
2002-10-27*** empty log message ***gdbadmin1-1/+1
2002-10-26daily updateAlan Modra1-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* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,DJ Delorie3-4/+10
and restrap targets to this rule. * Makefile.in: Regenerate.
2002-10-26daily updateAlan Modra1-1/+1
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* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): AddJason Thorpe2-2/+8
bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to targ_selvecs.
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-25Add some string section merging support.Jim Wilson2-0/+35
* elf64-sh64.c (sh_elf64_relocate_section): Call _bfd_elf_rela_local_sym. Handle relocs against STT_SECTION symbol of SHF_MERGE section.
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-25 * simple.c: Correct placement of ATTRIBUTE_UNUSED.Hans-Peter Nilsson2-47/+41
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-25Files missed in previous commit.Dave Anglin2-32/+71
2002-10-25 * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index toDave Anglin19-100/+167
unsigned int. Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to unsigned int. (NAME(aout,final_link)): Cast enum used in assignment. (aout_link_write_symbols): Cast enums in comparisons, int values to boolean, enums in assignments to int. (aout_link_input_section_std): Cast rel->r_index to unsigned int. (aout_link_input_section_ext): Likewise. Cast enums used in comparisons with unsigned ints. (aout_link_reloc_link_order): Cast enum to int in assignment. * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr calls to char *. * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in assignment. * bfd-in2.h (bfd_set_section_vma): Likewise. * bfd.c (bfd_record_phdr): Cast enums in assignments. * binary.c (bfd_alloc): Cast enum to long. * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean. * dwarf2.c (read_abbrevs): Add casts to enum types. (read_attribute_value): Likewise. (arange_add): Cast result of bfd_zalloc call. (comp_unit_contains_address): Return true and false. (comp_unit_find_nearest_line): Cast return to boolean. * format.c (bfd_check_format_matches, bfd_set_format): Likewise. * gen-aout.c: define macro '_' if not defined. * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR. (bfd_bwrite): Cast bfd_realloc to bfd_byte *. (bfd_write_bigendian_4byte_int): Cast return to boolean. (bfd_seek): Cast bfd_realloc to bfd_byte *. (bfd_generic_is_local_label_name): Cast return to boolean. * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'. * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to struct bfd_hash_entry *. (_bfd_generic_link_hash_newfunc): likewise. (_bfd_generic_final_link): Cast enum to unsigned int. * merge.c (sec_merge_emit): Cast return to boolean. (merge_strings): Add casts to const unsigned char *. * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int. (bfd_generic_get_relocated_section_content): Cast enum to unsigned int. * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to struct bfd_hash_entry *. (bfd_set_section_content): Add cast to PTR in comparison. * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol, simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous, simple_dummy_unattached_reloc, bfd_simple_get_relocated_section_contents): Add K&R declarations and function definitions. * srec.c (S3Forced): Initialize to false. (srec_get_symtab): Cast return value from bfd_alloc to asymbol *. * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons. (_bfd_discard_section_stabs): Likewise. Also cast return to boolean. * syms.c (bfd_is_undefined_symclass): Cast return to boolean. (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in comparisons.
2002-10-25merge from gccDJ Delorie2-1/+10
2002-10-25daily updateAlan Modra1-1/+1
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-24 * configure.in (i[3456]86-*-linux*): Add check to disableHans-Peter Nilsson2-0/+12
${libgcj} for glibc1.
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-24daily updateAlan Modra1-1/+1
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-23 * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamicJakub Jelinek2-1/+6
relocs into shared lib non-allocated reloc sections.
2002-10-23 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*Jakub Jelinek2-0/+6
sections into .rel{,a}.dyn.