aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-11-07Fix attribution last entryHans-Peter Nilsson1-1/+1
2002-11-07 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT,Hans-Peter Nilsson2-1/+9
case R_CRIS_32_GOT>: Correct test for filling in constant .got contents, enabling for a non-DSO, for symbols defined in the program with --export-dynamic.
2002-11-07 * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,Hans-Peter Nilsson6-0/+67
ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.
2002-11-07 * elf64-ppc.c: Comment typo fixes.Alan Modra2-6/+12
(ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input.
2002-11-07 Only run fastcall test for x86 PE targets.Nick Clifton2-1/+9
2002-11-07Added/Updated Danish translation.Nick Clifton6-26/+4856
2002-11-07Only run tests for PE type x86 targets.Nick Clifton2-3/+6
2002-11-07Revert part of previous patch: Display unknown symbol types in decimal, not hex.Nick Clifton2-1/+6
2002-11-07 Put in place the framework necessary for multiarching the hppa targets.Joel Brobecker3-0/+35
* hppa-tdep.c (hppa_gdbarch_init): New function. (hppa_dump_tdep): New function. (_initialize_hppa_tdep): Register the hppa gdbarch init function and tdep structure dumper. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0 until the multi-arching conversion has partially been completed.
2002-11-072002-11-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-95/+112
* valops.c (value_assign): Merge lval_register case into lval_reg_frame_relative. Use frame_register and regcache_cooked_write instead of get_saved_register and write_register_bytes. After flushing the register cache, try to re-select the selected frame.
2002-11-072002-11-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney9-49/+65
* regcache.h (deprecated_register_valid): Rename register_valid. * regcache.c: Update. * ia64-aix-nat.c: Update. * i386gnu-nat.c: Update. * alpha-nat.c: Update. * sparc-nat.c: Update. * lynx-nat.c: Update. * remote-mips.c: Update.
2002-11-07* config/tc-mips.c (macro_build_lui): _gp_disp is not special onAlexandre Oliva2-2/+8
NEWABI, but we should still emit HI16_S for non-PIC n32.
2002-11-07 * hppa-tdep.c (_initialize_hppa_tdep): Move function bodyJoel Brobecker2-45/+52
to end of file, to be more consistent with the pratice followed by other targets.
2002-11-072002-11-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-28/+97
* infcmd.c: Include "reggroups.h" and <ctype.h>. (print_float_info): Print registers in float_reggroup. (print_vector_info): Print registers in vector_reggroup. (default_print_registers_info): When all, print registers in all_reggroup. Otherwize, print registers in general_reggroup. (registers_info): Rewrite. Add support for register groups. Eliminate a goto.
2002-11-072002-11-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+7
* mi-cmd-var.c (mi_cmd_var_create): Change the function used to parse the frame addr from parse_and_eval_address() to string_to_core_addr(). This is a fix for PR gdb/494.