aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-242002-04-24 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+18
* parser-defs.h (prev_lexptr): New external variable. * parse.c (parse_exp_1): Set prev_lexptr to null before calling the language-specific parser. * c-exp.y (yylex): Set prev_lexptr to start of current token. (yyerror): Use prev_lexptr in error reporting.
2002-04-242002-04-24 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+6
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-04-242002-04-24 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-0/+33
* config/i386/tm-linux.h: Define FILL_FPXREGSET. * gregset.h: If FILL_FPXREGSET is defined, provide gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET is defined, call fill_fpxregset.
2002-04-242002-04-24 Chris G. Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+8
* config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D instructions to be generated by macros.
2002-04-242002-04-24 Roland McGrath <roland@frob.com>Michael Snyder4-2/+110
* config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. * i386gnu-nat.c [HAVE_SYS_PROCFS_H] (supply_gregset, supply_fpregset): New functions. * gnu-nat.c (gnu_find_memory_regions): New function. (init_gnu_ops): Set `to_find_memory_regions' hook to that. (gnu_xfer_memory): Add a cast.
2002-04-24clean up cvs merge conflict flags.Michael Snyder1-1/+0
2002-04-242002-04-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-22/+68
* arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the loop. Add handling for "str lr, [sp, #-4]!" and for saves of argument regs ("str r(0123), [r11, #-nn"]). (arm_skip_prologue): Better handling for frameless functions. Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
2002-04-242002-04-24 Chris G. Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+11
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or MIPS-16 ASE flags are set, print something to indicate that.
2002-04-24* arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS norAndrew Cagney2-0/+8
NUM_PSEUDO_REGS can be used.
2002-04-24* arch-utils.h: Update copyright.Andrew Cagney18-64/+192
* gdbarch.sh (PC_IN_SIGTRAMP): Add. * gdbarch.h, gdbarch.c: Re-generate. * inferior.h (IN_SIGTRAMP): Delete definition. * arch-utils.c (legacy_pc_in_sigtramp): New function. * arch-utils.h (legacy_pc_in_sigtramp): Declare. * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. (mips_dump_tdep): Do not print value of IN_SIGTRAMP. * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. (find_proc_framesize): Ditto. * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. (alpha_init_extra_frame_info): Ditto. * infrun.c (handle_inferior_event): Ditto. (handle_inferior_event): Ditto. (check_sigtramp2): Ditto. * blockframe.c (create_new_frame): Ditto. (get_prev_frame): Ditto. * ppc-linux-tdep.c: Update comments. * i386-linux-tdep.c: Update comments. * breakpoint.c (bpstat_what): Update comment. * gdbint.texinfo (Target Architecture Definition): Replace IN_SIGTRAMP with PC_IN_SIGTRAMP.
2002-04-242002-04-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-2/+11
* gdbserver/linux-low.c (regsets_fetch_inferior_registers), (regsets_store_inferior_registers): Removed cast to int from ptrace() calls. * gdbserver/regcache.h: Added declaration of struct inferior_info.
2002-04-24 * config/tc-i386.c (output_jump, output_disp)Andreas Schwab2-29/+44
(md_estimate_size_before_relax): Don't set fx_pcrel_adjust any more. (md_apply_fix3): Remember addend value for rela relocations. (tc_gen_reloc): Correctly compute pc-relative relocation addend.
2002-04-242002-04-24 David S. Miller <davem@redhat.com>David S. Miller5-21/+28
* i960-tdep.c (register_in_window_p): New function. (i960_find_saved_register): Use it instead of REGISTER_IN_WINDOW_P. * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. 2002-04-24 David S. Miller <davem@redhat.com> * gdbint.texinfo (REGISTER_IN_WINDOW): Delete definition.
2002-04-24Add Indonesian translationNick Clifton4-2/+403
2002-04-242002-04-24 David S. Miller <davem@redhat.com>David S. Miller4-50/+52
* symtab.h (find_stab_function_addr): Kill extern. * minsyms.c (find_stab_function_addr): Remove from here... * dbxread.c: ... to here, and mark it static.
2002-04-242002-04-20 David S. Miller <davem@redhat.com>David S. Miller2-1/+6
* sparc-tdep.c (sparc_pop_frame): Only need to allocate SPARC_INTREG_SIZE * 16 bytes for reg_temp.
2002-04-242002-04-21 David S. Miller <davem@redhat.com>David S. Miller2-2/+8
* remote-vxsparc.c (vx_read_register): Fix typo, we want REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. (vx_write_register): Likewise.
2002-04-242002-04-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+7
* gdb.base/help.exp: Change 'help status' to allow for target dependent output differences.
2002-04-24*** empty log message ***gdbadmin1-1/+1
2002-04-24daily updateAlan Modra1-1/+1
2002-04-232002-04-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+8
* arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
2002-04-232002-04-23 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+9
* gas/mips/elempic.d: Use empic.l. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise.
2002-04-232002-04-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+10
* gas/hppa/parse/parse.exp: Don't expect failure on line separator test on hppa*-*-linux* nor hppa*-*-netbsd*.
2002-04-23 * source.c (is_regular_file): New function.Joel Brobecker2-4/+30
(openp): Check wether file to open is a regular file to avoid opening directories.
2002-04-232002-04-22 Michael Chastain <mec@shout.net>Michael Chastain2-2/+12
* gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2002-04-23 * elf32-hppa.c (hppa_type_of_stub): Correct and simplify conditionAlan Modra2-49/+58
under which a plt call stub is used. (final_link_relocate): Similarly. (allocate_plt_static): Clear h-plabel except when plt entry is exclusively used for a plabel. (allocate_dynrelocs): Use the above to simplify plt sizing. (struct elf32_hppa_link_hash_table): Add has_22bit_branch. (elf32_hppa_link_hash_table_create): Init. (BL22_RP): Define. (hppa_build_one_stub): Use BL22_RP if has_22bit_branch. (elf32_hppa_check_relocs): Set has_22bit_branch. * elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. (final_link_relocate): Likewise.
2002-04-232002-04-22 Michael Chastain <mec@shout.net>Michael Chastain2-2/+6
* gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2002-04-23* findvar.c (extract_signed_integer): Cast printf argumentJason Thorpe6-8/+18
to suppress format warning. (extract_unsigned_integer): Likewise. * infcmd.c (registers_info): Likewise. * top.c (get_prompt_1): Likewise. * valops.c (value_assign): Likewise. * valprint.c (print_decimal): Likewise.
2002-04-232002-04-22 H.J. Lu (hjl@gnu.org)H.J. Lu2-0/+38
* c-exp.y (typebase): Support [long|long long|short] [signed|unsigned] [int|] and signed [long|long long|short] int
2002-04-23* Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h),Jason Thorpe5-170/+264
and vax-tdep.h. * vax-tdep.h: New file. * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. Make several routines static. (vax_get_saved_register): New function. (vax_gdbarch_init): New function. (_initialize_vax_tdep): Register vax_gdbarch_init. * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. Remove macros now under the control of gdbarch.
2002-04-23*** empty log message ***gdbadmin1-1/+1
2002-04-23daily updateAlan Modra1-1/+1
2002-04-222002-04-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2-54/+74
* arm-tdep.c: Some whitespace and coding standards tweaks.
2002-04-22* vax-tdep.c: Include regcache.h.Jason Thorpe3-25/+53
(vax_call_dummy_words): New. (sizeof_vax_call_dummy_words): New. (vax_fix_call_dummy): New function. (vax_saved_pc_after_call): Ditto. * config/vax/tm-vax.h: Don't include regcache.h. (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. (CALL_DUMMY): Remove. (CALL_DUMMY_WORDS): Define. (SIZEOF_CALL_DUMMY_WORDS): Define. (FIX_CALL_DUMMY): Use vax_fix_call_dummy.
2002-04-222002-04-18 Michael Snyder <msnyder@redhat.com>Michael Snyder2-19/+28
* arm-tdep.h: Change regnum defines to enums for ease of debugging.
2002-04-222002-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou5-0/+19
* gas/mips/mips-gp64-fp32.l: New file. * gas/mips/mips-gp64-fp32.d: Use mips-gp64-fp32.l to check stderr output. * gas/mips/mips-gp64-fp64.l: New file. * gas/mips/mips-gp64-fp64.d: Use mips-gp64-fp64.l to check stderr output.
2002-04-222002-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-3/+8
* config/tc-mips.c (macro_build): Add close-parenthesis missing from previous change. (also, fix ChangeLog entry for previous patch.)
2002-04-22 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't buildJakub Jelinek2-3/+13
search table if some FDE is DW_EH_PE_aligned encoded either. (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially.
2002-04-22* vax-tdep.c (vax_frame_chain): New function.Jason Thorpe3-68/+77
(vax_push_dummy_frame): Ditto. (vax_pop_frame): Ditto. * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. (FRAMELESS_FUNCTION_INVOCATION): Use generic_frameless_function_invocation_not. (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. (POP_FRAME): Use vax_pop_frame.
2002-04-222002-04-22 Eric Christopher <echristo@redhat.com>Eric Christopher2-3/+20
* config/tc-mips.c: Add warning if macro instructions are expanded into a branch delay slot.
2002-04-222002-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou4-4/+45
* lib/gas-defs.exp (run_dump_test): Support new attribute "stderr" which is a file used to regexp_diff the assembler's pruned stderr output. (write_file): New helper function to write a string into a file. * gas/mips/empic.l: New file which matches empic tests' warnings. * gas/mips/empic.d: Use empic.l.
2002-04-22* vax-tdep.c (vax_store_struct_return): New function.Jason Thorpe3-19/+45
(vax_extract_return_value): Ditto. (vax_store_return_value): Ditto. (vax_extract_struct_value_address): Ditto. * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use vax_store_struct_return. (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. (STORE_RETURN_VALUE): Use vax_store_return_value. (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address.
2002-04-22* vax-tdep.c (vax_frame_saved_pc): New function.Jason Thorpe3-40/+79
(vax_frame_args_address_correct): Ditto. (vax_frame_args_address): Ditto. (vax_frame_locals_address): Ditto. (vax_frame_num_args): Move code to be in proximity to other frame-related functions. * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. (FRAME_SAVED_PC): Use vax_frame_saved_pc. (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address.
2002-04-222002-04-22 H.J. Lu (hjl@gnu.org)H.J. Lu2-0/+9
* Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and includedir.
2002-04-22* vax-tdep.c (vax_frame_init_saved_regs): New function.Jason Thorpe3-24/+42
* config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. (FRAME_INIT_SAVED_REGS): New macro.
2002-04-22* MAINTAINERS: Reflect that the Alpha target has been multi-arch'd.Jason Thorpe2-1/+4
2002-04-22* alpha-nat.c (get_longjmp_target): Use ALPHA_* constantsJason Thorpe2-4/+11
where needed. (fetch_osf_core_registers): Likewise. (supply_gregset): Likewise.
2002-04-22 * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative.Jakub Jelinek2-2/+29
(_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel encoded personality. (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality for CIE/FDE removal.
2002-04-22Document some changes to address internal-errors on Tru64 5.1.Joel Brobecker1-0/+13
Add missing blank line before one of the previous entries.
2002-04-22 * symfile.h (get_section_index): Define.Joel Brobecker2-1/+62
* symfile.c (get_section_index): New function. * mdebugread.c (SC_IS_SBSS): New macro. (SC_IS_BSS): Return true for the scBss storage class only, as the scSBss storage class refers to the .sbss section. (parse_partial_symbols): Discard the symbols which associated section does not exist. Make sure to use the .sbss section index for symbols which storage class is scBss, rather than using the .bss section index.