aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-08-11* dcache.c (dcache_info): Don't print cache state if last_cacheJ.T. Conklin2-12/+20
is NULL.
2000-08-11Enable multi-arch for the mn10300.Andrew Cagney3-43/+131
2000-08-11Adapt support for SSE registers in Linux/x86 for Linux 2.4.Mark Kettenis1-0/+41
* i386-linux-nat.c: Various doc fixes. Include "i387-nat.h". (GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES. (have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs. (convert_to_gregset): Removed. Moved logic to ... (fill_gregset): ... here. Simplified function. (fetch_regs): Use perror_with_name for error reporting. (store_regs): Add `regno' parameter. Use perror_with_name for error reporting. Call fill_gregset instead of convert_to_gregset. (FPREG_ADDR): Remove. (supply_fpregset): Implement by calling i387_supply_fsave. (convert_to_fpregset): Remove. (fill_fpregset): Implement by calling i387_fill_fsave. (fetch_fpregs): Use perror_with_name fro error reporting. (store_fpregs) Add `regno' parameter. Use perror_with_name fro error reporting. Call fill_fpregset instead of convert_to_fpregset. (supply_xfpregset, convert_to_xfpregset): Removed. (supply_fpxregset, fill_fpxregset): New functions. (fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name for error reporting. Call supply_fpxregset instead of supply_xfpregset. (store_xfpregs): Removed. (store_fpxregs): New function. (fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak message in call to internal_error. (store_inferior_registers): Adjust for xfp ->fpx change. Pass REGNO to store_regs, store_fpregs and store_fpxregs. (fetch_core_registers): Adjust for xfp -> fpx change. * acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from HAVE_PTRACE_GETXFPREGS. * config.in: Regenerated. * configure.in: Replace check for PTRACE_GETXFPREGS with check for PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions. * configure: Regenerated. * config/i386/linux.mh (NATDEPFILES): Add i387-nat.o. * config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
2000-08-11 * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,Andrew Cagney5-55/+57
TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move initialization from here. * gdbarch.sh: To here. * gdbarch.h, gdbarch.c: Regenerate.
2000-08-11Move TARGET_*_PTR to gdbarch.h.Andrew Cagney5-178/+202
2000-08-11Eliminate redundant pst test.Andrew Cagney2-1/+6
2000-08-11Rename gdbarch_update() to gdbarch_update_p()Andrew Cagney6-18/+44
2000-08-112000-08-10 Jimmy Guo <guo@cup.hp.com>Jimmy Guo11-14/+176
* c-lang.c: Set case sensitivity on for c_language_defn, cplus_language_defn, and asm_language_defn. * ch-lang.c: Set case sensitivity on for chill_language_defn. * f-lang.c: Set case sensivitity off for f_language_defn. * jv-lang.c: Set case sensitivity on for java_language_defn. * language.h: Add enum case_mode, case_sensitivity. * language.c: Define case_mode, case_sensitivity. Set case sensitivity on for unknown_language_defn, auto_language_defn, and local_language_defn. (show_case_command,set_case_command,set_case_str): New static func. (set_type_range_case): New static func, replaces set_type_range (). (set_language_command,set_type_command,set_range_command,set_language): Call set_type_range_case (). (language_info): Print case sensitivity setting. (_initialize_language): Add set/show commands for 'case-sensitive'. Set default case mode 'auto'. Set default language 'auto'. * m2-lang.c: Set case sensitivity on for m2_language_defn. * p-lang.c: Set case sensitivity on for pascal_language_defn. * scm-lang.c: Set case sensitivity off for scm_language_defn. * symtab.c (lookup_symbol): Downcase symbol name if case sensivitity is off.
2000-08-11Update my contact email for hp tests maintainership.Jimmy Guo2-1/+5
2000-08-10 * sparc-tdep.c (sparc_init_extra_frame_info): Fix number ofAndrew Cagney2-1/+6
arguments to fetch_instruction.
2000-08-102000-08-10 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-1/+2
* gdba.el: Fix a typo.
2000-08-102000-08-10 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-1/+5
* hppa_tdep.c: Fix a comment typo.
2000-08-10 * MAINTAINERS: Added myself with write-after-approval access.Tom Tromey2-0/+5
2000-08-10* monitor.c (monitor_open): If a dcache has already been created,J.T. Conklin8-22/+63
invalidate it rather than creating another. * ocd.c (ocd_open): Likewise. * remote-nindy.c (nindy_open): Likewise. * remote-sds.c (sds_open): Likewise. * remote-utils.c (gr_open): Likewise. * remote.c (remote_open_1, remote_cisco_open): Likewise. * dcache.c (dcache_alloc): Changed to take address of line as an argument, and to invalidate cache line before returning. (dcache_peek_byte): Updated. (dcache_poke_byte): Updated. -------------------------------------------------------------------
2000-08-102000-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-2/+7
From Greg McGary <greg@mcgary.org>: * partial-stab.h: Don't crash if pst is null.
2000-08-10Adapt support for SSE registers in Linux/x86 for Linux 2.4.Mark Kettenis7-721/+456
* i386-linux-nat.c: Various doc fixes. Include "i387-nat.h". (GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES. (have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs. (convert_to_gregset): Removed. Moved logic to ... (fill_gregset): ... here. Simplified function. (fetch_regs): Use perror_with_name for error reporting. (store_regs): Add `regno' parameter. Use perror_with_name for error reporting. Call fill_gregset instead of convert_to_gregset. (FPREG_ADDR): Remove. (supply_fpregset): Implement by calling i387_supply_fsave. (convert_to_fpregset): Remove. (fill_fpregset): Implement by calling i387_fill_fsave. (fetch_fpregs): Use perror_with_name fro error reporting. (store_fpregs) Add `regno' parameter. Use perror_with_name fro error reporting. Call fill_fpregset instead of convert_to_fpregset. (supply_xfpregset, convert_to_xfpregset): Removed. (supply_fpxregset, fill_fpxregset): New functions. (fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name for error reporting. Call supply_fpxregset instead of supply_xfpregset. (store_xfpregs): Removed. (store_fpxregs): New function. (fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak message in call to internal_error. (store_inferior_registers): Adjust for xfp ->fpx change. Pass REGNO to store_regs, store_fpregs and store_fpxregs. (fetch_core_registers): Adjust for xfp -> fpx change. * acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from HAVE_PTRACE_GETXFPREGS. * config.in: Regenerated. * configure.in: Replace check for PTRACE_GETXFPREGS with check for PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions. * configure: Regenerated. * config/i386/linux.mh (NATDEPFILES): Add i387-nat.o. * config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
2000-08-10* i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.Mark Kettenis3-5/+234
(i387_supply_fxsave, i387_fill_fxsave): New prototypes. * i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'. (fxsave_offset): New variable. (FXSAVE_ADDR): New macro. (i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions.
2000-08-10* gdbint.texinfo (Overall Structure): Spelling fix.Mark Kettenis2-1/+5
2000-08-10 * gdbint.texinfo (Target Architecture Definition): Document thatEli Zaretskii2-2/+16
REGISTER_CONVERT_TO_VIRTUAL should only be called on a register for which REGISTER_CONVERTIBLE returns a zero value.
2000-08-10 * jv-valprint.c (java_value_print): Only print non-null Strings.Tom Tromey2-2/+7
2000-08-10Protoization.Kevin Buettner3-18/+18
2000-08-092000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder11-10/+34
* blockframe.c (sigtramp_saved_pc): Use dynamic allocation, since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH). * irix4-nat.c (get_longjmp_target): Ditto. * irix5-nat.c (get_longjmp_target): Ditto. * jv-valprint.c (java_value_print): Ditto. * m3-nat.c (get_cprocs): Ditto. * m68k-tdep.c (get_longjmp_target): Ditto. * mips-nat.c (get_longjmp_target): Ditto. * mipsv4-nat.c(get_longjmp_target): Ditto. * pa64solib.c (read_dynamic_info): Ditto. * solib.c (elf_locate_base): Ditto.
2000-08-08remove build_parse entry about buffer overrun.David Taylor2-4/+4
2000-08-08Protoize.Kevin Buettner2-32/+17
2000-08-072000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+1
* objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss here, let the users of the macro do it. * symtab.h (ANOFFSET): Detect here if the section index is not initialized. * xcoffread.c (find_targ_sec): Don't treat .bss as special, because some objfiles may not have that section at all. * coffread.c (cs_to_section): Ditto. * elfread.c (elf_symtab_read): Detect an uninitialized index value. (elfstab_offset_sections): The macro ANOFFSET cannot be used as an lvalue anymore. * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use ANOFFSET as an lvalue. * objfiles.c (objfile_relocate, objfile_relocate): Don't use ANOFFSET as an lvalue. * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an lvalue.
2000-08-072000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni8-20/+52
* objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss here, let the users of the macro do it. * symtab.h (ANOFFSET): Detect here if the section index is not initialized. * xcoffread.c (find_targ_sec): Don't treat .bss as special, because some objfiles may not have that section at all. * coffread.c (cs_to_section): Ditto. * elfread.c (elf_symtab_read): Detect an uninitialized index value. (elfstab_offset_sections): The macro ANOFFSET cannot be used as an lvalue anymore. * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use ANOFFSET as an lvalue. * objfiles.c (objfile_relocate, objfile_relocate): Don't use ANOFFSET as an lvalue. * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an lvalue.
2000-08-07parse.c (build_parse): don't write off the end of the std_regs array.David Taylor2-12/+29
2000-08-07* solib.c (bfd_lookup_symbol): Fall back on the dynamic symbolMark Kettenis2-2/+36
table if the symbol couldn't be found in the normal symbol table (i.e. if the shared object in question was stripped).
2000-08-07Protoize ch-exp.c, core-regset.c.Kevin Buettner3-12/+16
2000-08-06Minor reformat.Christopher Faylor1-2/+2
2000-08-06* win32-nat.c: Perform various gcc warning cleanups.Christopher Faylor5-129/+155
(safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not stderr. (dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add. (get_child_debug_event): Always reset last_sig. Always reset inferior pid appropriately. (do_initial_child_stuff): New function. Called when attaching or starting a new inferior process. (child_attach): Use do_initial_child_stuff. (child_create_inferior): Ditto. * config/i386/cygwin.mh (NAT_FILE): Set to modern location. * config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
2000-08-06 * go32-nat.c: (go32_wait): If child_cwd[] is empty, initializeEli Zaretskii2-2/+23
it to GDB's current directory. (go32_create_inferior, init_go32_ops): Initialize child_cwd[] to an empty string, to signal an uninitialized value. From Robert Hoehne <robert.hoehne@gmx.net>.
2000-08-04Fixup SYMBOL_SECTION for objfiles_relocate().Kevin Buettner4-12/+33
2000-08-04Add code for (re)building the minimal symbol hash tables.Kevin Buettner2-11/+46
2000-08-04Fix date in comment.Kevin Buettner1-1/+1
2000-08-04DWARF2.1 64-bit support.Kevin Buettner2-17/+142
2000-08-04Re-implement ``set/show remote Z-packet ...'' commands so that each ZAndrew Cagney3-150/+436
packet sub-type can be explicitly controled.
2000-08-04Revert SER_HARDWIRE regression.Andrew Cagney2-3/+9
2000-08-04Missing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed.Andrew Cagney1-0/+30
2000-08-04Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).Andrew Cagney6-21/+49
2000-08-03Stephane Carrez maintainer of 68hc11 targetStephane Carrez2-1/+5
2000-08-03Protoization.Kevin Buettner2-9/+8
2000-08-03Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney2-5/+11
* remote-mips.c (mips_expect, mips_expect_timeout, common_open, fputs_readable): Make string pointer arguments constant.
2000-08-03Minor tweeks.Andrew Cagney3-3/+15
2000-08-03List things for 5.1.Andrew Cagney2-108/+214
2000-08-03Protoization.Kevin Buettner2-4/+6
2000-08-03* gdb.hp/gdb.aCC/namespace.exp: Remove. Moved to gdb.c++.Jimmy Guo2-296/+0
* gdb.hp/gdb.aCC/namespace.cc: Remove. Moved to gdb.c++.
2000-08-02* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSETJimmy Guo3-4/+12
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P. * gdbarch.c: Regenerated.
2000-08-02* gdb.base/sizeof.c: include <stdio.h>.Jimmy Guo2-0/+10
2000-08-02* gdb.c++/classes.exp: Use gdb_test instead of send_gdb toJimmy Guo1-1/+1
'finish', otherwise uncaptured gdb_prompt would potentially throw remaining test points out of sync.