Hui Zhu [Thu, 6 Nov 2008 02:18:11 +0000 (6 02:18 +0000)]
2008-11-06 Hui Zhu <teawater@gmail.com>
* record.c (record_wait): Set pc if forward execute,
gdbarch_decr_pc_after_break is not 0 and this is not single
step in replay mode.
* linux-nat.c (my_waitpid_record): Add
gdbarch_decr_pc_after_break to pc if need.
Hui Zhu [Thu, 6 Nov 2008 02:18:10 +0000 (6 02:18 +0000)]
2008-11-06 Hui Zhu <teawater@gmail.com>
* record.c (record_wait): Set pc if forward execute,
gdbarch_decr_pc_after_break is not 0 and this is not single
step in replay mode.
* linux-nat.c (my_waitpid_record): Add
gdbarch_decr_pc_after_break to pc if need.
Hui Zhu [Wed, 5 Nov 2008 02:52:05 +0000 (5 02:52 +0000)]
2008-11-05 Hui Zhu <teawater@gmail.com>
* record.c (record_wait): Check breakpint before forward
execute in replay mode.
Check breakpoint use function "breakpoint_inserted_here_p"
in replay mode.
Michael Snyder [Mon, 27 Oct 2008 04:50:15 +0000 (27 04:50 +0000)]
2008-10-24 Michael Snyder <msnyder@vmware.com>
* infrun.c (handle_inferior_event): Handle dynamic symbol
resolution in reverse.
Michael Snyder [Thu, 23 Oct 2008 23:24:45 +0000 (23 23:24 +0000)]
2008-10-18 Pedro Alves <pedro@codesourcery.com>
* infrun.c (adjust_pc_after_break): Do nothing if executing in
reverse.
Hui Zhu [Thu, 23 Oct 2008 03:05:41 +0000 (23 03:05 +0000)]
2008-10-22 Hui Zhu <teawater@gmail.com>
* gdb.texinfo: Add documentation for process record and replay.
Hui Zhu [Tue, 21 Oct 2008 14:51:20 +0000 (21 14:51 +0000)]
2008-10-19 Hui Zhu <teawater@gmail.com>
* infcmd.c (kill_if_already_running): Remove process record
warning code.
Hui Zhu [Mon, 20 Oct 2008 02:45:27 +0000 (20 02:45 +0000)]
2008-10-19 Hui Zhu <teawater@gmail.com>
* infrun.c (handle_inferior_event): Set "stop_pc" when
TARGET_WAITKIND_NO_HISTORY.
Michael Snyder [Sun, 19 Oct 2008 22:15:58 +0000 (19 22:15 +0000)]
2008-10-10 Michael Snyder <msnyder@vmware.com>
* gdb.texinfo: Document the 'bc' and 'bs' (reverse) commands,
and the 'replaylog' annotation of the 'T' stop event message.
Michael Snyder [Sun, 19 Oct 2008 22:15:08 +0000 (19 22:15 +0000)]
2008-10-13 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_wait): Remove handling of "E6" no_history error.
2008-10-10 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_wait): Recognize "replaylog" reply as part
of 'T' stop event (NO_HISTORY).
Declare "end of replay history" error reply as deprecated.
Hui Zhu [Sat, 18 Oct 2008 13:45:17 +0000 (18 13:45 +0000)]
2008-10-18 Hui Zhu <teawater@gmail.com>
Remove "to_support_record_wait".
* target.c (add_target): Remove "to_support_record_wait".
* target.h (target_ops): Ditto.
* linux-nat.c (linux_nat_add_target): Ditto.
* record.h (RECORD_TARGET_SUPPORT_RECORD_WAIT): This macro is removed.
Hui Zhu [Thu, 16 Oct 2008 01:50:36 +0000 (16 01:50 +0000)]
2008-10-15 Hui Zhu <teawater@gmail.com>
Change "record-auto-delete" to "record-stop-at-limit".
* record.c (record_insn_max_mode): Change to
"record_stop_at_limit".
(record_check_insn_num): Ditto.
(_initialize_record): Ditto.
Michael Snyder [Thu, 9 Oct 2008 17:46:55 +0000 (9 17:46 +0000)]
2008-10-09 Michael Snyder <msnyder@vmware.com>
* reverse.c (exec_reverse_once): Eliminate fixed-size buffer,
use xstrprintf.
Michael Snyder [Thu, 9 Oct 2008 17:44:59 +0000 (9 17:44 +0000)]
2008-10-09 Michael Snyder <msnyder@vmware.com>
* infcmd.c (finish_forward): New function, abstracted from
finish_command.
(finish_command): Abstract out finish_forward for symmetry.
* infrun.c (use_displaced_stepping): Add comment.
Hui Zhu [Thu, 9 Oct 2008 03:46:37 +0000 (9 03:46 +0000)]
2008-10-08 Hui Zhu <teawater@gmail.com>
* record.c (record_open): Reset after push_target.
Michael Snyder [Wed, 8 Oct 2008 00:26:28 +0000 (8 00:26 +0000)]
2008-10-07 Michael Snyder <msnyder@vmware.com>
* target.h (to_set_exec_direction, to_get_exec_direction): Remove.
(to_can_execute_reverse): New method.
(enum exec_direction_kind): Move to inferior.h.
* target.c (update_current_target): Inherit to_can_execute_reverse.
Remove to_set_exec_direction, to_get_exec_direction.
* inferior.h (enum exec_direction_kind): Move from target.h.
* infrun.c (set_exec_direction_func): Move here from reverse.c.
(show_exec_direction_func): Ditto.
(proceed): Consult global execution_direction instead of
target method.
(handle_inferior_event): Ditto.
* reverse.c (set_exec_direction_func): Move to infrun.c
(show_exec_direction_func): Ditto.
(exec_direction_default): Set infrun global variable.
(exec_reverse_once): Consult infrun global direction variable.
* infcmd.c (step_1): Consult infrun global direction variable.
(step_once): Ditto.
(until_next_command): Ditto.
(finish_command): Ditto.
* record.h (record_exec_direction): Delete.
(RECORD_IS_REPLAY): Consult infrun global direction variable.
* record.c: (record_wait_cleanups): Use infrun state variable.
(record_wait): Ditto.
(record_get_exec_direction, record_set_exec_direction): Remove.
(record_can_execute_reverse): New target method.
* remote.c (remote_resume): Use infrun state variable.
(remote_get_exec_direction, remote_set_exec_direction): Remove.
(remote_can_execute_reverse): New target method.
Michael Snyder [Tue, 7 Oct 2008 19:01:04 +0000 (7 19:01 +0000)]
2008-10-07 Michael Snyder <msnyder@vmware.com>
* infrun.c (stepped_into_function): Rename handle_step_into_function.
(stepped_into_function_backward):
Rename handle_step_into_function_backward.
Michael Snyder [Tue, 7 Oct 2008 18:23:56 +0000 (7 18:23 +0000)]
2008-10-07 Michael Snyder <msnyder@vmware.com>
* reverse.c: Update copyright.
(exec_reverse_once): Add function header comment.
(_initialize_reverse): Use i18n macros for set exec-direction.
Hui Zhu [Tue, 7 Oct 2008 08:33:15 +0000 (7 08:33 +0000)]
2008-10-07 Hui Zhu <teawater@gmail.com>
* i386-tdep.c, infrun.c, linux-record.c, linux-record.h,
record.c, record.h: Change name from
"record and reverse target" to
"process record and replay target".
Hui Zhu [Tue, 7 Oct 2008 05:42:03 +0000 (7 05:42 +0000)]
Change 8 blanks to a tab.
Michael Snyder [Tue, 7 Oct 2008 00:30:00 +0000 (7 00:30 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* breakpoint.c (breakpoint_silence): Rename to make_breakpoint_silent.
* breakpoint.h: Ditto.
* infcmd.c (finish_backward): Call make_breakpoint_silent
instead of breakpoint_silence.
Michael Snyder [Tue, 7 Oct 2008 00:23:13 +0000 (7 00:23 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infcmd.c (finish_command): Reject async in reverse.
Michael Snyder [Tue, 7 Oct 2008 00:01:45 +0000 (7 00:01 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infcmd.c (finish_command): Use i18n macros.
Michael Snyder [Mon, 6 Oct 2008 23:54:32 +0000 (6 23:54 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infcmd.c: Minor function reordering.
Michael Snyder [Mon, 6 Oct 2008 23:48:50 +0000 (6 23:48 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infrun.c (step_into_function): Rename to stepped_into_function.
Split into two versions (normal (forward), and reverse).
(handle_inferior_event): Call stepped_into_function or
stepped_into_function_backward, depending on exec_direction.
Michael Snyder [Mon, 6 Oct 2008 23:24:00 +0000 (6 23:24 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infrun.c (handle_inferior_event): Comment rewording.
Michael Snyder [Mon, 6 Oct 2008 23:21:02 +0000 (6 23:21 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_get_exec_direction): Use i18n macros.
(remote_set_exec_direction): Ditto.
Michael Snyder [Mon, 6 Oct 2008 23:14:15 +0000 (6 23:14 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infrun.c (handle_inferior_event, step_into_function): Formatting.
Michael Snyder [Mon, 6 Oct 2008 23:06:29 +0000 (6 23:06 +0000)]
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infrun.c (handle_inferior_event): Formatting, spelling fix.
* infrun.c (handle_inferior_event): Add special case for
"next" in reverse.
Michael Snyder [Mon, 6 Oct 2008 18:00:46 +0000 (6 18:00 +0000)]
2008-10-04 Hui Zhu <teawater@gmail.com>
Change from "to_prepare_to_store" to "to_store_registers".
* record.c (record_beneath_to_prepare_to_store): Removed.
(record_beneath_to_store_registers): New function pointer.
Instead "record_beneath_to_prepare_to_store". Will point
to the low strata target "to_store_registers" function.
(record_prepare_to_store): Removed.
(record_store_registers): New function.
Instead "record_prepare_to_store". Record the change of
registers from GDB.
(init_record_ops): Change record_prepare_to_store to
record_store_registers.
* record.h (record_beneath_to_prepare_to_store): Removed.
(record_beneath_to_store_registers): New extern.
(record_regcache_raw_write_regnum): Remove.
* target.c (update_current_target): Change
record_beneath_to_prepare_to_store to
record_beneath_to_store_registers.
Michael Snyder [Sun, 5 Oct 2008 22:20:49 +0000 (5 22:20 +0000)]
2008-10-05 Hui Zhu <teawater@gmail.com>
* infcmd.c (kill_if_already_running): If record target is used,
output special query.
* infrun.c (use_displaced_stepping): Return false if record/replay.
(proceed): Do not record state changes made by gdb in 'proceed'.
Michael Snyder [Sun, 5 Oct 2008 21:11:53 +0000 (5 21:11 +0000)]
2008-10-05 Michael Snyder <msnyder@promb-2s-dhcp59.eng.vmware.com>
* reverse.c (exec_reverse_once): Call do_cleanups explicitly.
Michael Snyder [Sun, 5 Oct 2008 19:54:19 +0000 (5 19:54 +0000)]
2008-10-05 Michael Snyder <msnyder@promb-2s-dhcp59.eng.vmware.com>
* infrun.c (handle_inferior_event): Fix typo in comment.
Michael Snyder [Sat, 4 Oct 2008 19:48:43 +0000 (4 19:48 +0000)]
2008-10-04 Michael Snyder <msnyder@vmware.com>
* configure.tgt: Add linux-record.o here instead of in NATDEPFILES.
* config/i386/linux.mh: Remove linux-record.o from NATDEPFILES.
Michael Snyder [Sat, 4 Oct 2008 19:11:51 +0000 (4 19:11 +0000)]
Review responses
Michael Snyder [Sat, 4 Oct 2008 19:10:01 +0000 (4 19:10 +0000)]
Review responses
Michael Snyder [Sat, 4 Oct 2008 18:56:36 +0000 (4 18:56 +0000)]
2008-10-04 Michael Snyder <msnyder@vmware.com>
* target.c, target.h: Rename execdir to exec_direction.
* record.c, record.h: Ditto.
* reverse.c: Ditto.
* remote.c: Ditto.
* reverse.c (show_exec_direction_func): Don't error, just inform.
Michael Snyder [Fri, 3 Oct 2008 17:50:15 +0000 (3 17:50 +0000)]
2008-10-02 Michael Snyder <msnyder@vmware.com>
* record.c (record_open): Call target_can_async_p() instead
of relying on a global variable.
* record.h (record_linux_async_permitted): Delete.
* linux-nat.h (record_linux_async_permitted): Delete reference.
Michael Snyder [Thu, 2 Oct 2008 22:57:23 +0000 (2 22:57 +0000)]
2008-10-02 Michael Snyder <msnyder@vmware.com>
* reverse.c (reverse-continue): Remove a comma from docs string,
to avoid confusing output from 'apropos'.
Michael Snyder [Wed, 1 Oct 2008 04:23:31 +0000 (1 04:23 +0000)]
2008-09-30 Hui Zhu <teawater@gmail.com>
Add process record and replay to i386 architecture.
* i386-linux-tdep.c (linux_record_tdep): New static variable.
I386 Linux record target-dependent stuff.
(i386_linux_intx80_sysenter_record): New function. Record the
running message of I386 Linux system call.
(i386_linux_init_ab): Initialize the linux_record_tdep. Add
i386_linux_intx80_sysenter_record to struct tdep.
* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr,
i386_record_lea_modrm, i386_record): New functions. Record the
running message of I386 instruction.
(i386_gdbarch_init): Add i386_record to struct gdbarch.
* i386-tdep.h (gdbarch_tdep): Add elements "i386_intx80_record"
and "i386_sysenter_record" to be the interfaces that record the
running message of instruction "intx80" and "sysenter".
* gdbarch.sh: Change process_record and process_record_dasm
to multi-arch model.
* gdbarch.c, gdbarch.h: Regenerate.
Michael Snyder [Wed, 1 Oct 2008 03:39:00 +0000 (1 03:39 +0000)]
2008-09-30 Hui Zhu <teawater@gmail.com>
Add process record and replay to Linux.
* linux-record.c, linux-record.h: New files.
* config/i386/linux.mh: Add linux-record.o to NATDEPFILES.
* Makefile.in: Add files linux-record.c, linux-record.o.
Michael Snyder [Wed, 1 Oct 2008 03:16:02 +0000 (1 03:16 +0000)]
2008-09-30 Hui Zhu <teawater@gmail.com>
Add process record and replay to GDB.
* record.c, record.h: New files. Record and reverse target.
* gdbarch.sh: New methods process_record and process_record_dasm.
* gdbarch.c, gdbarch.h: Re-generate.
* target.h (enum strata): Add record_stratum.
* target.h (target_ops): Add a element "to_support_record_wait".
Default value is 0. meaning that this target doesn't support record
wait.
* target.c: Add include of "record.h".
(update_current_target): Set the real beneath function.
(add_target): Set the default value of "to_support_record_wait".
pointers.
* Makefile.in: Add files record.c, record.o.
Michael Snyder [Wed, 1 Oct 2008 00:22:52 +0000 (1 00:22 +0000)]
2008-09-30 Michael Snyder <msnyder@vmware.com>
* gdb.texinfo: Add documentation for reverse execution.
Michael Snyder [Wed, 1 Oct 2008 00:22:32 +0000 (1 00:22 +0000)]
2008-09-30 Michael Snyder <msnyder@vmware.com>
User interface for reverse execution.
* Makefile.in (reverse.c): New file.
* reverse.c: New file. User interface for reverse execution.
Michael Snyder [Tue, 30 Sep 2008 23:56:56 +0000 (30 23:56 +0000)]
2008-09-30 Michael Snyder <msnyder@vmware.com>
* breakpoint.h (breakpoint_silence): Export.
* breakpoint.c (breakpoint_silence): New function.
* infcmd.c (finish_command): Check for reverse exec direction.
(finish_backward): New function, handle finish cmd in reverse.
Michael Snyder [Tue, 30 Sep 2008 23:50:51 +0000 (30 23:50 +0000)]
Take out 'FIXME' comments
Michael Snyder [Tue, 30 Sep 2008 23:46:23 +0000 (30 23:46 +0000)]
2008-09-30 Michael Snyder <msnyder@vmware.com>
Event handling interface for reverse debugging.
* infrun.c (enum inferior_stop_reason): Add NO_HISTORY reason.
(handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY.
Handle stepping over a function call in reverse.
Handle stepping thru a line range in reverse.
Handle setting a step-resume breakpoint in reverse.
Handle stepping into a function in reverse.
Handle stepping between line ranges in reverse.
(print_stop_reason): Print reason for NO_HISTORY.
Michael Snyder [Tue, 30 Sep 2008 23:38:48 +0000 (30 23:38 +0000)]
2008-09-30 Michael Snyder <msnyder@vmware.com>
Remote interface for reverse debugging.
* remote.c (remote_get_execdir, remote_set_execdir): New methods.
(remote_vcont_resume): Jump out if attempting reverse execution.
(remote_resume): Check for reverse exec direction, and send
appropriate command to target.
(remote_wait): Check target response for NO_HISTORY status.
Also check for empty reply (target doesn't understand "bs" or "bc).
(_initialize_remote): Add new methods to remote target vector.
Michael Snyder [Tue, 30 Sep 2008 23:36:42 +0000 (30 23:36 +0000)]
2008-09-30 Michael Snyder <msnyder@vmware.com>
Target interface for reverse debugging.
* target.h (enum target_waitkind):
Add new wait event, TARGET_WAITKIND_NO_HISTORY.
(enum exec_direction_kind): New enum.
(struct target_ops): New methods to_set_execdir, to_get_execdir.
* target.c (target_get_execdir): New generic method.
(target_set_execdir): Ditto.
Joel Brobecker [Tue, 30 Sep 2008 21:53:32 +0000 (30 21:53 +0000)]
* ada-lang.c (ada_modulus): Correct to avoid sign problem with
moduli >= 2**31.
Joel Brobecker [Tue, 30 Sep 2008 21:36:21 +0000 (30 21:36 +0000)]
* ada-lang.c (ada_lookup_struct_elt_type): Handle case of a "naked"
variant branch.
(empty_record): Use INIT_CPLUS_SPECIFIC, since this field is not
supposed to be null. Fixes debugger segfaults.
(is_unchecked_variant): New function.
(to_fixed_variant_branch_type): Modify to leave unchecked unions
untouched.
(ada_template_to_fixed_record_type_1): Fix comment.
Joel Brobecker [Tue, 30 Sep 2008 20:42:21 +0000 (30 20:42 +0000)]
* ada-lang.c (standard_exc): New static constant.
(ada_exception_catchpoint_cond_string): Add special handling
for the predefined exceptions.
Joel Brobecker [Tue, 30 Sep 2008 20:14:13 +0000 (30 20:14 +0000)]
* ada-lang.c (ADA_RETAIN_DOTS): Delete this dead macro. Update
the code accordingly.
H.J. Lu [Tue, 30 Sep 2008 19:47:14 +0000 (30 19:47 +0000)]
2008-09-30 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c: Include "hashtab.h".
(next_field): Take a new argument, last. Check last.
(process_i386_cpu_flag): Updated.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(process_i386_registers): Likewise.
(output_i386_opcode): New.
(opcode_hash_entry): Likewise.
(opcode_hash_table): Likewise.
(opcode_hash_hash): Likewise.
(opcode_hash_eq): Likewise.
(process_i386_opcodes): Use opcode hash table and opcode array.
Joel Brobecker [Tue, 30 Sep 2008 18:46:37 +0000 (30 18:46 +0000)]
* ada-lang.c (ada_evaluate_subexp) [UNOP_IND]: Remove strange
treatment of expect_type. Return the correct type when dereferencing
an integer.
Tom Tromey [Tue, 30 Sep 2008 17:21:26 +0000 (30 17:21 +0000)]
gdb
PR gdb/2484:
* symtab.c (struct add_macro_name_data): New struct.
(add_macro_name): New function.
(default_make_symbol_completion_list): Complete macro names.
* scm-lang.c (scm_language_defn): Update.
* p-lang.c (pascal_language_defn): Update.
* objc-lang.c (objc_language_defn): Update.
* macrotab.h (macro_callback_fn): Add user_data argument.
(macro_for_each): Likewise.
(macro_for_each_in_scope): Declare.
* macrotab.c: (struct macro_for_each_data): New struct.
(foreach_macro): Use it.
(macro_for_each): Likewise.
(foreach_macro_in_scope): New function.
(macro_for_each_in_scope): Likewise.
* macrocmd.c (print_one_macro): Add argument.
(macro_list_command): Pass NULL to macro_for_each.
* m2-lang.c (m2_language_defn): Update.
* language.h (struct language_defn) <la_macro_expansion>: New
field.
(macro_expansion): New enum.
* language.c (unknown_language_defn): Update. Fix order of
initializers.
(auto_language_defn): Likewise.
(local_language_defn): Update.
* jv-lang.c (java_language_defn): Update.
* f-lang.c (f_language_defn): Update.
* c-lang.c (c_language_defn): Update.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
* ada-lang.c (ada_language_defn): Update.
gdb/testsuite
* gdb.base/macscp.exp: Add completion tests.
* gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
(TWENTY_THREE): Likewise.
(FORTY_EIGHT): Likewise.
Joel Brobecker [Tue, 30 Sep 2008 16:57:37 +0000 (30 16:57 +0000)]
* dwarf2read.c (dwarf2_get_subprogram_pc_bounds): New function.
(get_scope_pc_bounds): Use it.
Tom Tromey [Tue, 30 Sep 2008 16:53:05 +0000 (30 16:53 +0000)]
* gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
everywhere.
* gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
Nick Clifton [Tue, 30 Sep 2008 10:50:02 +0000 (30 10:50 +0000)]
* coffgen.c (coff_write_symbols): Check to see if a symbol's flags
do not match it class and if necessary update the class.
(null_error_handler): New function. Suppresses the generation of
bfd error messages.
* coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
* config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
S_SET_STORAGE_CLASS.
Andreas Krebbel [Tue, 30 Sep 2008 08:49:54 +0000 (30 08:49 +0000)]
2008-09-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* s390-opc.txt (stdy, stey): Fix description
Alan Modra [Tue, 30 Sep 2008 07:48:53 +0000 (30 07:48 +0000)]
run "make dep-am"
Alan Modra [Tue, 30 Sep 2008 04:47:50 +0000 (30 04:47 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't ignore returned
value of check_directives.
gdbadmin [Tue, 30 Sep 2008 00:00:32 +0000 (30 00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 30 Sep 2008 00:00:05 +0000 (30 00:00 +0000)]
daily update
H.J. Lu [Mon, 29 Sep 2008 16:54:07 +0000 (29 16:54 +0000)]
2008-09-29 H.J. Lu <hongjiu.lu@intel.com>
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
Steve Ellcey [Mon, 29 Sep 2008 15:31:59 +0000 (29 15:31 +0000)]
* configure: Regenerate for new libtool.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* doc/Makefile.in: Ditto.
Steve Ellcey [Mon, 29 Sep 2008 15:28:14 +0000 (29 15:28 +0000)]
* libtool.m4: Update to libtool 2.2.6.
* lt~obsolete.m4: Update to libtool 2.2.6.
* ltmain.sh: Update to libtool 2.2.6.
* ltsugar.m4: Update to libtool 2.2.6.
* ltversion.m4: Update to libtool 2.2.6.
* ltoptions.m4: Update to libtool 2.2.6.
* ltgcc.m4: Update to match changes from libtool 2.2.6.
Alan Modra [Mon, 29 Sep 2008 14:12:01 +0000 (29 14:12 +0000)]
bfd/
PR 6789
* elf.c (assign_file_positions_for_load_sections): Call
_bfd_elf_map_sections_to_segments, not elf_modify_segment_map.
(get_program_header_size): Protect against NULL info.
(_bfd_elf_map_sections_to_segments): Likewise.
* elf32-spu.c (spu_elf_additional_program_headers): Likewise.
ld/testsuite/
* ld-elf/extract-symbol-1sec.d: Correct section lma.
Nick Clifton [Mon, 29 Sep 2008 09:48:31 +0000 (29 09:48 +0000)]
* po/vi.po: Updated Vietnamese translation.
* po/fr.po: Updated French translation.
gdbadmin [Mon, 29 Sep 2008 00:00:32 +0000 (29 00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 29 Sep 2008 00:00:05 +0000 (29 00:00 +0000)]
daily update
Alan Modra [Sun, 28 Sep 2008 13:30:35 +0000 (28 13:30 +0000)]
* elf.c (_bfd_elf_init_private_section_data): Tweak union copy.
(bfd_section_from_shdr): Don't change SHT_GROUP section name.
* elflink.c (section_signature): New function.
(_bfd_elf_section_already_linked): Use it.
Jan Kratochvil [Sun, 28 Sep 2008 11:39:45 +0000 (28 11:39 +0000)]
gdb/testsuite/
* gdb.threads/attachstop-mt.exp: Note a real testcase name this
testcase is derived from. Fix racy dependency on an expected PID
number. No longer support the testcase on Linux kernel 2.4.x.
gdbadmin [Sun, 28 Sep 2008 00:00:33 +0000 (28 00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 28 Sep 2008 00:00:05 +0000 (28 00:00 +0000)]
daily update
Tom Tromey [Sat, 27 Sep 2008 21:40:48 +0000 (27 21:40 +0000)]
gdb
* NEWS: Update.
* macrocmd.c (extract_identifier): Add is_parameter argument.
(macro_define_command): Update.
(macro_undef_command): Likewise.
* macroexp.c (stringify): New function.
(find_parameter): Likewise.
(gather_arguments): Add nargs argument. Handle varargs.
(substitute_args): Add is_varargs and va_arg_name arguments.
Handle varargs, splicing, stringification. Use find_parameter.
(expand): Handle varargs.
gdb/doc
* gdb.texinfo (Macros): Remove text about stringification,
varargs, and splicing.
gdb/testsuite
* gdb.base/macscp.exp: Add tests for stringification, splicing,
and varargs.
Tom Tromey [Sat, 27 Sep 2008 21:29:27 +0000 (27 21:29 +0000)]
gdb
* scm-lang.c (scm_language_defn): Update.
* p-typeprint.c (pascal_print_typedef): New function.
* p-lang.h: (pascal_print_typedef): Declare.
* p-lang.c (pascal_language_defn): Update.
* objc-lang.c (objc_language_defn): Update.
* m2-typeprint.c (m2_print_typedef): New function.
* m2-lang.h (m2_print_typedef): Declare.
* m2-lang.c (m2_language_defn): Update.
* language.h (_LANG_c, _LANG_m2, _LANG_fortran, _LANG_pascal):
Remove.
(struct language_defn) <la_print_typedef>: New field.
(default_print_typedef): Declare.
(LA_PRINT_TYPEDEF): New define.
* language.c (unknown_language_defn): Update.
(auto_language_defn): Update.
(local_language_defn): Update.
* jv-lang.c (java_language_defn): Update.
* f-lang.c (f_language_defn): Update.
* c-typeprint.c (c_print_typedef): New function.
* c-lang.h (c_print_typedef): Declare.
* c-lang.c (c_language_defn): Update.
(cplus_language_defn): Update.
(asm_language_defn): Update.
(minimal_language_defn): Update.
* ada-lang.c (ada_language_defn): Update.
* typeprint.c (default_print_typedef): New function.
gdb/doc
* gdbint.texinfo (Language Support): Remove text about omitting
support for a language.
Tom Tromey [Sat, 27 Sep 2008 17:03:15 +0000 (27 17:03 +0000)]
* jv-exp.y (insert_exp): Define using ISO syntax.
(copy_exp): Likewise.
(push_expression_name): Likewise.
(push_fieldnames): Likewise.
(java_type_from_name): Likewise.
(yyerror): Likewise.
(yylex): Likewise.
(parse_number): Likewise.
Alan Modra [Sat, 27 Sep 2008 00:00:05 +0000 (27 00:00 +0000)]
daily update
gdbadmin [Sat, 27 Sep 2008 00:00:03 +0000 (27 00:00 +0000)]
*** empty log message ***
Joel Brobecker [Fri, 26 Sep 2008 18:38:40 +0000 (26 18:38 +0000)]
* MAINTAINERS (GLOBAL MAINTAINERS): Add Pedro Alves.
Andreas Krebbel [Fri, 26 Sep 2008 13:44:33 +0000 (26 13:44 +0000)]
2008-09-26 Florian Krohm <fkrohm@us.ibm.com>
* s390-opc.txt (thder, thdr): Change RRE_RR to RRE_FF.
(cfxr, cfdr, cfer, clclu): Add esa flag.
(sqd): Instruction added.
(qadtr, qaxtr): Change RRF_FFFU to RRF_FUFF.
* s390-opc.c: (INSTR_RRF_FFFU, MASK_RRF_FFFU): Removed.
2008-09-26 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/esa-g5.d: Adjust according to the s390-opc changes.
* gas/s390/esa-g5.s: Likewise.
* gas/s390/esa-z990.d: Likewise.
* gas/s390/esa-z990.s: Likewise.
* gas/s390/zarch-z900.d: Likewise.
* gas/s390/zarch-z900.s: Likewise.
* gas/s390/zarch-z990.d: Likewise.
* gas/s390/zarch-z990.s: Likewise.
gdbadmin [Fri, 26 Sep 2008 00:00:34 +0000 (26 00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 26 Sep 2008 00:00:05 +0000 (26 00:00 +0000)]
daily update
Joel Brobecker [Thu, 25 Sep 2008 16:04:11 +0000 (25 16:04 +0000)]
* stack.c (print_frame_args): Fix typos in comments.
Thiago Jung Bauermann [Thu, 25 Sep 2008 14:13:43 +0000 (25 14:13 +0000)]
2008-09-25 Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com>
* linux-nat.c (get_pending_status): Fix argument to WIFSTOPPED.
Alan Modra [Thu, 25 Sep 2008 00:00:06 +0000 (25 00:00 +0000)]
daily update
gdbadmin [Thu, 25 Sep 2008 00:00:03 +0000 (25 00:00 +0000)]
*** empty log message ***
Richard Henderson [Wed, 24 Sep 2008 23:21:04 +0000 (24 23:21 +0000)]
include/
* elf/dwarf2.h (DW_OP_GNU_encoded_addr): New.
binutils/
* dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
(decode_location_expression): Add section parameter. Handle
DW_OP_GNU_encoded_addr.
(read_and_display_attr_value): Update decode_location_expression call.
(display_debug_loc, display_debug_frames): Likewise.
gas/
* dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
(struct cfi_insn_data): Add ea member.
(CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
(output_cfi_insn): Handle CFI_val_encoded_addr.
(select_cie_for_fde): Don't match CFI_val_encoded_addr.
* doc/as.texinfo (.cfi_val_encoded_addr): Document.
Vladimir Prus [Wed, 24 Sep 2008 16:37:22 +0000 (24 16:37 +0000)]
* remote-sim.c (gdbsim_create_inferior): Fix missing parenthesis.
Andreas Schwab [Wed, 24 Sep 2008 12:59:48 +0000 (24 12:59 +0000)]
* frame.c (get_frame_register_bytes): Avoid excessive function calls.
Andreas Schwab [Wed, 24 Sep 2008 12:17:19 +0000 (24 12:17 +0000)]
* frame.c (get_frame_register_bytes): Take pseudo registers into
account.
Alan Modra [Wed, 24 Sep 2008 00:00:06 +0000 (24 00:00 +0000)]
daily update
gdbadmin [Wed, 24 Sep 2008 00:00:03 +0000 (24 00:00 +0000)]
*** empty log message ***
Doug Evans [Tue, 23 Sep 2008 18:35:11 +0000 (23 18:35 +0000)]
* dcache.c (state_chars): New static global.
(ENTRY_INVALID,ENTRY_VALID): Renamed from ENTRY_BAD,ENTRY_OK.
All uses updated.
(dcache_info): Print cache state as mnemonically useful letters instead
of magic numbers.
* doc/gdb.texinfo (info dcache): Update.
Doug Evans [Tue, 23 Sep 2008 17:36:50 +0000 (23 17:36 +0000)]
* dwarf2read.c (comp_unit_head): Reorganize for better packing.
Alan Modra [Tue, 23 Sep 2008 00:00:07 +0000 (23 00:00 +0000)]
daily update
gdbadmin [Tue, 23 Sep 2008 00:00:03 +0000 (23 00:00 +0000)]
*** empty log message ***
Tom Tromey [Mon, 22 Sep 2008 18:18:06 +0000 (22 18:18 +0000)]
* symfile.c (symbol_file_add_with_addrs_or_offsets): Don't use
printf_filtered.
Ian Lance Taylor [Mon, 22 Sep 2008 16:37:41 +0000 (22 16:37 +0000)]
* plugin-api.h (ld_plugin_status): Remove comma from the last item.
Use C style comment.
(ld_plugin_api_version, ld_plugin_output_file_type,
ld_plugin_symbol_kind, ld_plugin_symbol_visibility,
ld_plugin_symbol_resolution, ld_plugin_level, ld_plugin_tag): Remove
comma from the last item.