aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-102002-11-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-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.
2002-11-10 * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:Hans-Peter Nilsson2-0/+9
Initialize target of fixup to zero.
2002-11-10 * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,Hans-Peter Nilsson5-10/+15
ld-mmix/local7.d: Tweak for change in readelf output.
2002-11-10*** empty log message ***gdbadmin1-1/+1
2002-11-09daily updateAlan Modra1-1/+1
2002-11-09* i386-linux-nat.c (ORIG_EAX): Define to -1 if not alreadyMark Kettenis3-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-092002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2-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-092002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2-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-092002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes3-451/+455
* chexp.exp: Mark as obsolete. * pr-5016.exp: Remove stray trailing newline.
2002-11-092002-11-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-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-092002-11-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-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.
2002-11-09* infcmd.c (print_vector_info, print_float_info): Move code thatMark Kettenis2-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-09 * ld-elfvsb/define.s: Avoid use of @ in .type directive.Alan Modra2-3/+7
2002-11-092002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-15/+29
* Makefile.in (DESTDIR): Define. (install-only, install-gdbtk, uninstall-gdbtk): Add $(DESTDIR) prefix.
2002-11-092002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+18
* config/djgpp/fnchange.lst: 8.3 proof i386obsd-nat.c and i386obsd-tdep.c. Rename paths containing "gdb.c++" to "gdb.cxx".
2002-11-09 * elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip outputAlan Modra2-13/+7
section when dynamic section unused; _bfd_strip_section_from_output instead.
2002-11-09*** empty log message ***gdbadmin1-1/+1
2002-11-082002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-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.
2002-11-08* infptrace.c (child_xfer_memory): Make use of the new PT_IOMark Kettenis2-0/+34
request that's available in *BSD.
2002-11-08* i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.Mark Kettenis2-1/+2
2002-11-08* i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead ofMark Kettenis2-1/+6
FDOFF_REGNUM.
2002-11-082002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-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.
2002-11-08daily updateAlan Modra1-1/+1
2002-11-08* config/i386/tm-i386v42mp.h: Remove file. Move its contents,Mark Kettenis4-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.
2002-11-082002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-552/+563
* Makefile.in (frame.o): Update dependencies. * blockframe.c (current_frame, frame_obstack_alloc) (frame_saved_regs_zalloc, get_current_frame) (set_current_frame, create_new_frame) (set_unwind_by_pc, get_next_frame) (flush_cached_frames, reinit_frame_cache) (frame_saved_regs_register_unwind) (deprecated_generic_get_saved_register) (get_prev_frame, get_frame_pc, get_frame_saved_regs) (_initialize_blockframe): Move frame code from here... * frame.c: ...to here. Include "gdb_obstack.h", "gdbcore.h", "annotate.h" and "dummy-frame.h". (_initialize_frame): New function.
2002-11-082002-11-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-8/+28
* mi-main.c (mi_command_loop): Initialize raw_stdout and gdb_stdout only if mi version is <= 1. (mi_init_ui): Initialize raw_stdout and gdb_stdout if mi version is > 1 so startup message is treated as console output. This is part of fix for PR gdb/604.
2002-11-082002-11-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+26
* lib/mi-support.exp (mi_gdb_start): Verify the startup message for mi1 and current mi is in correct format. New mi startup message should be in mi console format. This is part of fix for PR gdb/604.
2002-11-08* dwarf2read.c (read_func_scope): Restore list_in_scope properlyJim Blandy3-1/+14
when we finish a function a context. * buildsym.h (outermost_context_p): New macro. (Bug analyzed by David Edelsohn.)
2002-11-082002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-306/+404
* blockframe.c: Include "dummy-frame.h". (struct dummy_frame, dummy_frame_stack) (generic_find_dummy_frame, deprecated_generic_find_dummy_frame) (generic_pc_in_call_dummy, deprecated_read_register_dummy) (generic_push_dummy_frame, generic_save_dummy_frame_tos) (generic_save_call_dummy_addr, generic_pop_current_frame) (generic_pop_dummy_frame, generic_fix_call_dummy) (generic_fix_call_dummy, generic_call_dummy_register_unwind): Move dummy frame code from here... * dummy-frame.c: ...to here. New file. * dummy-frame.h: New file. (generic_call_dummy_register_unwind): Declare. (generic_find_dummy_frame): Declare. * Makefile.in (SFILES): Add dummy-frame.c. (dummy-frame.o): Specify dependencies. (dummy_frame_h): Define. (COMMON_OBS): Add dummy-frame.o. (blockframe.o): Update dependencies.
2002-11-08* dwarf2read.c (read_func_scope): Restore local_symbols andJim Blandy2-0/+14
param_symbols after we finish the function context. (Based on a patch from David Edelsohn.)
2002-11-082002-11-08 David Carlton <carlton@math.stanford.edu>David Carlton2-86/+111
* linespec.c (symbol_found): New function. (minsym_found): New function. (decode_line_1): Separate out some code into separate functions.
2002-11-08 * i386-tdep.c (i386_frameless_signal_p): Make non static forJoel Brobecker3-1/+8
the benefit of the interix target. * i386-tdep.h (i386_frameless_signal_p): Declare.
2002-11-082002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-4/+5
* i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray declaration that snuck in from change below.
2002-11-082002-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-23/+81
* i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p. Update all callers. (i386_fp_regnum_p): New function. Use instead of FP_REGNUM_P. (i386_fpc_regnum_p): New function. Use instead of FPC_REGNUM_P. (i386_sse_regnum_p): New function. Use instead of SSE_REGNUM_P. (i386_mxcsr_regnum_p): new function. Use instead of MXCSR_REGNUM_P. * i386-tdep.h (SSE_REGNUM_P): Delete macro. (i386_sse_regnum_p): Declare. (i386_mxcsr_regnum_p): Declare. (FP_REGNUM_P, FPC_REGNUM_P): Delete macros. (i386_fp_regnum_p, i386_fpc_regnum_p): Declare. (IS_FP_REGNUM): Update definition. (IS_FPU_CTRL_REGNUM): Update definition.. (IS_SSE_REGNUM): Update definition.. * i386v-nat.c (register_u_addr): Update. * go32-nat.c (fetch_register): Update. (store_register): Update.
2002-11-08 Preparation work to convert the hppa targets to multiarch partial.Joel Brobecker4-96/+241
* hppa-tdep.c: Add new functions replacing macro bodies from config/pa/tm-hppa.h. These function will be used to initialize the gdbarch structure. Import some comments from tm-hppa.h, and place them where appropriate, to avoid loosing them when we cleanup this file. (hppa_reg_struct_has_addr): New function. (hppa_inner_than): New function. (hppa_stack_align): New function. (hppa_pc_requires_run_before_use): New function. (hppa_instruction_nullified): New function. (hppa_register_byte): New function. (hppa_register_virtual_type): New function. (hppa_store_struct_return): New function. (hppa_cannot_store_register): New function. (hppa_frame_args_address): New function. (hppa_frame_locals_address): New function. (hppa_smash_text_address): New function. (hppa_coerce_float_to_double): New function. Requires the inclusion of "language.h". * Makefile.in (hppa-tdep.o): Add dependency on language.h. * tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this gdbarch-eligible macro to a call to the new associated function created in hppa-tdep.c. (INNER_THAN): Likewise. (STACK_ALIGN): Likewise. (PC_REQUIRES_RUN_BEFORE_USE): Likewise. (INSTRUCTION_NULLIFIED): Likewise. (REGISTER_BYTE): Likewise. (REGISTER_VIRTUAL_TYPE): Likewise. (STORE_STRUCT_RETURN): Likewise. (CANNOT_STORE_REGISTER): Likewise. (FRAME_ARGS_ADDRESS): Likewise. (FRAME_LOCALS_ADDRESS): Likewise. (SMASH_TEXT_ADDRESS): Likewise. (COERCE_FLOAT_TO_DOUBLE): Likewise. (ABOUT_TO_RETURN): Delete, as no longer used.
2002-11-08 * printcmd.c (disassemble_command): Remove obsolete function.Fernando Nasser5-120/+112
(_initialize_printcmd): Do not create disassemble command here. * cli/cli-cmds.c (disassemble_command): New function. Implements disassemble command. (init_cli_cmds): Create disassemble command here instead. * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine which explicitly prints the zero offset as "+0".
2002-11-082002-11-07 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-1/+2
* ppc-opc.c (EVUIMM_4): Change bit size to 32. (EVUIMM_2): Same. (EVUIMM_8): Same.
2002-11-08*** empty log message ***gdbadmin1-1/+1
2002-11-072002-11-07 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-2/+7
* ppc-opc.c (EVUIMM_4): Change bit size to 32. (EVUIMM_2): Same.
2002-11-072002-11-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+5
* MAINTAINERS: Add Daniel Jacobowitz to global maintainers list.
2002-11-07Disable sym_vec too.Alan Modra2-1/+5
2002-11-07 * targets.c (_bfd_target_vector): Disable pef_vec and pef_xlib_vec.Alan Modra2-0/+5
2002-11-07daily updateAlan Modra1-1/+1
2002-11-07 * dwarf2.c: Revert last change.Alan Modra2-8/+12
2002-11-072002-11-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-110/+16
* regcache.h (regcache_cooked_read_using_offset_hack) (regcache_cooked_write_using_offset_hack): Delete declarations. (register_changed): Delete declaration. * regcache.c (regcache_cooked_read_using_offset_hack) (regcache_cooked_write_using_offset_hack): Delete functions. (cooked_xfer_using_offset_hack): Delete function. (register_changed): Delete function.
2002-11-07* macroscope.c: #include "complaints.h".Jim Blandy3-12/+40
(sal_macro_scope): Cope with filenames that appear in the symtabs, but not in the macro table. * Makefile.in (macroscope.o): Record dependency.
2002-11-07 * PROBLEMS: Document gdb/816 (unable to read core file on alpha-osf).Joel Brobecker2-0/+19
2002-11-072002-11-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney15-17/+39
* regcache.c (deprecated_registers_fetched): Update. * regcache.h (deprecated_registers_fetched): Rename registers_fetched. * remote-vxsparc.c (vx_read_register): Update. * remote-vxmips.c (vx_read_register): Update. * remote-vx68.c (vx_read_register): Update. * irix5-nat.c (fetch_core_registers): Update. * mipsm3-nat.c (fetch_inferior_registers): Update. * sun3-nat.c (fetch_inferior_registers): Update. * symm-nat.c (fetch_inferior_registers): Update. * ns32knbsd-nat.c (fetch_inferior_registers): Update. (fetch_core_registers): Update. (fetch_kcore_registers): Update. * mips-nat.c (fetch_inferior_registers): Update. * corelow.c (get_core_registers): Update. * a68v-nat.c (fetch_inferior_registers): Update.
2002-11-07Use bfd_simple_get_relocated_section_contents() instead of ↵Nick Clifton4-21/+48
bfd_get_section_contents().
2002-11-07Convert ia64-gen to use getopt(). Add standard GNU options plus --srcdir.Nick Clifton12-2203/+2292
Convert Makefile.am to pass --srcdir to ia64-gen. Fix compile time warnings.