aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-07-10*** empty log message ***gdbadmin1-1/+1
2003-07-092003-07-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error.
2003-07-09* x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM,Mark Kettenis3-12/+22
X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... * x86-64-tdep.c: ... from here.
2003-07-09 * m68k-tdep.h (enum struct_return): Define.Andreas Schwab4-6/+52
(struct gdbarch_tdep): Add struct_return. * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 bytes are padded to the right, not to the left. Pass struct value address in register %a1, not on stack. (m68k_use_struct_convention): New function. (m68k_gdbarch_init): Set use_struct_convention. Initialize struct_return in tdep to pcc_struct_return. * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to reg_struct_return.
2003-07-09 * somread.c (som_symfile_offsets): Fix compilation error.Joel Brobecker2-1/+5
2003-07-092003-07-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+9
* regcache.c (register_size): Only check REGISTER_RAW_SIZE once. Add comments about the checks.
2003-07-092003-07-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-5/+28
* gdb.base/annota1.exp: Make sure that we properly escape the full path of the source file. Xfail more permissive patterns, due to a compiler debug info problem.
2003-07-09*** empty log message ***gdbadmin1-1/+1
2003-07-082003-07-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-167/+154
* Makefile.in: Make dependency section headers consistent. (config_h): Move to $BUILD headers section. (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. (msg_U_h, notify_S_h, process_reply_S_h): Ditto. (ada-exp.tab.c): Move to YACC/LEX section. (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto.
2003-07-08Cleaned up ChangeLog entry.Kris Warkentin1-0/+3
2003-07-08* mem-break.c: Remove whitespace at end of file.Mark Kettenis2-2/+4
2003-07-082003-07-08 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-30/+35
* nto-procfs.c: Cleaned up a bunch of ARI hits.
2003-07-08*** empty log message ***gdbadmin1-1/+1
2003-07-072003-07-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-14/+15
* frame.c (get_prev_frame): Enable check for identical frames. Update comments. Update error messages.
2003-07-07 * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure.Joel Brobecker2-1/+4
2003-07-07 * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call toJoel Brobecker2-1/+5
sort_symtab_syms, no longer necessary.
2003-07-07 * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment.Joel Brobecker2-0/+8
2003-07-07 * mips-tdep.c (mips_register_raw_size): Fix compilation failure.Joel Brobecker2-2/+9
(mips_register_byte): Likewise.
2003-07-07 * Makefile.in (sparc_tdep_h): New.Daniel Jacobowitz10-11/+57
(sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). * sparc-linux-nat.c: Include "sparc-tdep.h". * sparc-nat.c: Likewise. * sparc-tdep.c: Likewise. * sparc64nbsd-nat.c: Likewise. * sparcnbsd-nat.c: Likewise. * sparcnbsd-tdep.c: Likewise. * sparc-tdep.h: New file. * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum and sparc_npc_regnum.
2003-07-07 * mips-linux-nat.c (mips_linux_cannot_fetch_register)Daniel Jacobowitz2-21/+38
(mips_linux_cannot_store_register): List supported instead of unsupported registers.
2003-07-07 * disasm.c (dump_insns): Separate instructions from addresses.Daniel Jacobowitz2-0/+7
2003-07-07 * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): UpdateAndreas Schwab6-548/+918
dependencies. * m68k-tdep.c (NUM_FREGS): Delete. (SIG_PC_FP_OFFSET): Delete. (TARGET_M68K): Delete. (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, P_MOVEL_SP, P_MOVEML_SP): Define. (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, P_TRAP): Delete. (m68k_register_raw_size): Delete. (m68k_register_virtual_size): Delete. (m68k_register_type): Renamed from m68k_register_virtual_type and add gdbarch argument. (m68k_store_struct_return): Delete. (m68k_deprecated_extract_return_value): Delete. (m68k_deprecated_extract_struct_value_address): Delete. (m68k_frame_chain): Delete. (m68k_frame_saved_pc): Delete. (m68k_fix_call_dummy): Delete. (m68k_push_dummy_frame): Delete. (m68k_pop_frame): Delete. (m68k_extract_return_value): New function. (m68k_store_return_value): Rewrite using regcache. (m68k_extract_struct_value_address): Rewrite using regcache. (m68k_push_dummy_call): New function. (struct m68k_frame_cache): Define. (m68k_alloc_frame_cache): New function. (m68k_analyze_frame_setup): New function. (m68k_analyze_register_saves): New function. (m68k_analyze_prologue): New function. (m68k_skip_prologue): Rewrite using above functions. (m68k_unwind_pc): New function. (m68k_frame_cache): New function. (m68k_frame_this_id): New function. (m68k_frame_prev_register): New function. (m68k_frame_unwind): New variable. (m68k_frame_p): New function. (m68k_sigtramp_frame_cache): New function. (m68k_sigtramp_frame_this_id): New function. (m68k_sigtramp_frame_prev_register): New function. (m68k_sigtramp_frame_unwind): New variable. (m68k_sigtramp_frame_p): New function. (m68k_frame_base_address): New function. (m68k_frame_base): New function. (m68k_unwind_dummy_id): New function. (fill_gregset): Use regcache_collect. (fill_fpregset): Likewise. (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is defined. (m68k_gdbarch_init): Don't define call_dummy_words. Don't set deprecated_init_frame_pc, deprecated_store_struct_return, deprecated_extract_return_value, deprecated_store_return_value, deprecated_frame_chain, deprecated_frame_saved_pc, deprecated_frame_init_saved_regs, deprecated_register_raw_size, deprecated_register_virtual_size, deprecated_max_register_raw_size, deprecated_max_register_virtual_size, deprecated_register_virtual_type, deprecated_register_size, deprecated_register_byte, deprecated_register_bytes, deprecated_fp_regnum, deprecated_use_generic_dummy_frames, call_dummy_location, deprecated_call_dummy_breakpoint_offset, deprecated_pc_in_call_dummy, deprecated_call_dummy_length, deprecated_call_dummy_start_offset, deprecated_call_dummy_words, deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, deprecated_push_dummy_frame, deprecated_pop_frame, deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call only if SYSCALL_TRAP is defined. Set extract_return_value, store_return_value, extract_struct_value_address, register_type, push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind predicates. * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, M68K_MAX_REGISTER_SIZE): Define. (struct m68k_sigtramp_info): Define. (struct gdbarch_tdep): Add get_sigtramp_info. * m68klinux-nat.c (fetch_register): Use register_size instead of REGISTER_RAW_SIZE. Don't put assignment in if. (store_register): Likewise. (fetch_inferior_registers): Likewise. (store_inferior_registers): Likewise. * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. (m68k_linux_frame_saved_pc): Delete. (m68k_linux_sigcontext_reg_offset, m68k_linux_ucontext_reg_offset): Define. (m68k_linux_get_sigtramp_info): New function. (m68k_linux_extract_return_value): Rewrite using regcache. (m68k_linux_store_return_value): Likewise. (m68k_linux_extract_struct_value_address): Likewise. (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. Don't set deprecated_frame_saved_pc, deprecated_extract_return_value, deprecated_store_return_value, deprecated_extract_struct_value_address. Set extract_return_value, store_return_value, extract_struct_value_address.
2003-07-07 * gdb.asm/m68k.inc: New file.Andreas Schwab3-0/+44
* gdb.asm/asm-source.exp: Use it for m68k-*-*.
2003-07-072003-07-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-187/+329
* expprint.c: Include "user-regs.h" instead of "frame.h". (print_subexp): Use user_reg_map_regnum_to_name, instead of frame_map_regnum_to_name. * frame.c: Include "user-regs.h" instead of "builtin-regs.h". (frame_map_name_to_regnum): Simplify, call user_reg_map_name_to_regnum. (frame_map_regnum_to_name): Simplify, call user_reg_map_regnum_to_name. (frame_register_unwind): Update. * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". (_initialize_frame_reg): Call user_reg_add_builtin. * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". (value_of_register): Use value_of_user_reg. * eval.c (evaluate_subexp_standard): Update. * parse.c (write_dollar_variable): Update. * d10v-tdep.c (d10v_print_registers_info): Update. * infcmd.c (registers_info): Update. * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". (builtin_regs_h): Delete macro. (user_regs_h): Define. (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". (builtin-regs.o): Delete target. (user-regs.o): Specify dependencies. (expprint.o): Update dependencies. (findvar.o): Update dependencies. (frame.o): Update dependencies. (std-regs.o): Update dependencies.
2003-07-07*** empty log message ***gdbadmin1-1/+1
2003-07-06 * gdb.objc/basicclass.exp ("Call an Objective-C method with noAndreas Schwab3-1/+10
arguments"): Also match negative number. * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-06* win32-nat.c (solib_symbols_add): Use one variable for all section addressChristopher Faylor3-36/+30
stuff. Pass variable rather than address of variable to safe_symbol_file_add.
2003-07-06 * m68klinux-nat.c (fill_fpregset): Fix use of loop index.Andreas Schwab2-2/+6
2003-07-06*** empty log message ***gdbadmin1-1/+1
2003-07-05*** empty log message ***gdbadmin1-1/+1
2003-07-04 * rs6000-nat.c (vmap_symtab): Fix compilation error.Joel Brobecker2-1/+7
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-0/+13
* config/i386/nto.mh: Set XM_FILE to xm-i386.h
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin4-0/+1400
* nto-procfs.c: New file. Native procfs support for QNX Neutrino. * config/i386/nto.mh: New file. * config/i386/nm-nto.h: New file. * configure.host: Add i[3456]86-*-nto*.
2003-07-04 * remote-vx.c (vx_add_symbols): Fix compilation error.Joel Brobecker2-2/+9
2003-07-04*** empty log message ***gdbadmin1-1/+1
2003-07-032003-07-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-63/+125
* gdbarch.sh (REGISTER_NAME): Do not supply a default. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h (REGISTER_NAME): Define. (legacy_register_name): Declare. * config/sparc/tm-sp64.h (legacy_register_name): Declare. (REGISTER_NAME): Define. * sparc-tdep.c (legacy_register_name): New function. * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. (REGISTER_NAME): Define. (hppa64_register_name): Declare. * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. (hppa64_register_name): New function. (hppa_register_name): New function. * arch-utils.c (legacy_register_name): Delete. * arch-utils.h (legacy_register_name): Delete.
2003-07-03 * cli/cli-interp.c (cli_interpreter_resume): Update theDaniel Jacobowitz2-0/+22
cli_uiout's stream to gdb_stdout.
2003-07-032003-07-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-13/+96
* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add predicate. * gdbarch.h, gdbarch.c: Re-generate. * regcache.c (init_regcache_descr): Use legacy code when either REGISTER_BYTE or REGISTER_RAW_SIZE is set.
2003-07-03 * gdb.base/store.c (charest): New typedef.Daniel Jacobowitz3-19/+32
(add_char): Rename to add_charest, update. (wack_char): Rename to wack_charest, update types. Return l + r to keep r live across the call. (wack_short, wack_int, wack_long, wack_longest, wack_float) (wack_double, wack_doublest): Return l + r to keep r live across the call. * gdb.base/store.exp: Accomodate store.c changes.
2003-07-03*** empty log message ***gdbadmin1-1/+1
2003-07-02 * NEWS: Move "set logging" entry into GDB 6.0 section.Daniel Jacobowitz2-2/+6
2003-07-02* s390-tdep.c (struct frame_extra_info): new member:Jim Blandy2-1/+12
'stack_bought_valid'. (s390_get_frame_info): Set fextra_info->stack_bought_valid if we initialize fextra_info->stack_bought. (s390_frameless_function_invocation): Don't trust the value of fextra_info_ptr->stack_bought unless fextra_info->stack_bought_valid is set.
2003-07-02New S390 prologue analyzer.Jim Blandy2-455/+1284
* s390-tdep.c (struct prologue_value, enum pv_boolean): New types. (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, pv_constant_last, pv_add, pv_add_constant, pv_subtract, pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, compute_x_addr, s390_on_stack, s390_store, s390_get_signal_frame_info): New functions. (S390_NUM_SPILL_SLOTS): New macro. (s390_get_frame_info): Rewritten. (is_arg_reg): Deleted. Break out the decoding of S/390 instructions into separate functions, to make it more legible, and easier to check against the spec. * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, is_rx, is_rxe): New functions. (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New enums for opcode values. (Is this an improvement?)
2003-07-022003-07-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-25/+39
* i386-tdep.c: Revert change committed as part of trad-frame code below.
2003-07-02 * breakpoint.c (insert_catchpoint): Make static.Daniel Jacobowitz2-1/+5
2003-07-02 * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byteAndreas Jaeger1-4/+22
before the call. Set %rax only to number of SSE registers used.
2003-07-02*** empty log message ***gdbadmin1-1/+1
2003-07-01 * ia64-tdep.c (ia64_push_dummy_call): Define as combination ofAndreas Schwab2-32/+35
former ia64_push_arguments and ia64_push_return_address, and use regcache functions instead of read/write_register. (ia64_gdbarch_init): Set push_dummy_call instead of deprecated_push_arguments and deprecated_push_return_address.
2003-07-01 * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byteAndreas Jaeger1-1/+7
before the call. Set %rax only to number of SSE registers used.
2003-07-012003-07-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-68/+132
* trad-frame.h: Update comments, a -1 .addr is reserved. (trad_frame_value_p, trad_frame_addr_p): Declare. (trad_frame_reg_p): Declare. (trad_frame_set_value): Rename trad_frame_register_value. (trad_frame_set_unknown): Declare. * trad-frame.c (trad_frame_realreg_p): New function. (trad_frame_addr_p, trad_frame_value_p): New function. (trad_frame_set_unknown): New function. (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. (trad_frame_prev_register): Use trad_frame_realreg_p, trad_frame_addr_p and trad_frame_value_p. (trad_frame_set_value): Rename trad_frame_register_value. * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p and trad_frame_set_value.