aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-11-072002-11-06 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-4/+8
* opcodes/ppc-opc.c: Change RD to RS for evmerge*.
2002-11-07* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.Alexandre Oliva3-0/+9
* emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
2002-11-07 * config/tc-alpha.c (alpha_validate_fix): Move code ...Richard Henderson6-48/+1468
(alpha_fix_adjustable): ... here. * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
2002-11-07*** empty log message ***gdbadmin1-1/+1
2002-11-06 * ld-sh/rd-sh.exp: Set asflags_save always.Kaz Kojima2-2/+7
2002-11-062002-11-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-40/+8
* symtab.c (methods_info): Delete. It has been ifdeffed out for ages. (symtab_symbol_info): Remove eons old ifdeffed out code. (_initialize_symtab): Remove prehistoric disabled 'info methods' command.
2002-11-06daily updateAlan Modra1-1/+1
2002-11-06* c-exp.y: Add missing semi-colons.Theodore A. Roth5-1/+21
* f-exp.y: Add missing semi-colons. * m2-exp.y: Add missing semi-colons. * p-exp.y: Add missing semi-colons. Add empty action to start rule to avoid a type clash error when building with bison >= 1.50.
2002-11-06* elf64-mips.c (mips_elf64_slurp_one_reloc_table): GenerateAlexandre Oliva2-23/+8
exactly three internal relocs per external reloc. Set reloc_count to the external reloc count.
2002-11-06* macrotab.h (struct macro_source_file): Doc fix.Jim Blandy2-0/+13
2002-11-06Adds support for fastcall symbols as used on Microsoft Windows platformsNick Clifton20-393/+631
(i386)
2002-11-062002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-8/+10
* gen-engine.c (print_engine_issue_prefix_hook): Don't add the global prefix to ENGINE_ISSUE_PREFIX_HOOK. (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
2002-11-062002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-1/+8
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro. (distclean): Depend on it.