a72fbdb7d4
* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
...
regs if PC is on movm.
2004-06-08 05:27:32 +00:00
c892bb6494
2004-06-08 Randolph Chung <tausq@debian.org>
...
* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
message for unknown architectures more clear.
2004-06-08 05:15:19 +00:00
48306d3ed7
* gdb.ada/null_record.exp: Use "start" instead of "begin" to
...
start the execution of the program.
2004-06-08 05:05:34 +00:00
3797566efc
daily update
2004-06-08 00:00:13 +00:00
c9024bd5d7
*** empty log message ***
2004-06-08 00:00:02 +00:00
019048261d
Add native Linux support for the PowerPC E500.
...
* ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
all architectures except the E500.
* ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
#definitions.
(struct gdb_evrregset_t): New type.
(have_ptrace_getsetevrregs): New variable.
(get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
fetch_spe_registers): New functions.
(fetch_register): Call fetch_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(fetch_ppc_registers): Call fetch_spe_registers as appropriate.
Don't fetch gprs if they're pseudoregisters.
(set_spe_registers, write_spliced_spe_reg, store_spe_register,
store_spe_registers): New functions.
(store_register): Call store_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(store_ppc_registers): Call store_spe_registers as appropriate.
Don't store gprs if they're pseudoregisters.
2004-06-07 23:37:20 +00:00
f90ef76436
2004-06-07 Jeff Johnston <jjohnstn@redhat.com>
...
* thread-db.c (thread_get_info_callback): Fill in the thread_info
struct if one exists, even if we are dealing with a zombie thread.
2004-06-07 22:35:55 +00:00
45b7523071
2004-06-07 Andrew Cagney <cagney@gnu.org>
...
* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
* config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
Rename PC_REQUIRES_RUN_BEFORE_USE.
* breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in
#ifdef.
2004-06-07 17:58:33 +00:00
83ecb59f2d
* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
...
* gdb.arch/i386-cpuid.h: New helper file.
2004-06-07 15:38:52 +00:00
822392cef5
From: Albert Chin-A-Young <china@thewrittenword.com>
...
* bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields
to unsigned int.
2004-06-07 15:29:53 +00:00
1658da4930
2004-06-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
unwinding after sp has been saved to the stack but before the end
of the prologue, and after the fp has been modified but before it has
been saved to the stack.
(hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
Remove superfluous definitions.
(hppa_gdbarch_init): Remove superfluous frame base sniffer.
2004-06-07 15:28:47 +00:00
55264cb45f
2004-06-07 Randolph Chung <tausq@debian.org>
...
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.
2004-06-07 15:24:44 +00:00
9a727a3c4f
2004-06-07 Guy Martin <gmsoft@gentoo.org>
...
Committed by Randolph Chung.
* hppa-linux-nat.c: Include the correct version of the header file
depending on the kernel version.
2004-06-07 15:19:08 +00:00
86fe4aaa40
2004-06-06 Randolph Chung <tausq@debian.org>
...
* gdb.texinfo (push_dummy_call): Use @code{struct value}.
2004-06-07 04:31:11 +00:00
9e50001290
2004-06-06 Randolph Chung <tausq@debian.org>
...
* infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
(proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
2004-06-07 02:19:07 +00:00
3388d7ff41
2004-06-06 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
(hppa_hpux_skip_trampoline_code): Don't cache symbol values.
* hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
* hppa-tdep.c (hppa_symbol_address): New function definition.
* hppa-tdep.h (hppa_symbol_address): New function declaration.
2004-06-07 02:17:29 +00:00
d4b6d57569
2004-06-06 Randolph Chung <tausq@debian.org>
...
* gdb.texinfo (push_dummy_call): Update argument list to match
the new push_dummy_call method signature. Describe the function
argument.
2004-06-07 02:12:59 +00:00
d49771efb5
2004-06-06 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.h (struct value): Forward declaration.
(gdbarch_tdep): Define tdep find_global_pointer method.
* hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
associated with the function we are trying to call, and write it
to the gp register.
(hppa32_convert_from_funct_ptr_addr): New function.
(hppa_find_global_pointer): New function.
(hppa_gdbarch_init): Set default find_global_pointer method; set
convert_from_func_ptr_addr method.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
(hppa_linux_init_abi): Set find_global_pointer method.
* Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
2004-06-07 02:08:07 +00:00
7d9b040b53
2004-06-06 Randolph Chung <tausq@debian.org>
...
* gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
to struct value *function.
* gdbarch.c: Regenerate.
* gdbarch.h: Likewise.
* infcall.c (call_function_by_hand): Pass entire function value
to push_dummy_call.
* Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
(ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
* alpha-tdep.c (alpha_push_dummy_call): Update call signature.
* amd64-tdep.c (amd64_push_dummy_call): Likewise.
* arm-tdep.c (arm_push_dummy_call): Likewise.
* avr-tdep.c (avr_push_dummy_call): Likewise.
* cris-tdep.c (cris_push_dummy_call): Likewise.
* d10v-tdep.c (d10v_push_dummy_call): Likewise.
* frv-tdep.c (frv_push_dummy_call): Likewise.
* h8300-tdep.c (h8300_push_dummy_call): Likewise.
* hppa-tdep.c (hppa32_push_dummy_call)
(hppa64_push_dummy_call): Likewise.
* i386-tdep.c (i386_push_dummy_call): Likewise.
* ia64-tdep.c (ia64_push_dummy_call): Likewise.
* m32r-tdep.c (m32r_push_dummy_call): Likewise.
* m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
* m68k-tdep.c (m68k_push_dummy_call): Likewise.
* m88k-tdep.c (m88k_push_dummy_call): Likewise.
* mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
* s390-tdep.c (s390_push_dummy_call): Likewise.
* sh-tdep.c (sh_push_dummy_call_fpu)
(sh_push_dummy_call_nofpu): Likewise.
* sparc-tdep.c (sparc32_push_dummy_call): Likewise.
* sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
* vax-tdep.c (vax_push_dummy_call): Likewise.
2004-06-07 02:02:55 +00:00
0985fe3f1c
*** empty log message ***
2004-06-07 00:00:32 +00:00
6a85f5bce0
daily update
2004-06-07 00:00:06 +00:00
88506212ce
*** empty log message ***
2004-06-06 00:00:32 +00:00
cec27695dd
daily update
2004-06-06 00:00:06 +00:00
8327ccee5c
* ppc-linux-nat.c (fetch_register): Don't forget to pass the
...
gdbarch argument to register_size.
2004-06-05 03:25:22 +00:00
a3c001cee0
* rs6000-tdep.c (rs6000_store_return_value): Use
...
regcache_cooked_write_part instead of
deprecated_write_register_bytes.
(rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
not gdbarch_deprecated_store_return_value.
2004-06-05 00:11:49 +00:00
23cadb2867
.
2004-06-05 00:11:06 +00:00
c1b5970d70
2004-06-04 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
differently to be robust to output buffering differences.
2004-06-05 00:09:26 +00:00
c0a2780477
daily update
2004-06-05 00:00:06 +00:00
e303426700
*** empty log message ***
2004-06-05 00:00:04 +00:00
51d01eda1d
2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/pthreads.exp: Update copyright years.
(check_control_c): Change asynchronous 'after' to synchronous.
2004-06-04 23:27:50 +00:00
4a19ea356e
* ppc-linux-nat.c (store_register, fetch_register): Remove
...
incorrect assertions. Simplify and generalize handling of
transfers whose sizes are not multiples of, or less than, sizeof
(PTRACE_XFER_TYPE).
2004-06-04 23:07:28 +00:00
f4fc3b93e2
.
2004-06-04 21:36:23 +00:00
f1ed375c85
2004-06-04 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp (fetch_auxv): Consume output fully through
next gdb prompt.
2004-06-04 21:36:06 +00:00
b9b5d7ea4d
2004-06-04 Jeff Johnston <jjohnstn@redhat.com>
...
* infrun.c (handle_inferior_event): Don't treat an invalid ptid
as a new thread event.
* thread_db.c (thread_get_info_callback): If the thread is a
zombie, return TD_THR_ZOMBIE.
* (thread_from_lwp): If thread_get_info_callback returns
TD_THR_ZOMBIE, check if the thread is still on the thread list
and return a -1 ptid if not found.
(thread_db_wait): If thread_from_lwp returns a -1 ptid, then
change the status to TARGET_WAITKIND_SPURIOUS.
2004-06-04 21:28:15 +00:00
d4a00f218b
daily update
2004-06-04 00:00:13 +00:00
62fd1fc14d
*** empty log message ***
2004-06-04 00:00:03 +00:00
4013522b5c
2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR gdb/1636.
* gdb.threads/manythreads.exp: Change asynchronous 'after'
calls to synchronous.
2004-06-03 22:10:56 +00:00
c8a3b559eb
* sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
...
double values in little endian mode.
2004-06-03 11:46:34 +00:00
498d4a7155
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
...
gcc.
* configure: Regenerate.
2004-06-03 04:57:38 +00:00
b7e784a7f2
*** empty log message ***
2004-06-03 00:00:32 +00:00
2060536186
2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
...
Committed by Andrew Cagney.
* gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
after last enum constant to avoid error from IBM C
compiler.
2004-06-02 21:01:55 +00:00
1da28ab05f
* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
2004-06-02 18:24:35 +00:00
bc97b3ba79
* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
...
to 'message', and make it local to the lone block that uses it.
2004-06-02 18:17:05 +00:00
4c4b4cd2ff
ada-exp.y: Synchronize with current ACT sources.
...
ada-lang.c: Ditto.
ada-lang.h: Ditto.
ada-lex.l: Ditto.
ada-tasks.c: Ditto.
ada-typeprint.c: Ditto.
ada-valprint.c: Ditto.
2004-06-02 09:55:36 +00:00
f65f91b509
* ppc-tdep.h: Delete unused 'regoff' member.
...
* rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.
2004-06-02 03:06:23 +00:00
f4d82318a1
*** empty log message ***
2004-06-02 00:00:34 +00:00
d4687fa094
2004-06-01 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR symtab/1661.
* hpread.c (hpread_pxdb_needed): Call memset after alloca.
(hpread_read_struct_type): Likewise.
2004-06-01 22:39:23 +00:00
0451f5dff4
* s390-opc.txt: Correct architecture mask for some opcodes.
...
lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available
in the esa mode as well.
2004-06-01 13:56:11 +00:00
c6902d4692
2004-06-01 Andrew Cagney <cagney@gnu.org>
...
* mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf
instead of xasprintf.
* mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt)
(mi_cmd_thread_select, mi_cmd_thread_list_ids)
(mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers)
(mi_cmd_data_list_register_values)
(get_register, mi_cmd_data_write_register_values)
(mi_cmd_data_write_register_values)
(mi_cmd_data_assign, mi_cmd_data_evaluate_expression)
(mi_cmd_target_download, mi_cmd_target_select)
(mi_cmd_data_read_memory, mi_cmd_data_write_memory)
(mi_execute_cli_command, mi_execute_async_cli_command)
(mi_execute_async_cli_command): Ditto.
* mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto.
* mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.
2004-06-01 13:33:58 +00:00
6085fc2d26
2004-06-01 Andrew Cagney <cagney@gnu.org>
...
* mi/mi-cmds.h (mi_error_last_message): Delete declaration.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Call
error_last_message instead of mi_error_last_message.
* mi/mi-main.c (mi_error_last_message): Delete function.
2004-06-01 13:15:02 +00:00