aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain3-3/+20
Close PR build/660. * PROBLEMS (i[3456]86-*-linux*): Note explicit error message for old libc5/glibc. * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
2003-02-262003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+10
* dv-mn103tim.c (read_special_timer6_reg): Add break after empty default: label. (write_special_timer6_reg): Ditto. Update copyright.
2003-02-26Added GDB_OSABI_QNXNTO.Kris Warkentin1-0/+5
2003-02-26Added GDB_OSABI_QNXNTO.Kris Warkentin2-0/+2
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain4-471/+498
* configure.in: New variable HAVE_UINTPTR_T. * configure, config.in: Regenerated.
2003-02-26 Fix PR build/1097.Daniel Jacobowitz2-1/+6
* utils.c (gdb_realpath): Move closing brace outwards one #endif.
2003-02-26* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): FixAlexandre Oliva2-1/+4
memory allocation error.
2003-02-26*** empty log message ***gdbadmin1-1/+1
2003-02-252003-02-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+47
* frame.c (get_prev_frame): Add comment on check for inside_entry_func. Only check for inside_entry_file when not a dummy and not a sentinel. Check that the new frame is not inner to the old frame.
2003-02-252003-02-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+50
* frame.c (frame_debug): New variable. (_initialize_frame): Add "set/show debug frame" command. (get_prev_frame): When frame_debug, print reason why unwind failed.
2003-02-25daily updateAlan Modra1-1/+1
2003-02-252003-02-25 Michael Chastain <mec@shout.net>Michael Chastain2-0/+9
* PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later to avoid uintptr_t definition problems.