aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-022003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney31-134/+179
* gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename INIT_EXTRA_FRAME_INFO. * gdbarch.h, gdbarch.c: Regenerate. * arm-tdep.c: Update comments. * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. * frame.h, avr-tdep.c: Ditto. * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. (create_new_frame, legacy_get_prev_frame): Ditto. * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize deprecated_init_extra_frame_info instead of init_extra_frame_info. * x86-64-tdep.c (x86_64_init_abi): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-interix-tdep.c (i386_interix_init_abi): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. Index: doc/ChangeLog 2003-02-26 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo: Rename INIT_EXTRA_FRAME_INFO to DEPRECATED_INIT_EXTRA_FRAME_INFO.
2003-03-02*** empty log message ***gdbadmin1-1/+1
2003-03-01daily updateAlan Modra1-1/+1
2003-03-012003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+10
* sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort. (sim_engine_vabort): Ditto.
2003-03-012003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-10/+168
* gdbarch.sh (register_type): New function with predicate. (REGISTER_VIRTUAL_TYPE): Change to function with predicate. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (generic_register_byte): Use generic_register_size. (generic_register_size): When available, use gdbarch_register_type. * regcache.c (init_regcache_descr): When available, initialize the register type array using gdbarch_register_type. If the architecture supplies gdbarch_register_type, do not use the legacy regcache layout. * d10v-tdep.c (d10v_register_type): Replace d10v_register_virtual_type. (d10v_gdbarch_init): Set register_type instead of register_virtual_type.
2003-03-012003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-13/+29
* Makefile.in (ax-gdb.o): Update dependencies. * ax-gdb.c: Include "regcache.h". (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. * findvar.c (value_of_register): Ditto. * infcmd.c (default_print_registers_info): Ditto. Index: mi/ChangeLog 2003-03-01 Andrew Cagney <cagney@redhat.com> * mi-main.c (get_register): Use register_type instead of REGISTER_VIRTUAL_TYPE.
2003-03-01 * interp.c (sim_fetch_register): Only store a single byte forStephane Carrez2-2/+14
1 byte registers.
2003-03-01* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage ofMark Kettenis2-2/+7
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2003-03-01* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp insteadMark Kettenis2-1/+6
of STREQ.
2003-03-01 * elfxx-ia64.c (elfNN_ia64_relax_section): Correct boundsRichard Henderson2-2/+7
for ltoff22x relaxation.
2003-03-01*** empty log message ***gdbadmin1-1/+1
2003-02-28 * bfd-in.h (_bfd): Don't define.Alan Modra5-18/+19
* bfd.c: Rename occurrences of "struct _bfd" to "struct bfd". * syms.c: Likewise. * bfd-in2.h: Regenerate.
2003-02-28daily updateAlan Modra1-1/+1
2003-02-28 * ldemul.c: Include getopt.h.Alan Modra4-5/+10
* emultempl/elf32.em: Include getopt.h earlier. * emultempl/ticoff.em: Likewise.
2003-02-28 * Makefile.in (dwarf2loc.o): Update dependencies.Daniel Jacobowitz6-4/+89
* ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". (locexpr_tracepoint_var_ref): New function. (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
2003-02-28 * Makefile.tpl: Rearrange.Nathanael Nerode3-302/+355
* Makefile.in: Regenerate.
2003-02-28Fix minor slip in previous patch.David Carlton1-1/+1
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2-30/+29
* gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we print class instead of struct and/or superfluous protection specifiers, as long as the resulting output is equivalent to the source code. Delete FIXME from end of messages on tests that don't need fixing.
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2-2/+7
* gdb.c++/templates.exp (do_tests): Allow const in the two Foo<volatile char *>::foo tests.
2003-02-282003-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-7/+53
* regcache.c (register_size): New function. * regcache.h (register_size): Declare * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use max_register_size instead of MAX_REGISTER_RAW_SIZE.
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2-71/+94
* linespec.c (decode_compound): Extract code into find_method. (find_method): New.
2003-02-28 * Makefile.in: Add rules to build and link in observer.o.Joel Brobecker2-2/+8
2003-02-28 * observer.c: Minor comments edits.Joel Brobecker2-10/+12
2003-02-28 * observer.h, observer.c: New file.Joel Brobecker3-0/+233
2003-02-28 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combrelocAlan Modra2-0/+28
support when scripts read from files.
2003-02-28 * ldemul.c (ldemul_parse_args): Return FALSE by default.Alan Modra3-2/+6
* ldemul.h (struct ld_emulation_xfer_struct): Update parse_args comment.
2003-02-28 * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.Alan Modra25-293/+378
(ldemul_parse_args): Return bfd_boolean. Formatting. * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. (ldemul_parse_args): Adjust. (struct ld_emulation_xfer_struct): Add add_options and handle_option. Return bfd_boolean from parse_args. * lexsup.c (parse_args): Malloc shortopts, longopts and really_longopts. Call ldemul_add_options and ldemul_handle_option. * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from gld${EMULATION_NAME}_parse_args. (gld${EMULATION_NAME}_handle_option): Likewise. (ld_${EMULATION_NAME}_emulation): Adjust initializer. * emultempl/armcoff.em: As for aix.em, but remove parse_args. * emultempl/beos.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/ticoff.em: Likewise. * emultempl/elf32.em: Likewise. Don't duplicate long options either. (gld${EMULATION_NAME}_add_sysroot): Prototype. * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate options. * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust initializer. * emultempl/generic.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/mipsecoff.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
2003-02-28 * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx;Richard Henderson2-215/+358
(elfNN_ia64_check_relocs): Set it. (allocate_global_data_got): Check it. (allocate_local_got): Likewise. (allocate_dynrel_entries): Likewise. (elfNN_ia64_relax_ldxmov): New. (elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV. (elfNN_ia64_choose_gp): Split out from ... (elfNN_ia64_final_link): ... here.
2003-02-28*** empty log message ***gdbadmin1-1/+1
2003-02-27Index: arm/ChangeLogAndrew Cagney37-44/+118
2003-02-27 Andrew Cagney <cagney@redhat.com> * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd. Index: common/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd. * sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto. * nrun.c (main): Ditto. Index: d10v/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: erc32/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: h8300/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: h8500/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: i960/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: m32r/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: m68hc11/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_prepare_for_program, sim_open) (sim_create_inferior): Rename _bfd to bfd. Index: mcore/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: mips/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open): (sim_create_inferior): Index: mn10200/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: mn10300/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior, sim_open) (sim_create_inferior): Rename _bfd to bfd. Index: ppc/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: sh/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd to bfd. Index: v850/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: z8k/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * iface.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2003-02-272003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2003-02-272003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+9
* remote-sim.h (sim_open, sim_load, sim_create_inferior): Rename _bfd to bfd.
2003-02-27daily updateAlan Modra1-1/+1
2003-02-272003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-10/+26
* bfd.c (struct bfd): Rename "struct _bfd". * bfd-in.h: Update copyright. (struct bfd): Rename "struct _bfd". (_bfd): Define for backward compatibility. * bfd-in2.h: Regenerate.
2003-02-27 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.Stephane Carrez2-17/+33
(M6812_OP_STS_EXT): Likewise. (m6811_prologue): Use the above to recognize prologue. (m6812_prologue): Likewise.
2003-02-27merge from gccDJ Delorie4-40/+49
2003-02-272003-02-27 David Carlton <carlton@math.stanford.edu>David Carlton3-7/+14
* symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not SYMBOL_PRINT_NAME. (compare_psymbols): Ditto. * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2003-02-272003-02-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+8
* gdb.base/restore.c (main): Return zero, so exit code will be consistant.
2003-02-272003-02-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+41
* f-lang.c (build_fortran_types): New function. (_initialize_f_language): Gdbarch-register built-in fortran types.
2003-02-272003-02-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* doublest.c (extract_floating): Fix warning text.
2003-02-272003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney30-75/+156
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with predicate. Replaces PUSH_DUMMY_FRAME. * gdbarch.h, gdbarch.c: Regnerate. * valops.c (hand_function_call): Update. Call generic_push_dummy_frame directly. * vax-tdep.c (vax_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. * inferior.h (PUSH_DUMMY_FRAME): Delete definition. * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set push_dummy_frame to generic_push_dummy_frame. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto.
2003-02-27merge from gccDJ Delorie2-0/+82
2003-02-27Make ``show mips abi'' actually show the abi in use.Kevin Buettner2-1/+40
2003-02-27*** empty log message ***gdbadmin1-1/+1
2003-02-26Index: common/ChangeLogAndrew Cagney4-4/+14
2003-02-26 Andrew Cagney <cagney@redhat.com> * sim-engine.h (sim_engine_abort): Add noreturn attribute. (sim_engine_vabort): Ditto. (sim_engine_halt, sim_engine_restart): Ditto. Index: mn10300/ChangeLog 2003-02-26 Andrew Cagney <cagney@redhat.com> * am33.igen: Call sim_engine_abort instead of abort.
2003-02-26daily updateAlan Modra1-1/+1
2003-02-262003-02-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+13
From Elena Zannoni <ezannoni@redhat.com> * dbxread.c (process_one_symbol): Only record line 0 if one or more sline entries have been seen for the function.
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain2-515/+532
* configure: Regenerate with autoconf 000227.
2003-02-262003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2-3/+24
* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile char *>::foo" test with respect to PR c++/33. Create a new test which is identical to that one except that it doesn't put the space between the "char" and the "*"; KFAIL it, too.
2003-02-262003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2-32/+68
* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing template types into either PASSes or KFAILs (corresponding to PR c++/57). Tweak indentation. Update copyright.