| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* x86-64-linux-nat.c (ps_get_thread_area): When architecture is
i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
|
|
|
|
|
|
|
| |
* thread-db.c (verbose_dlsym): New function.
(thread_db_load): Use verbose_dlsym
(thread_db_new_objfile): Print that libthread_db was loaded, and
that thread debugging was enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* x86-64-tdep.h (enum x86_64_regnums): Replace #define of
X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, 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.
* x86-64-linux-tdep.h (x86_64_linux_greg_offset): Declare.
(x86_64_linux_supply_gregset): Add "sizeof_gregs" param.
(x86_64_linux_fill_gregset): Add "sizeof_gregs" param.
* x86-64-linux-tdep.c: Include "gdb_assert.h" and
"i386-linux-tdep.h".
(enum user_regs): Replace user reg #defines, add USER_ORIG_RAX,
USER_FS_BASE and USER_GS_BASE.
(struct regnum_map, struct regnum_to_user): Define.
(x86_64_linux_greg_offset): New function.
(user_to_gdb_regmap): Delete.
(x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): Use
x86_64_linux_greg_offset.
(x86_64_core_sniffer): New function
(x86_64_core_fns): Set the sniffer to x86_64_core_sniffer.
(fetch_core_registers): Pass "core_reg_size" to the supply
functions.
* x86-64-linux-nat.c (GETREGS_SUPPLIES): Delete macro.
(fetch_inferior_registers): Use x86_64_linux_greg_offset.
(store_inferior_registers): Ditto.
* Makefile.in (x86-64-linux-tdep.o): Update dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* i386-tdep.h (i386_regnums): Replace I386_EAX_REGNUM,
I386_EDX_REGNUM, I386_ESP_REGNUM, I386_EBP_REGNUM,
I386_EIP_REGNUM, I386_EFLAGS_REGNUM, I386_ST0_REGNUM.
* i386-linux-tdep.h (i386_linux_greg_offset): Declare.
(i386_linux_supply_fpxregset): Declare.
(i386_linux_supply_fpregset): Declare.
(i386_linux_supply_gregset): Declare.
* i386-linux-tdep.c: Include "gdb_assert.h", and "i387-tdep.h".
Do not include "gregset.h".
(enum user_regs): Define.
(struct regnum_map, struct regnum_to_user): Define.
(i386_linux_greg_offset): New function.
(dummy_sse_values): New function, copied from "i386-linux-nat.c"
make hist independant.
(i386_linux_supply_fpregset): New function.
(i386_linux_supply_gregset): New function.
(i386_linux_supply_fpxregset): New function.
(fetch_core_registers): New function.
(i386_linux_core_sniffer): New function.
(i386_linux_core_fns): New table.
(_initialize_i386_linux_tdep): Add i386_linux_core_fns to core
functions.
* i386-linux-nat.c: Do not include "gregset.h".
(dummy_sse_values) Delete function.
(regmap): Delete array.
(register_u_addr, fill_gregset, cannot_fetch_register): Use
i386_linux_greg_offset.
(cannot_store_register): Call cannot_fetch_register.
(supply_gregset): Call i386_linux_supply_gregset.
(supply_fpregset): Call i386_linux_supply_fpregset.
(supply_fpxregset): Call i386_linux_supply_fpxregset.
(fetch_core_registers): Delete function.
(linux_elf_core_fns): Delete table.
(_initialize_i386_linux_nat): Delete function.
|
| |
|
|
|
|
| |
both.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG.
* sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set
FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for
argument passing.
(sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New
functions, replace sh_push_dummy_call.
(sh_gdbarch_init): Set push_dummy_call to one of new methods.
|
| |
|
| |
|
|
|
|
| |
* gdbtypes.h (struct main_type): Rearrange to save space.
|
|
|
|
| |
* trad-frame.c: Comment typo fix.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(frv_frame_init_saved_regs): Add declaration.
(frame_extra_info): Add new field ``saved_regs''.
(frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue)
(frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular):
Update frame related code.
(frv_extract_struct_value_address): Adjust formatting.
* Makefile.in (frv-tdep.o): Update dependencies.
* config/frv/tm-frv.h (target_insert_watchpoint)
(target_remove_watchpoint, target_insert_hw_breakpoint)
(target_remove_hw_breakpoint): Delete these macros.
(remote_insert_watchpoint, remote_remove_watchpoint)
(remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove
these declarations.
|
|
|
|
|
|
| |
* defs.h (ENUM_BITFIELD): New macro.
* symtab.h (ENUM_BITFIELD): Use it.
(BYTE_BITFIELD): Remove old macro, which was already disabled.
|
| |
|
| |
|
|
|
|
| |
* configure: Rebuild.
|
| |
|
| |
|
| |
|
|
|
|
| |
* MAINTAINERS (write after approval): Add myself.
|
|
|
|
|
| |
(powerpc_opcodes): Allow mac*, mul*, nmac*, dccci, dcread, iccci,
icread instructions when PPC440. Add dlmzb instruction.
|
|
|
|
| |
PPC_OPCODE_* defines.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-18 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Adjust the SP by
frame_red_zone_size before allocating any stack space.
* rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size".
* x86-64-tdep.c (x86_64_frame_align): New function.
(x86_64_init_abi): Set "frame_red_zone_size" and "frame_align".
* x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change.
Remove code adjusting SP so that it skips over the Red Zone.
Index: doc/ChangeLog
2003-08-18 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
"frame_red_zone_size".
|
|
|
|
|
| |
* libpei.h (bfd_pe_executable_p): Also recognize efi-app
executables.
|
| |
|
|
|
|
|
|
|
| |
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set
"dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of
"m68k_frame_p".
(m68hc11_frame_sniffer): Replace "m68hc11_frame_p".
|
| |
|
|
|
|
|
|
|
| |
* config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
Define.
* i386-linux-nat.c: Include "linux-nat.h".
(child_post_startup_inferior): New function.
|
| |
|
| |
|
|
|
|
| |
* gdb.arch/i386-prologue.c (gdb1338): Add function.
|
|
|
|
|
| |
at the start of a frameless function. This probably fixes PR
backtrace/1338.
|
|
|
|
| |
* symfile.c (find_sym_fns): Remove special case for apollo target.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define.
(linux_parent_pid, linux_supports_tracevforkdone_flag): New variable.
(linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag.
(linux_supports_tracevforkdone): New function.
(linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and
TRACEVFORKDONE.
(child_follow_fork): Handle vfork.
(linux_handle_extended_wait): Likewise. Also handle exec.
(child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable.
* NEWS: Mention fork tracing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define.
* config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH)
(CHILD_FOLLOW_FORK, KILL_INFERIOR): Define.
* i386-linux-nat.c: Include "linux-nat.h".
(child_post_startup_inferior): New function.
* i386-nat.c (child_post_startup_inferior): Wrap in #ifdef.
* infptrace.c (kill_inferior): Wrap in #ifdef.
* lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after
attaching to each LWP.
(child_wait, lin_lwp_wait): Call linux_handle_extended_wait.
(init_lin_lwp_ops): Fill in some more operations.
* linux-nat.h (linux_enable_event_reporting)
(linux_handle_extended_wait, linux_child_post_startup_inferior): New
prototypes.
* linux-nat.c (linux_enable_event_reporting): New function.
(child_post_attach, linux_child_post_startup_inferior)
(child_post_startup_inferior, child_follow_fork)
(linux_handle_extended_wait, kill_inferior): New functions.
|
|
|
|
|
|
| |
pointers with argument types.
* mi1-var-display.exp (-var-list-children weird): Likewise.
* mi2-var-display.exp (-var-list-children weird): Likewise.
|
| |
|
|
|
|
|
| |
reloc_done hack to before first bfd_section_size call. Change all
returns to use new wrapper macro RETURN, restoring sec->reloc_done.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-16 Jason Eckhardt <jle@rice.edu>
* i860.h (fmov.ds): Expand as famov.ds.
(fmov.sd): Expand as famov.sd.
(pfmov.ds): Expand as pfamov.ds.
gas/testsuite/ChangeLog:
2003-08-16 Jason Eckhardt <jle@rice.edu>
* gas/i860/pseudo-ops01.{s,d}: New files.
* gas/i860/i860.exp: Execute the new test above.
* gas/i860/README.i860: Mention that pseudo-ops need more testing
and remove the align fill defect from the list.
|
|
|
|
|
| |
* gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code.
* gdbarch.h, gdbarch.c: Re-generate.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Mention that "set prompt-escape-char" was deleted.
* top.c (get_prompt_1): Delete function.
(gdb_prompt_escape):
(init_main): Do not clear "gdb_prompt_escape". Delete "set
prompt-escape-char" command.
(MAX_PROMPT_SIZE): Delete macro.
(get_prompt): Simplify, do not call get_prompt_1.
|