summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (Changes from Daniel Berlin, with revisions by Jim Blandy.)Jim Blandy2001-04-2719-478/+972
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Abstract out operations specific to particular C++ ABI's, and invoke them through a function table. This removes the C++ ABI dependencies scattered throughout the code, and allows us to cleanly add support for new C++ ABI's. * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files. * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c, jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c: #include "cp-abi.h". These files all use functions now declared there. * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P): Deleted. These services are now provided by functions declared in cp-abi.h. * value.h (value_rtti_type, value_virtual_fn_field): Same. * values.c (value_virtual_fn_field): Same, for this definition. * valops.c (value_rtti_type): Same. * c-typeprint.c (c_type_print_base): Use the functions from "cp-abi.h", instead of the old macros, or hard-coded ABI-specific tests. * dbxread.c (record_minimal_symbol): Same. * gdbtypes.c (get_destructor_fn_field, virtual_base_index, virtual_base_index_skip_primaries): Same. * jv-typeprint.c (java_type_print_base): Same. * linespec.c (find_methods, decode_line_1): Same. * symtab.c (gdb_mangle_name): Same. * Makefile.in (SFILES): Add the new .c files mentioned above. (cp_abi_h): New variable. (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o. (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets. (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o, jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add dependency on $(cp_abi_h).
* 2001-04-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-263-42/+49
| | | | | | | * thread-db.c (_initialize_thread_db): Add set/show command "debug-linux-threads" for debugging output. * lin-lwp.c (various): Use global "debug_linux_threads to turn on extra debugging output.
* 2001-04-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-262-6/+7
| | | | * lin-lwp.c: Minor cleanups in comments.
* 2001-04-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-263-5/+19
| | | | | * target.c (normal_pid_to_str): Get rid of an ancient hack. * remote.c (remote_pid_to_str): New function for remote target.
* * Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):Alexandre Oliva2001-04-262-2/+7
| | | | Depend on targ-vals.h.
* 2001-04-26 H.J. Lu <hjl@gnu.org>H.J. Lu2001-04-262-1/+20
| | | | | * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is valid.
* Add ability to pad code alignment frags with no-ops.Nick Clifton2001-04-263-0/+127
|
* * configure.in (noconfigdirs): Don't reset it from scratch in theAlexandre Oliva2001-04-262-3/+8
| | | | target case; only append to it.
* * configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,Alexandre Oliva2001-04-262-3/+25
| | | | sparc-*-solaris2.8]: Disable ${libgcj}.
* * configure.in (libgcj_saved): Copy from $libgcj.Alexandre Oliva2001-04-252-0/+22
| | | | | (libgcj): Zero out if --enable-libgcj; add to noconfigdirs is --disable-libgcj.
* * thanks, nickcFrank Ch. Eigler2001-04-253-0/+9
| | | | | | 2001-04-25 Frank Ch. Eigler <fche@redhat.com> * sim-load.c (sim_load_file): Put it back [...]
* * externalize a functionFrank Ch. Eigler2001-04-253-0/+11
| | | | | | | 2001-04-25 Frank Ch. Eigler <fche@redhat.com> * bfd-in.h (bfd_cache_close): Declare newly exported function. * bfd-in2.h: Regenerated.
* Fix autoconf breakage + commit target.c, omitted in previous deltaNick Clifton2001-04-256-171/+534
|
* Check to see if the filename symbol has been initialised before extractingNick Clifton2001-04-252-5/+11
| | | | its symbol index.
* 2001-04-24 H.J. Lu <hjl@gnu.org>H.J. Lu2001-04-252-5458/+3053
| | | | * configure: Regenerated with the right version of autoconf.
* * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'Jim Blandy2001-04-242-1/+10
| | | | qualifier on C++ references; all references are innately const.
* * sparc.h: Fix typo.DJ Delorie2001-04-242-1/+5
|
* * merge.c (struct sec_merge_hash_entry): Add alignment field.Jakub Jelinek2001-04-242-47/+82
| | | | | | | | | | | | | | | | (struct sec_merge_hash): Remove alignment_power. (sec_merge_hash_newfunc): Clear alignment. (sec_merge_hash_lookup): Pass alignment as argument. Use hashp->root.next, not hashp->next to walk the hash chain. If a string already in the hashtable does not have required alignment, create a new hashtable entry. (sec_merge_init): Remove alignment_power argument. (sec_merge_add): Add alignment argument. (sec_merge_emit): Alignment is now a per-entity thing, not per section. (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections for proper alignment. Pass alignment information to sec_merge_add.
* * gdb.c++/templates.exp: If we see the prompt for the overloadJim Blandy2001-04-242-0/+5
| | | | | list, but we haven't recognized any of the longer patterns, arrange for this test to fail, not hang.
* * gdb.c++/classes.exp (ptype class A): Tolerate whitespaceJim Blandy2001-04-242-1/+6
| | | | variations.
* z8k fixesNick Clifton2001-04-2419-5754/+8144
|
* Add OpenRISC supportNick Clifton2001-04-2423-3566/+7345
|
* 2001-04-22 Michael Chastain <chastain@redhat.com>Michael Chastain2001-04-234-54/+26
| | | | | | * gdb.c++/local.exp: Use the 'runto' library function. * gdb.c++/namespace.exp: Likewise. * gdb.c++/overload.exp: Likewise.
* 2001-04-23 Bo Thorsen <bo@suse.de>Andreas Jaeger2001-04-234-32/+99
| | | | | | | | | * x86-64.h: Add vtable support. 2001-04-23 Bo Thorsen <bo@suse.de> * elf64-x86-64.c: Add c++ vtable hack. Small whitespace and comment changes.
* Revert call to bfd_cache_close().Andrew Cagney2001-04-213-4/+6
|
* 2000-04-20 Jason Eckhardt <jle@redhat.com>Jason Eckhardt2001-04-202-1/+7
| | | | | * config/tc-d10v.h (tc_frob_label): Update the symbol's frag since frag_now can change after d10v_cleanup is called.
* * event-top.h: Fix formatting.Mark Kettenis2001-04-202-17/+24
|
* * ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4aAlexandre Oliva2001-04-204-9/+18
| | | | 1.641.2.228.
* Obsolete MPW as host.Andrew Cagney2001-04-1914-1706/+1725
|
* * bug fixFrank Ch. Eigler2001-04-193-0/+10
| | | | | | | | 2001-04-19 Frank Ch. Eigler <fche@redhat.com> * sim-utils.c (sim_analyze_program): Call bfd_cache_close after we're finished with its immediate use. * sim-load.c (sim_load_file): Ditto.
* * i386-tdep.c (i386_frameless_function_invocation): New function.Mark Kettenis2001-04-193-5/+26
| | | | | | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine in terms of i386_frameless_function_invocation. Adjust comment. (i386_frameless_function_invocation): New prototype.
* 2001-04-19 Andreas Jaeger <aj@suse.de>Andreas Jaeger2001-04-192-15/+57
| | | | | | | * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions. (elf64_x86_64_plt_entry): Likewise. (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation. (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.
* 2001-04-18 Martin M. Hunt <hunt@redhat.com>Martin Hunt2001-04-192-12/+19
| | | | | | * top.c (gdb_init): Don't call cli_out_new() to create global uiout if init_ui_hook is set. uiout will have to be initialized there.
* #include "regcache.h".Andrew Cagney2001-04-192-0/+5
|
* * XScale coprocessor support.Matthew Green2001-04-186-22/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-18 matthew green <mrg@redhat.com> * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes. (read_cp15_reg): Make non-static. (XScale_cp15_LDC): Update for write_cp15_reg() change. (XScale_cp15_MCR): Likewise. (XScale_cp15_write_reg): Likewise. (XScale_check_memacc): New function. Check for breakpoints being activated by memory accesses. Does not support the Branch Target Buffer. (XScale_set_fsr_far): New function. Set FSR and FAR for XScale. (XScale_debug_moe): New function. Set the debug Method Of Entry, if configured. (write_cp14_reg): Reset count counter if requested. * armdefs.h (struct ARMul_State): New members `LastTime' and `CP14R0_CCD' used for the timer/counters. (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS, ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD, ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2, ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2, ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT, ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X, ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT, ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New defines for XScale registers. (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype. (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition. (ARMul_Emulate32): Handle the clock counter and hardware instruction breakpoints. Call XScale_set_fsr_far() for software breakpoints and software interrupts. (LoadMult): Call XScale_set_fsr_far() for data aborts. (LoadSMult): Likewise. (StoreMult): Likewise. (StoreSMult): Likewise. * armemu.h (write_cp15_reg): Update prototype. * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime. (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13 register 0. * armvirt.c (GetWord): Call XScale_check_memacc(). (PutWord): Likewise.
* 2001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-182-1/+2
| | | | * i386-nat.c: Fix typo in comment.
* * dlltool.c (do_default_excludes): Initialise to true.DJ Delorie2001-04-172-1/+5
|
* Fix thinko.Michael Snyder2001-04-171-1/+1
|
* 2001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-172-0/+15
| | | | | | | * solib.c (no_shared_libraries): New function. Discard all symbols from shared libraries. (_initialize_solib): Add command "nosharedlibrary" as complement to the command "sharedlibrary". Unloads symbols for all solibs.
* * i386-tdep.c (i386_saved_pc_after_call): New function.Mark Kettenis2001-04-173-5/+18
| | | | | | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms of i386_saved_pc_after_call. (i386_saved_pc_after_call): New prototype.
* Obsolete NEWS and ISI systems (along with a few redundant m68k targets).Andrew Cagney2001-04-1720-629/+661
|
* 2001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-172-2/+29
| | | | | | | * remote.c (remote_open_1): On opening the remote target, activate the solib_create_inferior_hook, so that it can detect when the target loads shared libraries. (remote_async_open_1): Ditto.
* 2001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-177-31/+77
| | | | | | | | | * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses. * tracepoint.c (tracepoints_info): Handle 64-bit addresses. * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses. * testsuite/gdb.trace/infotrace.exp: Ditto. * testsuite/gdb.trace/passcount.exp: Ditto. * testsuite/gdb.trace/while-stepping.exp: Ditto.
* 2001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-04-172-2/+8
| | | | | | * thread-db.c (check_thread_signals): When looping over all signals, ignore signal zero. (disable_thread_signals): Ditto.
* 2001-04-17 Eirik Fuller <eirik@netapp.com>Michael Snyder2001-04-172-1/+6
| | | | | * thread.c (do_captured_thread_select): Allow the argument to the thread command to be an expression rather than a literal integer.
* * elf32-cris.c: Tweak comments related to dynamic linking.Hans-Peter Nilsson2001-04-172-27/+118
| | | | | | | | | | | | | | | | | (cris_elf_relocate_section): When not creating shared object, fill in the .got table for any symbol not in the dynamic symbol table. (elf_cris_finish_dynamic_symbol): When not creating shared object, only emit a .got.rela reloc if the symbol is in the dynamic symbol table. (cris_elf_check_relocs): Use variable r_type in all places rather than the original expression. Add default case in switch for reloc types. (elf_cris_size_dynamic_sections): Iterate over elf_cris_discard_excess_program_dynamics when not creating shared library. (elf_cris_discard_excess_dso_dynamics): Renamed from elf_cris_discard_copies. Correct typo, s/Rel/Rela/. (elf_cris_discard_excess_program_dynamics): New.
* * i386-linux-tdep.c (i386_linux_saved_pc_after_call): UseMark Kettenis2001-04-172-1/+6
| | | | read_memory_unsigned_integer instead of read_memory_integer.
* * solib-aix5.c (map_index_vs_section_name_okay): New function.Kevin Buettner2001-04-172-2/+136
| | | | | | (aix5_relocate_main_executable): Don't use file offsets for determining corresponding sections and map file entries. Call map_index_vs_section_name_okay() to do this instead.
* 2001-04-16 David O'Brien <obrien@FreeBSD.org>David O'Brien2001-04-173-2/+7
| | | | | | | | | | * configure.in: Add the em type for FreeBSD targets. * configure: Regenerate. Approved by: Alan Modra <amodra@one.net.au> <20010414192409.C16364@squeak.one.net.au> Philip Blundell <philb@gnu.org> <E14o06W-0002IT-00@kings-cross.london.uk.eu.org>
* Add code to retry certain open()s.Kevin Buettner2001-04-172-9/+50
|