summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-14 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-1440-292/+347
| | | | | | | | | | | | | | | | * regcache.h (deprecated_registers): Rename registers. * a68v-nat.c, alpha-nat.c, arch-utils.c, core-sol2.c: Update. * hp300ux-nat.c, hppab-nat.c, hppah-nat.c: Update. * hppam3-nat.c, hpux-thread.c, i386gnu-nat.c: Update. * ia64-aix-nat.c, ia64-linux-nat.c, ia64-tdep.c: Update. * irix4-nat.c, irix5-nat.c, lynx-nat.c, m68k-tdep.c: Update. * m68knbsd-nat.c, mips-linux-tdep.c, mipsm3-nat.c: Update. * mipsv4-nat.c, ns32knbsd-nat.c, ppc-bdm.c: Update. * ppc-sysv-tdep.c, ptx4-nat.c, regcache.c, remote-es.c: Update. * remote-sds.c, remote-vx68.c, remote-vxmips.c: Update. * remote-vxsparc.c, rs6000-tdep.c, sol-thread.c: Update. * sparc-nat.c, sparc-tdep.c, sun3-nat.c, symm-nat.c: Update. * v850ice.c: Update.
* Wed Nov 13 19:51:05 2002 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-142-0/+14
| | | | | * utils.c (gdb_realpath): Add comment mentioning realpath with a NULL buffer.
* 2002-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-1445-167/+204
| | | | | | | | | | | | | | | | | | | | | | | | | * regcache.h (deprecated_read_register_bytes): Rename read_register_bytes. (deprecated_write_register_bytes): Rename write_register_bytes. * alpha-tdep.c, arm-tdep.c, cris-tdep.c, d10v-tdep.c: Update. * dwarf2cfi.c, frv-tdep.c, hppa-tdep.c, ia64-tdep.c: Update. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. * ns32k-tdep.c, regcache.c, remote-sds.c, remote-vx.c: Update. * remote.c, rs6000-tdep.c, s390-tdep.c, sh-tdep.c: Update. * sparc-tdep.c, v850-tdep.c, vax-tdep.c, x86-64-tdep.c: Update. * xstormy16-tdep.c, z8k-tdep.c, config/nm-gnu.h: Update. * config/nm-m3.h, config/h8500/tm-h8500.h: Update. * config/i386/nm-ptx4.h, config/i386/nm-symmetry.h: Update. * config/m32r/tm-m32r.h, config/m68k/nm-sun3.h: Update. * config/m68k/tm-delta68.h, config/m68k/tm-linux.h: Update. * config/mn10200/tm-mn10200.h, config/pa/tm-hppa64.h: Update. * config/sparc/nm-nbsd.h, config/sparc/nm-sun4os4.h: Update. * config/sparc/nm-sun4sol2.h, config/sparc/tm-sparclet.h: Update. 2002-11-13 Andrew Cagney <ac131313@redhat.com> * mi-main.c (mi_cmd_data_write_register_values): Use deprecated_write_register_bytes instead of write_register_bytes.
* *** empty log message ***gdbadmin2002-11-141-1/+1
|
* 2002-11-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-11-131-1/+1
| | | | * library/memwin.itb: Supply arg to _update_address.
* * findvar.c (read_var_value): Doc fix.Jim Blandy2002-11-132-3/+4
|
* 2002-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-133-46/+108
| | | | | | | | | | | | | | | | | | * regcache.c (struct regcache): Replace passthough_p with readonly_p. (regcache_xmalloc): Initialize readonly_p. (build_regcache): Initialize readonly_p. (regcache_save): New function. (regcache_restore): New function. (regcache_cpy): Re-implement using regcache_save and regcache_restore. (regcache_raw_read): Update. (regcache_cooked_read): When a read-only cache, checked for cached pseudo register values. (regcache_raw_write): Assert that the cache is not read-only. Remove code handling a non-passthrough cache. * regcache.h (regcache_save): Declare. (regcache_restore): Declare.
* 2002-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-132-29/+51
| | | | | | | | | * regcache.c (struct regcache_descr): Add fields sizeof_cooked_registers and sizeof_cooked_register_valid_p. (init_legacy_regcache_descr): Compute the size of a cooked register cache and then assign that to sizeof_raw_registers. Set sizeof_raw_register_valid_p to sizeof_cooked_register_valid_p (init_legacy_regcache_descr): Ditto.
* 2002-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-132-30/+48
| | | | | | | | | | | | | | | | | | | * regcache.c (register_buffer): Move to near start of file, update description. (regcache_raw_read): Use. (regcache_raw_write): Use. (struct regcache): Rename raw_registers to registers and raw_register_valid_p to register_valid_p. (regcache_xmalloc): Update. (regcache_xfree): Update. (register_buffer): Update. (regcache_cpy): Update. (regcache_cpy_no_passthrough): Update. (regcache_valid_p): Update. (deprecated_grub_regcache_for_registers): Update. (deprecated_grub_regcache_for_register_valid): Update. (set_register_cached): Update. (regcache_raw_write): Update.
* 2002-11-13 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2002-11-132-1/+6
| | | | | * p-exp.y (name_not_typename): Use copy_name to set current_type variable for fields of THIS.
* *** empty log message ***gdbadmin2002-11-131-1/+1
|
* * gnu-nat.c (init_gnu_ops): Remove NULL initializations.Daniel Jacobowitz2002-11-1214-413/+18
| | | | | | | | | | | | | | | | | * monitor.c (init_base_monitor_ops): Likewise. * ppc-bdm.c (init_bdm_ppc_ops): Likewise. * remote-array.c (init_array_ops): Likewise. * remote-e7000.c (init_e7000_ops): Likewise. * remote-es.c (init_es1800_ops): Likewise. (init_es1800_child_ops): Likewise. * remote-rdp.c (init_remote_rdp_ops): Likewise. * remote-sim.c (init_gdbsim_ops): Likewise. * remote-st.c (init_st2000_ops): Likewise. * sol-thread.c (init_sol_core_ops): Likewise. (init_sol_thread_ops): Likewise. * v850ice.c (init_850ice_ops): Likewise. * win32-nat.c (init_child_ops): Likewise. * wince.c (init_child_ops): Likewise.
* 2002-11-12 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-122-1/+5
| | | | * utils.c (gdb_realpath): Make rp a constant pointer.
* From: 2002-11-11 David Carlton <carlton@math.stanford.edu>Andrew Cagney2002-11-123-3/+10
| | | | | | * generic/gdbtk-stack.c (get_frame_name): Replace call to frame_in_dummy with one to deprecated_frame_in_dummy. * generic/gdbtk-cmds.c (gdb_loc): Ditto.
* 2002-11-12 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-122-16/+55
| | | | | | * utils.c (gdb_realpath): Rewrite. Try, in order: realpath() with a constant buffer; cannonicalize_file_name(); realpath() with a pathconf() defined buffer, xstrdup().
* 2002-11-12 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-122-3/+8
| | | | | * config/djgpp/fnchange.lst: Fix typo, hang1.c to hang1.C; hang2.c to hang2.C; hang3.c to hang3.C.
* 2002-11-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-129-73/+264
| | | | | | | | | | | | | | | | | | | | | | * findvar.c (read_var_value): Reenable TLS code. 2002-11-11 Elena Zannoni <ezannoni@redhat.com> Jim Blandy <jimb@redhat.com> * gdb_thread_db.h (enum): Add TD_NOTALLOC. * target.c (update_current_target): Add to_get_thread_local_address. * target.h (to_get_thread_local_address): Export. (target_get_thread_local_address): Define. (target_get_thread_local_address_p): Define. * thread-db.c: Include solib-svr4.h. (td_thr_tls_get_addr_p): Define. (thread_db_load): Get a pointer to td_thr_tls_get_addr. (thread_db_get_thread_local_address): New function. (init_thread_db_ops): Initialize to_get_thread_local_address. * configure.in: Add test for TD_NOTALLOC in thread_db.h. * configure: Regenerate. * config.in: Regenerate.
* *** empty log message ***gdbadmin2002-11-121-1/+1
|
* 2002-11-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-11-112-1/+6
| | | | | * library/srctextwin.itb (do_key): Add arg to print call.
* 2002-11-11 David Carlton <carlton@math.stanford.edu>David Carlton2002-11-112-40/+58
| | | | | * linespec.c (set_flags): New function. (decode_line_1): Move code into set_flags.
* UpdatedMartin Hunt2002-11-111-9/+0
|
* 2002-11-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-11-113-90/+9
| | | | | * library/data.ith: Deleted. * library/data.itb: Deleted.
* 2002-11-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-11-113-846/+5
| | | | | * library/toolbar.tcl: Deleted this obsolete file. * library/tclIndex: Rebuilt.
* 2002-11-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-11-112-4/+17
| | | | | | | * library/srcbar.itcl (create_help_menu): For unix systems, if compatibility is set to KDE or GNOME, put the help menu in the right place. Otherwise put it on the far right, like Motif does.
* UpdatedMartin Hunt2002-11-111-16/+2
|
* 2002-11-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-11-116-389/+121
| | | | | | | | | | | | | | | | * library/helpviewer.tcl: New file. Finds an appropriate help browser and displays the help files. * library/vartree.itb: Fix open_help calls. * library/helpviewer.ith: Deleted. * library/helpviewer.itb: Deleted. * library/prefs.tcl (pref_set_defaults): Remove pref gdb/help/browser. Add pref gdb/help/browsername. We couldn't simply rename because it would break older versions of Insight that expect gdb/help/browser to be a number.
* 2002-11-11 David Carlton <carlton@math.stanford.edu>David Carlton2002-11-112-33/+68
| | | | | | | * linespec.c (decode_line_1): Move chunks of code to separate functions. (initialize_defaults): New function. (decode_indirect): New function.
* 2002-11-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-112-1/+20
| | | | | * gdbmi.texinfo (-var-assign): Add comments about interaction with -var-update and add an example. Part of fix for gdb/702.
* 2002-11-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-112-2/+6
| | | | | | * blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr instead of void_code_ptr. (sigtramp_saved_pc): Ditto.
* 2002-11-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-112-0/+14
| | | | | * x86-64-tdep.c (i386_fp_regnum_p): Copy i386-tdep.c's i386_fp_regnum_p.
* * gdbtypes.h (struct main_type): Move artificial flag out ofDaniel Jacobowitz2002-11-118-15/+64
| | | | | | | | | | | | | | | | | | | | loc. New member of ``struct field'' named static_kind. Reduce overloaded meaning of bitsize. (FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR) (TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise. (FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros. * ada-lang.c (fill_in_ada_prototype): Initialize static_kind for new fields. (template_to_fixed_record_type, template_to_static_fixed_type) (to_record_with_fixed_variant_part): Likewise. * coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise. * dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise. * dwarfread.c (struct_type, enum_type): Likewise. * hpread.c (hpread_read_enum_type) (hpread_read_function_type, hpread_read_doc_function_type) (hpread_read_struct_type): Likewise. * mdebugread.c (parse_symbol): Likewise.
* *** empty log message ***gdbadmin2002-11-111-1/+1
|
* 2002-11-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-108-9/+33
| | | | | | | | | | * breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy. * stack.c (print_frame_info_base): Update. (print_frame_info_base, frame_info): Update. * sparc-tdep.c (sparc_init_extra_frame_info): Update. (sparc_frame_saved_pc): Update. * ada-lang.c (find_printable_frame): Update. * breakpoint.c (deprecated_frame_in_dummy): Update.
* *** empty log message ***gdbadmin2002-11-101-1/+1
|
* * i386-linux-nat.c (ORIG_EAX): Define to -1 if not alreadyMark Kettenis2002-11-093-140/+84
| | | | | | | | | | | | | | | | | | | | | | defined. (regmap): Extend to cover all registers. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE, OLD_CANNOT_FETCH_REGISTERS, OLD_CANNOT_STORE_REGISTERS): Remove definitions. (fetch_register, sore_register): Simplify. (old_fetch_inferior_registers, old_store_inferior_registers): Remove functions. (cannot_fetch_register, cannot_store_register): Change implementation to use regmap array to decide which registers cannot be fetched/stored. This removes $orig_eax from the registers that cannot be fetched/stored. (fetch_inferior_registers): Call fetch_register directly instead of calling old_fetch_inferior_registers. (store_inferior_registers): Call store_register directly instead of calling old_store_inferior_registers. (i386_linux_dr_get): Replace PT_READ_U with PTRACE_PEEKUSER. (i386_linux_dr_set): Replace PT_WRITE_U with PTRACE_POKEUSER. * config/i386/nm-linux.h (U_REGS_OFFSET): Remove definition.
* 2002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-092-0/+21
| | | | | | | | | * i387-tdep.c (i387_supply_register): When called with NULL as a buffer, mark the register as not provided (to mirror the behavior of supply_register). (i387_supply_fxsave): Ditto. (i387_supply_fsave): Ditto (inherits the behavior from i387_supply_register).
* 2002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-092-2/+9
| | | | | | | * blockframe.c (sigtramp_saved_pc): Use builtin_type_void_code_ptr, not builtin_type_void_data_ptr (we are extracting the PC). Use TYPE_LENGTH (builtin_type_void_code_ptr) instead of (TARGET_PTR_BIT / TARGET_CHAR_BIT).
* 2002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-093-451/+455
| | | | | * chexp.exp: Mark as obsolete. * pr-5016.exp: Remove stray trailing newline.
* 2002-11-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-093-10/+15
| | | | | | | * frame.c (get_prev_frame): Test prev_p to identify a previously unwound frame. Initialize prev_p. * frame.h (struct frame_info): Add field prev_p. Expand prev/next comment.
* 2002-11-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-092-86/+134
| | | | | | * frame.c (get_prev_frame): Cleanups. Eliminate redundant tests for a NULL NEXT_FRAME. Simplify fromleaf initialization. Add more comments. Zap dead code.
* * infcmd.c (print_vector_info, print_float_info): Move code thatMark Kettenis2002-11-092-10/+17
| | | | | | checks whether the target has any registers and whether there is a selected frame up, such that it is also used if a target provides multi-arch definitions of these functions.
* 2002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-092-15/+29
| | | | | | * Makefile.in (DESTDIR): Define. (install-only, install-gdbtk, uninstall-gdbtk): Add $(DESTDIR) prefix.
* 2002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-092-0/+18
| | | | | * config/djgpp/fnchange.lst: 8.3 proof i386obsd-nat.c and i386obsd-tdep.c. Rename paths containing "gdb.c++" to "gdb.cxx".
* *** empty log message ***gdbadmin2002-11-091-1/+1
|
* 2002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-084-0/+94
| | | | | | | | | | | | | | | | * i386-linux-tdep.c: Include "reggroups.h". (i386_linux_register_reggroup_p): New function. (i386_linux_init_abi): Set register_reggroup_p to i386_linux_register_reggroup_p. * i386-tdep.h (i386_register_reggroup_p): Declare. * i386-tdep.c: Include "reggroups.h". (i386_init_reggroups): New function. (i386_add_reggroups): New function. (i386_register_reggroup_p): New function. (i386_sse_reggroup, i386_mmx_reggroup): New variables. (_initialize_i386_tdep): Call i386_init_reggroups. (i386_gdbarch_init): Set register_reggroup_p and add in the i386 specific reggroups.
* * infptrace.c (child_xfer_memory): Make use of the new PT_IOMark Kettenis2002-11-082-0/+34
| | | | request that's available in *BSD.
* * i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.Mark Kettenis2002-11-082-1/+2
|
* * i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead ofMark Kettenis2002-11-082-1/+6
| | | | FDOFF_REGNUM.
* 2002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-084-37/+51
| | | | | | | | | | | | | * frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind. * dummy-frame.c (find_dummy_frame): Rename generic_find_dummy_frame, make static. Return the dummy frame instead of the regcache. (generic_find_dummy_frame): Re-implement using find_dummy_frame, (cached_find_dummy_frame): New function. Use find_dummy_frame. (dummy_frame_register_unwind): Rename generic_call_dummy_register_unwind. Use cached_find_dummy_frame. * dummy-frame.h (dummy_frame_register_unwind): Rename generic_call_dummy_register_unwind.
* * config/i386/tm-i386v42mp.h: Remove file. Move its contents,Mark Kettenis2002-11-084-94/+77
| | | | | | except the inclusion of "i386/tm-i386.h", to... * config/i386/nm-i386v42mp.h: ...here. * config/i386/i386v42mp.mt (TM_FILE): Set to tm-i386.h.