aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-30 * itbl-lex.l: Use #include <> for generated headers.Daniel Jacobowitz3-2/+8
* itbl-ops.c: Likewise.
2002-10-30*** empty log message ***gdbadmin1-1/+1
2002-10-29daily updateAlan Modra1-1/+1
2002-10-29*** empty log message ***gdbadmin1-1/+1
2002-10-282002-10-28 H.J. Lu <hjl@gnu.org>H.J. Lu3-4/+11
* Makefile.am (targets.lo): Depend on Makefile instead of config.status. (archures.lo): Likewise. * Makefile.in: Regenerated.
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 * doc/gasp.texi: Fix typo in deprecation note.Daniel Jacobowitz2-1/+5
2002-10-28*** empty log message ***gdbadmin1-1/+1
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.