aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-08-27* gregset.h: Protect against multiple inclusion. Remove someMark Kettenis2-7/+17
redundant spaces.
2000-08-27* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a suppliedChristopher Faylor6-198/+697
argument if it is missing an extension. * corelow.c: Define O_BINARY if it isn't defined. (core_open): Open core file in binary mode. * config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib. * config/i386/cygwin.mh: Add dependency from corelow.o. * win32-nat.c (register_loaded_dll): New function. Add dll to the list of currently loaded dlls. (handle_load_dll): Use register_loaded_dll. (child_solib_add): Distinguish between active process and core targets. (solib_symbols_add): Load symbols from loaded dll. (core_dll_symbols_add): New function. Load symbols from dll referenced in core. (core_section_load_dll_symbols): New function. (dll_code_sections_add): New function. (map_single_dll_code_section): New function. (fetch_elf_core_registers): New function. (_initialize_core_win32): New function.
2000-08-26Protoization.Kevin Buettner3-9/+8
2000-08-26Multi-arch support for 68hc11Stephane Carrez2-355/+668
2000-08-25Fri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>David Taylor3-0/+16
* regcache.c (register_changed): New function. * value.h: Declare it.
2000-08-25Fri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>David Taylor7-17/+97
* symtab.c (search_symbols): Fix off by one error in index for initializing variables ourtype, ourtype2, ourtype3, and ourtype4. (symtab_symbol_info): fix similar off by one error. Fri Aug 25 12:03:15 2000 David Taylor <taylor@texas.cygnus.com> * gdbarch.sh (TARGET_ADDR_BIT): New macro for the number of bits in gdb's representation of a target address. * gdbarch.c, gdbarch.h: Regenerated. * gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR. * printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead of TARGET_PTR_BIT, because we're printing an address, not a pointer.
2000-08-252000-08-24 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-7/+48
* Makefile.in: add rules to compile and link pascal specific files. * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.
2000-08-242000-08-20 Michael Chastain <chastain@redhat.com>Andrew Cagney2-2/+20
* remote.c (read_frame): Handle SERIAL_TIMEOUT while reading checksum.
2000-08-23Protoize.Kevin Buettner3-12/+9
2000-08-23 * gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.Eli Zaretskii2-69/+78
Fix typos and markup mistakes (from Dmitry S. Sivachenko <dima@Chg.RU>).
2000-08-21Protoization.Kevin Buettner3-15/+10
2000-08-19Check arches->gdbarch and not current_gdbarch when looking for a match.Andrew Cagney2-2/+7
2000-08-18* MAINTAINERS: Add myself as dcache.c maintainer.J.T. Conklin12-34/+74
* remote-nindy.c (nindy_load): Invalidate dcache. * dcache.c (dcache_invd): Renamed from dcache_flush. The term flush with respect to caches usually implies that data will be written to memory. (dcache_init, dcache_xfer_memory): Updated. * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load): Updated. * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated. * remote-bug.c (bug_load, bug_resume): Updated. * remote-nindy.c (nindy_open, nindy_resume): Updated. * remote-sds.c (sds_open, sds_resume): Updated. * remote-utils.c (gr_open): Updated. * remote.c (remote_open_1, remote_resume, remote_async_resume, remote_cisco_open): Updated. * wince.c (child_create_inferior, child_resume): Updated. * monitor.c (monitor_open): Free dcache before creating a new one. * dcache.c (dcache_free): New function. * dcache.h (dcache_free): New prototype. -------------------------------------------------------------------
2000-08-18Add dummy params where needed.Andrew Cagney2-2/+8
2000-08-16 * value.h (struct value) <lazy>: Add a comment about its use forEli Zaretskii2-1/+17
watchpoints.
2000-08-13Protoization.Kevin Buettner4-16/+15
2000-08-12Add formatted register info.Andrew Cagney3-1/+139
Convert more of mn10300 to multi-arch. Fix mips vs mn10300
2000-08-11* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,Mark Kettenis2-2/+7
store_fpxregs): Return 0.
2000-08-11Restore GET_SAVED_REGISTERSAndrew Cagney2-0/+10
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.