deliverable/binutils-gdb.git
15 years ago PR 6848
Alan Modra [Wed, 20 Aug 2008 13:43:32 +0000 (13:43 +0000)] 
PR 6848
* write.c (install_reloc): Check that reloc symbols have been
written.
(set_symtab): Mark symbols with BSF_KEEP.

15 years ago gdb/
Pedro Alves [Wed, 20 Aug 2008 11:47:57 +0000 (11:47 +0000)] 
gdb/
* linespec.c (symtab_from_filename): Also throw NOT_FOUND_ERROR if
there are no symbols loaded, instead of throwing a generic error.
(decode_variable): Likewise.

gdb/testsuite/
* gdb.base/pending.exp: Test pending breakpoints without symbols
loaded.

15 years ago * objfiles.h (struct obj_section): Remove addr and endaddr fields.
Pedro Alves [Wed, 20 Aug 2008 11:21:44 +0000 (11:21 +0000)] 
* objfiles.h (struct obj_section): Remove addr and endaddr fields.
(obj_section_offset, obj_section_addr, obj_section_endaddr): New
macros.
* objfiles.c (add_to_objfile_sections): Don't set addr, endaddr
and offset.  Use size_t instead of unsigned long.
(build_objfile_section_table): Use size_t instead of unsigned
long.
(objfile_relocate): Don't relocate s->addr and s->endaddr, they're
gone.
(find_pc_sect_section): Use obj_section_addr and
obj_section_endaddr.
* symfile.c (symfile.c): Remove code that maps sections
offsets in "addr" to the object's sections.
* blockframe.c (find_pc_partial_function): Use obj_section_endaddr.
* gcore.c (gcore_create_callback): Use obj_section_addr and
obj_section_endaddr.
* maint.c (print_objfile_section_info): Likewise.
* printcmd.c (sym_info): Use obj_section_addr and
obj_section_endaddr.
* symtab.c (fixup_section): Likewise.

15 years ago* Makefile.in: Remove page break; OpenBSD make chokes on them.
Mark Kettenis [Wed, 20 Aug 2008 10:18:23 +0000 (10:18 +0000)] 
* Makefile.in: Remove page break; OpenBSD make chokes on them.

15 years ago* sparc-tdep.c: Make some comments catch up with reality.
Mark Kettenis [Wed, 20 Aug 2008 09:43:16 +0000 (09:43 +0000)] 
* sparc-tdep.c: Make some comments catch up with reality.

15 years ago * NEWS: Mention 'set target-async'
Vladimir Prus [Wed, 20 Aug 2008 04:58:34 +0000 (04:58 +0000)] 
* NEWS: Mention 'set target-async'

15 years ago * gdb.textinfo (GDB/MI Miscellaneous Commands): Use @table
Vladimir Prus [Wed, 20 Aug 2008 04:57:32 +0000 (04:57 +0000)] 
    * gdb.textinfo (GDB/MI Miscellaneous Commands): Use @table
        for possible features of -list-features.

15 years ago*** empty log message ***
gdbadmin [Wed, 20 Aug 2008 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 20 Aug 2008 00:00:08 +0000 (00:00 +0000)] 
daily update

15 years ago * lib/mi-support.exp (mi_expect_stop): Produce
Vladimir Prus [Tue, 19 Aug 2008 14:13:29 +0000 (14:13 +0000)] 
* lib/mi-support.exp (mi_expect_stop): Produce
more details on failures.
* gdb.mi/mi-nonstop.exp: New.
* gdb.mi/non-stop.c: New.

15 years ago * infrun.c (resume): If the thread is placed to the deferred step
Vladimir Prus [Tue, 19 Aug 2008 13:57:28 +0000 (13:57 +0000)] 
* infrun.c (resume): If the thread is placed to the deferred step
        queue, mark it as running.

15 years ago Make sure target supports non-stop.
Vladimir Prus [Tue, 19 Aug 2008 13:22:14 +0000 (13:22 +0000)] 
Make sure target supports non-stop.
        * infcmd.c (run_command_1, attach_command): If non-stop mode
        is requested, verify the target supports it.
        * linux-nat.c (linux_nat_supports_non_stop): New.
        (linux_nat_add_target): Register the above.
        * target.c (find_default_supports_non_stop)
        (target_supports_non_stop): New.
        (init_dummy_target): Register find_default_supports_non_stop.
        * target.h (struct target_ops): New field to_supports_non_stop.
        (target_supports_non_stop): New.

15 years ago * target.c (target_async_permitted, target_async_permitted_1)
Vladimir Prus [Tue, 19 Aug 2008 13:05:02 +0000 (13:05 +0000)] 
* target.c (target_async_permitted, target_async_permitted_1)
        (set_maintenance_target_async_permitted)
        (show_maintenance_target_async_permitted): New.
        (initialize_targets): Register 'set target-async'.
        * target.h (target_async_permitted): Declare.
        * linux-nat.c (linux_nat_async_enabled)
        (linux_nat_async_permitted, set_maintenance_linux_async_permitted)
        (show_maintenance_linux_async_permitted): Remove.
        (sigchld_handler, linux_nat_is_async_p, linux_nat_can_async_p)
        (get_pending_events, linux_nat_async): Use target_async_permitted.
        (linux_nat_set_async_mode): Remove, moving the only used bits
        into...
        (linux_nat_setup_async): This.
        (_initialize_linux_nat): Do not register 'maint set linux-async'.
        Use linux_nat_setup_async.
        * remote.c (remote_async_permitted, remote_async_permitted_set)
        (set_maintenance_remote_async_permitted)
        (show_maintenance_remote_async_permitted): Remove.
        (remote_open_1, remote_terminal_inferior, remote_can_async_p)
        (remote_is_async_p): Use target_async_permitted.
        (_initialize_remote): Don't register 'main set remote-async'.
        * mi/mi-cmds.c (mi_cmds): Register -list-target-features.
        * mi/mi-cmds.h (mi_cmd_list_target_features): New.
        * mi/mi-main.c (mi_cmd_list_target_features): New.

15 years ago * target.c (maybe_kill_then_attach)
Vladimir Prus [Tue, 19 Aug 2008 12:49:19 +0000 (12:49 +0000)] 
* target.c (maybe_kill_then_attach)
        (maybe_kill_then_create_inferior): Remove.
        (update_current_target): Do not default to_attach,
        to_create_inferiour, to_is_async_p.

15 years ago * doc/gdb.texinfo (PowerPC): Fix typo.
Vladimir Prus [Tue, 19 Aug 2008 12:31:35 +0000 (12:31 +0000)] 
* doc/gdb.texinfo (PowerPC): Fix typo.
(PowerPC features): Fix typo.

15 years agoAdd NEWS entry for last Ada changes, and adjust typos in last ChangeLog
Paul N. Hilfinger [Tue, 19 Aug 2008 10:36:43 +0000 (10:36 +0000)] 
Add NEWS entry for last Ada changes, and adjust typos in last ChangeLog
entry.

15 years ago* ada-lang.c (discrete_type_high_bound,discrete_type_low_bound): Change
Paul N. Hilfinger [Tue, 19 Aug 2008 10:10:39 +0000 (10:10 +0000)] 
* ada-lang.c (discrete_type_high_bound,discrete_type_low_bound): Change
API to return LONGEST values rather than struct values.
(ada_evaluate_subexp): Change to use new API of discrete_type_low_bound
and discrete_type_high_bound.
(to_fixed_range_type): Create a range type in cases where
argument is base type and its limits are representable as ints.
(ada_is_modular_type): Correct so that base type must be integral.
* ada-lex.l (TRUEKEYWORD,FALSEKEYWORD): Make 'true' and 'false'
keywords when they appear alone, since we are phasing out
direct representation of these identifiers in ebugging data.
* ada-exp.y: Define 'true' and 'false' as primaries.
(type_boolean): New function.
(type_int,type_long,type_long_long,type_floattype_double)
(type_long_double): Remove uses of current_gdbarch for consistency
with type_boolean.
(write_int): Change comment to indicate that it might write boolean
constant as well.
* ada-typeprint.c (ada_print_type): Print '(false, true)' for boolean
type, since will no longer be represented as enumerated type in
debugging data.
* ada-valprint.c (print_optional_low_bound): Handle boolean case
as well.

15 years agodaily update
Alan Modra [Tue, 19 Aug 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 19 Aug 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * bsd-uthread.c (bsd_uthread_close): New.
Pedro Alves [Mon, 18 Aug 2008 23:24:57 +0000 (23:24 +0000)] 
* bsd-uthread.c (bsd_uthread_close): New.
(bsd_uthread_deactivate): Don't cleanup here, just unpush the
target.
(bsd_uthread_solib_loaded): Fix typo.
(bsd_uthread_target): Register bsd_uthread_close.

15 years ago * corelow.c (core_open): Assume there was no upper layer left
Pedro Alves [Mon, 18 Aug 2008 23:12:40 +0000 (23:12 +0000)] 
* corelow.c (core_open): Assume there was no upper layer left
behind from a previous inferior.
* target.c (pop_all_targets): Rename to ...
(pop_all_targets_above): ... this.  Add a target stratum
parameter.  Use it instead of hardcoding the dummy_stratum.
(pop_all_targets): New, defer to pop_all_targets_above.
(target_preopen): Use pop_all_targets_above.
* target.h (pop_all_targets_above): Declare.

15 years ago2008-08-18 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Mon, 18 Aug 2008 22:35:17 +0000 (22:35 +0000)] 
2008-08-18  Pedro Alves  <pedro@codesourcery.com>

gdb/doc/
* observer.texi (thread_ptid_changed): New.

gdb/
* gdbthread.h (thread_change_ptid): Declare.
* infrun.c (infrun_thread_ptid_changed): New.
(_initialize_infrun): Attach infrun_thread_ptid_changed to the
thread_ptid_changed observer.
* regcache.c (regcache_thread_ptid_changed): New.
(_initialize_regcache): Attach regcache_thread_ptid_changed to the
thread_ptid_changed observer.
* thread.c (thread_change_ptid): New.

15 years ago * symfile.c (reread_symbols): Update.
Tom Tromey [Mon, 18 Aug 2008 19:44:49 +0000 (19:44 +0000)] 
* symfile.c (reread_symbols): Update.
* solib-sunos.c (allocate_rt_common_objfile): Update.
* objfiles.c (allocate_objfile): Update.
* objfiles.h (struct objfile) <md, mmfd, deprecated_obj_private>:
Remove.

15 years ago * gdbtypes.c (copy_type_recursive): Allocate 'stored' on objfile's
Tom Tromey [Mon, 18 Aug 2008 19:41:28 +0000 (19:41 +0000)] 
* gdbtypes.c (copy_type_recursive): Allocate 'stored' on objfile's
obstack.

15 years ago2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 18 Aug 2008 18:21:15 +0000 (18:21 +0000)] 
2008-08-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_align_code): Fix a comment typo.

15 years agobfd/
Richard Sandiford [Mon, 18 Aug 2008 18:14:05 +0000 (18:14 +0000)] 
bfd/
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Copy MIPS16
stub information.

ld/testsuite/
* ld-mips-elf/mips16-pic-4a.s, ld-mips-elf/mips16-pic-4b.s,
ld-mips-elf/mips16-pic-4.ver, ld-mips-elf/mips16-pic-4a.dd,
ld-mips-elf/mips16-pic-4a.nd, ld-mips-elf/mips16-pic-4a.gd,
ld-mips-elf/mips16-pic-4c.s, ld-mips-elf/mips16-pic-4b.dd: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

15 years ago * doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7.
Luis Machado [Mon, 18 Aug 2008 15:46:08 +0000 (15:46 +0000)] 
* doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7.
(PowerPC features): Mention feature set for VSX registers.

* gdbserver/Makefile.in: Add required vsx dependencies.

* gdbserver/linux-ppc-low: Define PPC_FEATURE_HAS_VSX.
Declare init_registers_powerpc_vsx32l.
Declare init_registers_powerpc_vsx64l.
Define PTRACE_GETVSXREGS and PTRACE_SETVSXREGS.
(ppc_arch_setup): Check for VSX in hwcap.
(ppc_fill_vsxregset): New function.
(ppc_store_vsxregset): New function.
Add new VSX entry in regset_info target_regsets.

* gdbserver/configure.srv: Add new VSX dependencies.

15 years ago * rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
Daniel Jacobowitz [Mon, 18 Aug 2008 12:32:47 +0000 (12:32 +0000)] 
* rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
lr_register.
(rs6000_in_function_epilogue_p): Check for bctr.
(skip_prologue): Initialize lr_register.  Set lr_reg to a register
number.  Set gpr_mask and used_bl.  Continue scanning while some
expected registers are not saved.  Set lr_register if LR is not
stored.
(rs6000_frame_cache): Handle gpr_mask and lr_register.

* gdb.arch/powerpc-prologue.exp: Correct saved registers.

15 years ago*** empty log message ***
gdbadmin [Mon, 18 Aug 2008 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 18 Aug 2008 00:00:06 +0000 (00:00 +0000)] 
daily update

15 years ago* elf32-arm.c: Tidy up the code.
Nick Clifton [Sun, 17 Aug 2008 20:48:21 +0000 (20:48 +0000)] 
* elf32-arm.c: Tidy up the code.
  (bfd_elf32_arm_allocate_interworking_sections): Move common code
  into...
  (arm_allocate_glue_section_space): ... New function.
  (bfd_elf32_arm_add_glue_sections_to_bfd): Move common code
  into...
  (arm_make_glue_section): ... New function.

15 years ago * ld-elf/sec-to-seg1.s: Shorten test data to align the section to
Nick Clifton [Sun, 17 Aug 2008 20:42:53 +0000 (20:42 +0000)] 
    * ld-elf/sec-to-seg1.s: Shorten test data to align the section to
        a 4-byte boundary.

15 years ago* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
Nick Clifton [Sun, 17 Aug 2008 20:39:34 +0000 (20:39 +0000)] 
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
  where the sym_hashes are not available.

15 years agogdb:
Tom Tromey [Sun, 17 Aug 2008 16:58:17 +0000 (16:58 +0000)] 
gdb:
PR gdb/1535:
* breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): New macros.
(ep_find_event_name_end): Remove.
(catch_fork_temporary, catch_vfork_temporary,
catch_fork_permanent, catch_vfork_permanent): New constants.
(catch_vfork, catch_fork): Remove.
(catch_fork_command_1): Add 'command' argument.  Remove
'fork_kind' and 'tempflag'.  Handle NULL 'arg'.  Update switch for
all cases.
(catch_exec_command_1): Add 'command' argument; remove
'tempflag'.  Handle NULL 'arg'.
(catch_load_command_1): Likewise.
(catch_unload_command_1): Likewise.
(catch_ada_exception_command): Likewise.
(catch_assert_command): Likewise.
(catch_catch_command): New function.
(catch_throw_command): Likewise.
(catch_command_1): Remove.
(catch_command): Just call error.
(tcatch_command): Likewise.
(catch_cmdlist): New global.
(tcatch_cmdlist): Likewise.
(add_catch_command): New function.
(_initialize_breakpoint): Create "catch" and "tcatch" as prefix
commands.  Create all catch sub-commands.
gdb/testsuite:
* gdb.base/help.exp (help catch): Rewrite.

15 years agobfd/
Alan Modra [Sun, 17 Aug 2008 03:12:50 +0000 (03:12 +0000)] 
bfd/
* bfd.c (struct _bfd): Correct outsymbols comment.
* bfd-in2.h: Regenerate.
* linker.c (bfd_generic_link_read_symbols): Renamed from..
(generic_link_read_symbols): ..this, and made global.

include/
* bfdlink.h (bfd_generic_link_read_symbols): Declare.
ld/
PR 6478
* ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
Don't free symbol pointer array.
(check_refs): Likewise.
* ldmain.c (warning_callback): Likewise.
* ldmisc.c (vfinfo): Likewise.
* pe-dll.c (process_def_file): Likewise.
(pe_walk_relocs_of_symbol, generate_reloc): Likewise.
* emultempl/pe.em (pe_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* emultempl/pep.em (pep_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
passive_position, closed.
* ldlang.c (new_afile): Don't set asymbols and symbol_count.
* ldmain.c (add_archive_element): xcalloc lang_input_statement_type.

15 years agodaily update
Alan Modra [Sun, 17 Aug 2008 00:00:06 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 17 Aug 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * gdbthread.h: Add comments.
Pedro Alves [Sat, 16 Aug 2008 23:51:14 +0000 (23:51 +0000)] 
* gdbthread.h: Add comments.
* stack.c (get_selected_block): Return 0 on an exited thread.
* top.c (execute_command): Check for is_stopped, not !is_running.
* event-top.c (command_handler): Likewise.

15 years ago * mi/mi-main.c (mi_cmd_exec_next, mi_cmd_exec_next_instruction)
Pedro Alves [Sat, 16 Aug 2008 22:26:19 +0000 (22:26 +0000)] 
* mi/mi-main.c (mi_cmd_exec_next, mi_cmd_exec_next_instruction)
(mi_cmd_exec_step, mi_cmd_exec_step_instruction)
(mi_cmd_exec_finish): Remove "return".

15 years ago * target.h (pop_all_targets): Declare.
Pedro Alves [Sat, 16 Aug 2008 22:12:18 +0000 (22:12 +0000)] 
* target.h (pop_all_targets): Declare.
* target.c (pop_all_targets): New.
* top.c (quit_target): Pop all targets instead of just closing the
current.

15 years agogdb/
Thiago Jung Bauermann [Sat, 16 Aug 2008 20:36:30 +0000 (20:36 +0000)] 
gdb/
2008-08-16  Vladimir Prus  <vladimir@codesourcery.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* cli-script.c (read_next_line): Add parse_commands argument.
(recurse_read_control_structure): Adapt to new read_next_line
signature.
(read_command_lines): Add parse_commands argument.
(define_command): Adapt to new read_command_lines signature.
(document_command): Likewise.
* breakpoint.c (commands_command): Likewise.
* defs.h (read_command_lines): Adjust function prototype.

testsuite/
2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* gdb.base/define.exp: Test indented command documentation.
* gdb.python/python.exp: Test indented multi-line command.

15 years ago(pos_atr): Account for the possibility that the argument may be a reference.
Paul N. Hilfinger [Sat, 16 Aug 2008 09:26:25 +0000 (09:26 +0000)] 
(pos_atr): Account for the possibility that the argument may be a reference.

15 years ago(scan_xcoff_symtab): Do not include global symbols
Paul N. Hilfinger [Sat, 16 Aug 2008 08:49:23 +0000 (08:49 +0000)] 
(scan_xcoff_symtab): Do not include global symbols
 ('F' format) for @FIX names generated by the loader, retaining only
 the minimal symbols (and no partial symbol tables) for these names.
 Fixes warning messages about symbols that are found in partial
 symbol tables, but not full symbol tables.

15 years ago * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
Richard Sandiford [Sat, 16 Aug 2008 06:47:17 +0000 (06:47 +0000)] 
* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
* configure: Regenerate.

config/
* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
* mt-mips-elfoabi: Include mt-mips16-compat.
* mt-mips-gnu: New file.

15 years ago * infrun.c (fetch_inferior_event): Only call normal_stop if not
Pedro Alves [Sat, 16 Aug 2008 01:04:16 +0000 (01:04 +0000)] 
* infrun.c (fetch_inferior_event): Only call normal_stop if not
stopping quietly.

15 years ago*** empty log message ***
gdbadmin [Sat, 16 Aug 2008 00:00:34 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 16 Aug 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago * rs6000-tdep: Include "features/rs6000/powerpc-vsx32.c".
Luis Machado [Fri, 15 Aug 2008 15:18:34 +0000 (15:18 +0000)] 
* rs6000-tdep: Include "features/rs6000/powerpc-vsx32.c".
Include "features/rs6000/powerpc-vsx64.c".
(ppc_supply_vsxregset): New function.
(ppc_collect_vsxregset): New function.
(IS_VSX_PSEUDOREG): New macro.
(IS_EFP_PSEUDOREG): New macro.
(vsx_register_p): New function.
(ppc_vsx_support_p): New function.
(rs6000_builtin_type_vec128): New function.
(rs6000_register_name): Hide upper halves of vs0~vs31.  Return
correct names for VSX registers and EFPR registers.
(rs6000_pseudo_register_type): Return correct types for VSX
and EFPR registers.
(rs6000_pseudo_register_reggroup_p): Return correct group for
VSX and EFPR registers.
(ppc_pseudo_register_read): Rename to dfp_pseudo_register_read.
(ppc_pseudo_register_write): Rename to dfp_pseudo_register_write.
(vsx_pseudo_register_read): New function.
(vsx_pseudo_register_write): New function.
(efpr_pseudo_register_read): New function.
(efpr_pseudo_register_write): New function.
(rs6000_pseudo_register_read): Call new VSX and EFPR read functions.
(rs6000_pseudo_register_write): Call new VSX and EFPR write functions.
(rs6000_gdbarch_init): Declare have_vsx.
Initialize new upper half VSX registers.
Initialize VSX-related and EFPR-related pseudo-registers variables.
Adjust the number of pseudo registers accordingly.

* ppc-linux-nat.c: Define PTRACE_GETVSXREGS, PTRACE_SETVSXREGS
and SIZEOF_VSRREGS.
(gdb_vsxregset_t): New type.
(have_ptrace_getsetvsxregs): New variable.
(fetch_vsx_register): New function.
(fetch_register): Handle VSX registers.
(fetch_vsx_registers): New function.
(fetch_ppc_registers): Handle VSX registers.
(store_ppc_registers): Handle VSX registers.
(store_vsx_register): New function.
(store_register): Handle VSX registers.
(store_vsx_registers): New function.
(ppc_linux_read_description): Handle VSX-enabled inferiors.
(gdb_vsxregset_t): New type.
(supply_vsxregset): New function.
(fill_vsxregset): New function.

* ppc-tdep.h (vsx_register_p): New prototype.
(vsx_support_p): New prototype.
(ppc_vsr0_regnum): New variable.
(ppc_vsr0_upper_regnum): Likewise.
(ppc_efpr0_regnum): Likewise.
(ppc_builtin_type_vec128): New type.
(ppc_num_vsrs): New constant.
(ppc_num_vshrs): New constant.
(ppc_num_efprs): Likewise.
Define POWERPC_VEC_VSX PPC_VSR0_UPPER_REGNUM and PPC_VSR31_UPPER_REGNUM.
(ppc_supply_vsxregset): New prototype.
(ppc_collect_vsxregset): New prototype.

* ppc-linux-tdep.c: Include "features/rs6000/powerpc-vsx32l.c"
Include "features/rs6000/powerpc-vsx64l.c".
(_initialize_ppc_linux_tdep): Initialize VSX-enabled targets.
(ppc_linux_regset_sections): Add new ".reg-ppc-vsx" field.
(ppc32_linux_vsxregset): New 32-bit VSX-enabled regset.
(ppc_linux_regset_from_core_section): Handle VSX core section.
(ppc_linux_core_read_description): Support VSX-enabled core files.

* ppc-linux-tdep.h: Declare *tdesc_powerpc_vsx32l
Declare tdesc_powerpc_vsx64l

* corelow.c (get_core_register_section): Support VSX-enabled
core files.

* features/rs6000/power-vsx.xml: New VSX descriptions.
* features/rs6000/powerpc-vsx32.xml: New file.
* features/rs6000/powerpc-vsx32l.xml: New file.
* features/rs6000/powerpc-vsx64.xml: New file.
* features/rs6000/powerpc-vsx64l.xml: New file.
* features/rs6000/powerpc-vsx32.c: New file (generated).
* features/rs6000/powerpc-vsx32l.c: New file (generated).
* features/rs6000/powerpc-vsx64.c: New file (generated).
* features/rs6000/powerpc-vsx64l.c: New file (generated).
* features/Makefile: Updated with new descriptions.
* regformats/rs6000/powerpc-vsx32l.dat: New file (generated).
* regformats/rs6000/powerpc-vsx64l.dat: New file (generated).

* testsuite/gdb.arch/vsx-regs.c: New source file.
* testsuite/gdb.arch/vsx-regs.exp: New testcase.
* testsuite/lib/gdb.exp (skip_vsx_tests): New function.

15 years ago2008-08-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 15 Aug 2008 12:10:21 +0000 (12:10 +0000)] 
2008-08-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-opc.c (INSTR_RRF_FFRU, MASK_RRF_FFRU): New instruction format.
* s390-opc.txt (lxr, rrdtr, rrxtr): Fix instruction format.

2008-08-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gas/s390/esa-g5.d: lxr operands are floating point.
* gas/s390/esa-g5.s: Likewise.
* gas/testsuite/gas/s390/zarch-z9-ec.d: rrdtr, rrxtr third
operands is gpr.
* gas/testsuite/gas/s390/zarch-z9-ec.s: Likewise.

15 years ago PR 6526
Alan Modra [Fri, 15 Aug 2008 08:31:52 +0000 (08:31 +0000)] 
PR 6526
* configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.

15 years ago * ia64-linux.nat (_initialize_ia64_linux_nat): Don't
Vladimir Prus [Fri, 15 Aug 2008 08:08:27 +0000 (08:08 +0000)] 
* ia64-linux.nat (_initialize_ia64_linux_nat): Don't
call linux_target twice.

15 years ago2008-08-14 Cary Coutant <ccoutant@google.com>
Cary Coutant [Fri, 15 Aug 2008 04:57:46 +0000 (04:57 +0000)] 
2008-08-14  Cary Coutant  <ccoutant@google.com>

* x86_64.cc (Target_x86_64::Relocate::relocat_tls):
Use addend for DTPOFF32, DTPOFF64, and TPOFF32 relocs.
* testsuite/tls_test.cc (struct int128): 128-bit struct
for testing TLS relocs with non-zero addend.
(v12): New TLS variable.
(t12): New test.
(t_last): Add check for v12.
* testsuite/tls_test.h (t12): New function.
* testsuite/tls_test_main.cc (thread_routine): Call new test.

15 years ago*** empty log message ***
gdbadmin [Fri, 15 Aug 2008 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 15 Aug 2008 00:00:07 +0000 (00:00 +0000)] 
daily update

15 years ago * nto-tdep.c (lm_info): Updated struct lm_info definition from
Aleksandar Ristovski [Thu, 14 Aug 2008 20:55:21 +0000 (20:55 +0000)] 
* nto-tdep.c (lm_info): Updated struct lm_info definition from
solib-svr4.c
(LM_ADDR): Use l_addr if available; if not, use link map and set l_addr.

15 years agogdb:
Tom Tromey [Thu, 14 Aug 2008 18:03:22 +0000 (18:03 +0000)] 
gdb:
* macrocmd.c (macro_define_command): Check for NULL argument.
(macro_undef_command): Likewise.
gdb/testsuite:
* gdb.base/macscp.exp: Add regression test for "macro define" or
"macro undef" with no arguments.

15 years ago * config/tc-tic4x.c (tic4x_operands_parse): Make static.
Alan Modra [Thu, 14 Aug 2008 14:54:40 +0000 (14:54 +0000)] 
* config/tc-tic4x.c (tic4x_operands_parse): Make static.

15 years ago PR 6825
Alan Modra [Thu, 14 Aug 2008 13:56:00 +0000 (13:56 +0000)] 
PR 6825
* ppc-opc.c (powerpc_opcodes): Enable rfci, mfpmr, mtpmr for e300.

15 years ago * coffgen.c (coff_find_nearest_line): Correct cached line index.
Alan Modra [Thu, 14 Aug 2008 02:38:22 +0000 (02:38 +0000)] 
* coffgen.c (coff_find_nearest_line): Correct cached line index.

15 years ago * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding
Joel Brobecker [Thu, 14 Aug 2008 02:34:08 +0000 (02:34 +0000)] 
    * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding
        the direct visibility of all names in user-written packages.

15 years ago * infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.
Pedro Alves [Thu, 14 Aug 2008 01:39:24 +0000 (01:39 +0000)] 
* infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.

15 years ago*** empty log message ***
gdbadmin [Thu, 14 Aug 2008 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 14 Aug 2008 00:00:07 +0000 (00:00 +0000)] 
daily update

15 years agogdb/
Pedro Alves [Wed, 13 Aug 2008 13:58:45 +0000 (13:58 +0000)] 
gdb/
* breakpoint.c (always_inserted_auto, always_inserted_on)
(always_inserted_off, always_inserted_enums): New.
(always_inserted_mode): Change type to char* and point to
always_inserted_auto.
(show_always_inserted_mode): In auto mode, also show the current
effect of the option.
(breakpoints_always_inserted_mode): Adjust for the new auto mode.
(_initialize_breakpoint): Make the "set breakpoints
always-inserted" command an enum command.  Extend help to describe
the auto mode.

gdb/doc/
* gdb.texinfo (breakpoint always-inserted) Describe the auto mode
setting, and make it the default.
(Non-Stop Mode): Remove "set breakpoints always-inserted 1" from
non-stop script example.

15 years ago * spu-tdep.c (info_spu_dma_command): Respect TSQV (tag status
Ulrich Weigand [Wed, 13 Aug 2008 13:38:01 +0000 (13:38 +0000)] 
* spu-tdep.c (info_spu_dma_command): Respect TSQV (tag status
query valid) bit.  Ignore bits outside the condition field.
(info_spu_proxydma_command): Ignore bits outside the field.

15 years ago * layout.cc (Layout::attach_allocated_section_to_segment): Don't
Ian Lance Taylor [Wed, 13 Aug 2008 07:37:46 +0000 (07:37 +0000)] 
* layout.cc (Layout::attach_allocated_section_to_segment): Don't
set tls_segment_ or relro_segment_.
(Layout::make_output_segment): Set tls_segment_ and relro_segment_
when appropriate.
* output.h (Output_section::clear_is_relro): New function.
* output.cc (Output_segment::add_output_section): Handle SHF_TLS
sections specially even when output_data_ is empty.
(Output_segment::maximum_alignment): When first section is relro,
only force alignment for PT_LOAD segments.
* script.cc (script_data_segment_align): New function.
(script_data_segment_relro_end): New function.
* script-c.h (script_data_segment_align): Declare.
(script_data_segment_relro_end): Declare.
* script-sections.h (class Script_sections): Declare
data_segment_align and data_segment_relro_end.  Add fields
segment_align_index_ and saw_relro_end_.
* script-sections.cc (class Sections_element): Add set_is_relro
virtual function.  Add new bool* parameter to place_orphan_here.
Add get_output_section virtual function.
(class Output_section_definition): Add set_is_relro.  Add new
bool* parameter to place_orphan_here.  Add get_output_section.
Add is_relro_ field.
(Output_section_definition::Output_section_definition): Initialize
evaluated_address_, evaluated_load_address, evaluated_addralign_,
and is_relro_ fields.
(Output_section_definition::place_orphan_here): Add is_relro
parameter.
(Output_section_definition::set_section_addresses): Set relro for
output section.
(Output_section_definition::alternate_constraint): Likewise.
(class Orphan_output_section): Add new bool* parameter to
place_orphan_here.  Add get_output_section.
(Orphan_output_section::place_orphan_here): Add is_relro
parameter.
(Script_sections::Script_sections): Initialize
data_segment_align_index_ and saw_relro_end_.
(Script_sections::data_segment_align): New function.
(Script_sections::data_segment_relro_end): New function.
(Script_sections::place_orphan): Set or clear is_relro.
(Script_sections::set_section_addresses): Force alignment of first
TLS section.
* yyscript.y (exp): Call script_data_segment_align and
script_data_segment_relro_end.
* testsuite/relro_script_test.t: New file.
* testsuite/relro_test.cc (using_script): Declare.
(t1, t2): Test using_script.
* testsuite/Makefile.am (check_PROGRAMS): Add relro_script_test.
(relro_script_test_SOURCES): Define.
(relro_script_test_DEPENDENCIES): Define.
(relro_script_test_LDFLAGS): Define.
(relro_script_test_LDADD): Define.
(relro_script_test.so): New target.
* testsuite/Makefile.in: Rebuild.

15 years ago * doc/as.texinfo (Align): Document the PowerPC behaviour.
Ben Elliston [Wed, 13 Aug 2008 02:50:41 +0000 (02:50 +0000)] 
* doc/as.texinfo (Align): Document the PowerPC behaviour.

15 years agodaily update
Alan Modra [Wed, 13 Aug 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 13 Aug 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agoBanish PARAMS and PTR. Convert to ISO C.
Alan Modra [Tue, 12 Aug 2008 23:39:31 +0000 (23:39 +0000)] 
Banish PARAMS and PTR.  Convert to ISO C.
Delete unnecessary forward declarations.

15 years ago2008-08-12 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Tue, 12 Aug 2008 22:58:02 +0000 (22:58 +0000)] 
2008-08-12  Michael Snyder  <msnyder@vmware.com>

* MAINTAINERS: Update my email address.

15 years agogas/testsuite/
H.J. Lu [Tue, 12 Aug 2008 21:44:56 +0000 (21:44 +0000)] 
gas/testsuite/

2008-08-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/amd.s: Add syscall and sysret.  Remove padding.

* gas/i386/amd.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.

* gas/i386/i386.exp: Run x86-64-intel64.

* gas/i386/x86-64-intel64.d: New.
* gas/i386/x86-64-intel64.s: Likewise.

* gas/i386/x86-64-opcode.s: Add syscall and sysret.

opcodes/

2008-08-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add syscall and sysret for Cpu64.

* i386-tbl.h: Regenerated.

15 years ago * gdbint.texinfo (Raw and Virtual Register Representations): Fix
Thiago Jung Bauermann [Tue, 12 Aug 2008 20:12:04 +0000 (20:12 +0000)] 
* gdbint.texinfo (Raw and Virtual Register Representations): Fix
reference to the "Using Different Register and Memory Data
Representation" section.

15 years ago * ppc-linux-nat.c (ppc_linux_get_hwcap): Really get AT_HWCAP.
Ulrich Weigand [Tue, 12 Aug 2008 18:20:14 +0000 (18:20 +0000)] 
* ppc-linux-nat.c (ppc_linux_get_hwcap): Really get AT_HWCAP.

15 years agogdb/doc/
Sandra Loosemore [Tue, 12 Aug 2008 15:18:31 +0000 (15:18 +0000)] 
gdb/doc/
2008-08-12  Sandra Loosemore  <sandra@codesourcery.com>

* gdb.texinfo (Remote Configuration): Document set remote noack-packet.
(Remote Protocol): Add Packet Acknowledgment to menu.
(Overview): Mention +/- can be disabled, and point to new section
where this is discussed in detail.
(General Query Packets): Document QStartNoAckMode packet, and
corresponding qSupported reply.
(Packet Acknowledgment): New section.

gdb/
2008-08-12  Pedro Alves  <pedro@codesourcery.com>

Add no-ack mode to the remote protocol --- optionally stop ACKing
packets and responses when we have a reliable communication
medium.

Based on Apple's GDB, by Jason Molenda <jmolenda@apple.com>

* remote.c (struct remote_state): Add noack_mode field.
(PACKET_QStartNoAckMode): New.
(remote_start_remote): Don't any outstanding packet here.
(remote_open_1): Clear noack_mode.  Ack any outstanding packet
here.  Activate noack mode if requested.
(remote_protocol_features): Add QStartNoAckMode.
(remote_open_1):
(putpkt_binary): Don't send ack in noack mode.
(read_frame): Don't recompute the checksum in noack mode.
(getpkt_sane): Skip sending ack if in noack mode.
(_initialize_remote): Add set/show remote noack mode.
* NEWS:  Note the new features.

gdb/gdbserver/
2008-08-12  Pedro Alves  <pedro@codesourcery.com>

* remote-utils.c (noack_mode, transport_is_reliable): New globals.
(remote_open): Set or clear transport_is_reliable.
(putpkt_binary): Don't expect acks in noack mode.
(getpkt): Don't send ack/nac in noack mode.
* server.c (handle_general_set): Handle QStartNoAckMode.
(handle_query): If connected by tcp pass QStartNoAckMode+ in
qSupported.
(main): Reset noack_mode on every connection.
* server.h (noack_mode): Declare.

15 years ago * elf32-ppc.c (allocate_dynrelocs): Ignore dyn_relocs when
Alan Modra [Tue, 12 Aug 2008 13:12:49 +0000 (13:12 +0000)] 
* elf32-ppc.c (allocate_dynrelocs): Ignore dyn_relocs when
!dynamic_sections_created.  Don't make symbols with got
references dynamic if !dynamic_sections_created.
* elf64-ppc.c (allocate_dynrelocs): Likewise.  Alloc dynamic
relocs on undefined symbols.
(ppc64_elf_relocate_section): Allow dynamic relocs on
undefined symbols.

15 years ago * config/tc-arm.c (s_unreq): Adjust hash_delete call.
Alan Modra [Tue, 12 Aug 2008 09:58:34 +0000 (09:58 +0000)] 
* config/tc-arm.c (s_unreq): Adjust hash_delete call.
* config/tc-ia64.c (dot_rot): Likewise.

15 years ago2008-08-11 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Tue, 12 Aug 2008 01:00:49 +0000 (01:00 +0000)] 
2008-08-11  Sandra Loosemore  <sandra@codesourcery.com>
    Pedro Alves  <pedro@codesourcery.com>

gdb/doc
* gdb.texinfo (Threads): Move paragraph about automatic thread
selection to All-Stop Mode subsection.
(Thread Stops): Reorganize existing material into subsections.
Add introductory blurb and menu.
(Non-Stop Mode): New subsection.
(Background Execution): New subsection.
(Maintenance Commands): Add cross-references from async mode
commands to the new Background Execution section.

15 years ago * rs6000-tdep.c (BL_MASK, BL_INSTRUCTION, BL_DISPLACEMENT_MASK):
Kevin Buettner [Tue, 12 Aug 2008 00:29:35 +0000 (00:29 +0000)] 
  * rs6000-tdep.c (BL_MASK, BL_INSTRUCTION, BL_DISPLACEMENT_MASK):
  New macros.
  (rs6000_skip_main_prologue): New function.
  (rs6000_gdb_arch_init): Register rs6000_skip_main_prologue.

15 years agodaily update
Alan Modra [Tue, 12 Aug 2008 00:00:08 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 12 Aug 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago2008-08-11 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Mon, 11 Aug 2008 23:17:01 +0000 (23:17 +0000)] 
2008-08-11  Sandra Loosemore  <sandra@codesourcery.com>

gdb/
* MAINTAINERS (Write After Approval):  Add self.

15 years ago ARM BE8 support.
Stan Shebs [Mon, 11 Aug 2008 19:00:25 +0000 (19:00 +0000)] 
ARM BE8 support.
* disasm.c (gdb_disassemble_info): Set endian_code.
* gdbarch.sh (gdbarch_info): New field byte_order_for_code.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c (initialize_current_architecture): Set the
default byte_order_for_code.
(gdbarch_info_init): Ditto.
(gdbarch_info_fill): Ditto.
* arm-tdep.c (SWAP_INT, SWAP_SHORT): New macros.
(thumb_analyze_prologue): Swap halfword if code endianness is
different from general endianness.
(arm_skip_prologue): Similarly.
(arm_scan_prologue): Ditto.
(thumb_get_next_pc): Ditto.
(arm_get_next_pc): Ditto.
(arm_gdbarch_init): Set byte_order_for_code from BE8 flag,
choose correct endianness for breakpoints.

15 years ago * elf64-ppc.c (toc_adjusting_stub_needed): Any call via the plt
Alan Modra [Mon, 11 Aug 2008 14:38:40 +0000 (14:38 +0000)] 
* elf64-ppc.c (toc_adjusting_stub_needed): Any call via the plt
needs r2 valid, not just those to external syms.

15 years ago PR 6575
Alan Modra [Mon, 11 Aug 2008 07:40:22 +0000 (07:40 +0000)] 
PR 6575
* hash.c: Expand PTR to void *.
(hash_delete): Add "freeme" parameter.  Call obstack_free.
* hash.h: Expand PTR to void *.
(hash_delete): Update prototype.
* macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
* config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
call.
(subsym_substitute): Likewise.
* doc/internals.texi (hash_delete): Update.

15 years agodaily update
Alan Modra [Mon, 11 Aug 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 11 Aug 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * bsd-kvm.c: Include "gdbthread.h".
Pedro Alves [Sun, 10 Aug 2008 21:55:15 +0000 (21:55 +0000)] 
* bsd-kvm.c: Include "gdbthread.h".
(bsd_kvm_ptid): New.
(bsd_kvm_open): Add a main thread.
(bsd_kvm_close): Delete it.
(bsd_kvm_thread_alive): New.
(bsd_kvm_pid_to_str): New.
(bsd_kvm_add_target): Register bsd_kvm_thread_alive and
bsd_kvm_pid_to_str.
(bsd_kvm_add_target): Initialize bsd_kvm_ptid.

15 years ago Build fixes for DJGPP.
Pedro Alves [Sun, 10 Aug 2008 19:17:42 +0000 (19:17 +0000)] 
Build fixes for DJGPP.

* signals.c (rl_set_sighandler): Guard access to SIGWINCH.
* wcwidth.c [__GO32__]: Include wctype.h before wchar.h.

15 years ago * archive.c (_bfd_archive_bsd_update_armap_timestamp): Cast stat
Pedro Alves [Sun, 10 Aug 2008 18:49:09 +0000 (18:49 +0000)] 
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Cast stat
st_mtime to long before comparison.

15 years ago * buildsym.c (start_subfile): Properly cast sentinel in concat
Pedro Alves [Sun, 10 Aug 2008 18:41:33 +0000 (18:41 +0000)] 
* buildsym.c (start_subfile): Properly cast sentinel in concat
call.
* cp-name-parser.y: Include "config.h".
* xml-tdesc.c (fetch_xml_from_file): Properly cast sentinel in
concat call.
* gdb_select.h: Include sys/time.h if sys/select.h is not
available.

15 years agodaily update
Alan Modra [Sun, 10 Aug 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 10 Aug 2008 00:00:04 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * go32-nat.c: Include "gdbthread.h".
Pedro Alves [Sat, 9 Aug 2008 21:26:22 +0000 (21:26 +0000)] 
* go32-nat.c: Include "gdbthread.h".
(go32_stop, go32_kill_inferior): Delete the main thread.
(go32_create_inferior): Add it.
(go32_thread_alive, go32_pid_to_str): New.
(init_go32_ops): Register go32_thread_alive and go32_pid_to_str.

15 years ago * go32-nat.c (fetch_register, store_register): Pass the regcache
Pedro Alves [Sat, 9 Aug 2008 21:25:00 +0000 (21:25 +0000)] 
* go32-nat.c (fetch_register, store_register): Pass the regcache
gdbarch to i386_fp_regnum_p and i386_fpc_regnum_p.
(go32_xfer_memory): Change type of myaddr parameter to gdb_byte.
(struct seg_descr, struct seg_descr): pack the whole struct
instead of each member individually.

15 years ago(_initialize_python): Use unabbreviated commands
Andreas Schwab [Sat, 9 Aug 2008 19:17:03 +0000 (19:17 +0000)] 
(_initialize_python): Use unabbreviated commands
in prefix name.

15 years ago * Makefile.in (stamp-h): Also create .deps.
Daniel Jacobowitz [Sat, 9 Aug 2008 18:57:08 +0000 (18:57 +0000)] 
* Makefile.in (stamp-h): Also create .deps.

15 years ago * Makefile.in (generated_files): Add GNULIB_H.
Tom Tromey [Sat, 9 Aug 2008 18:27:04 +0000 (18:27 +0000)] 
* Makefile.in (generated_files): Add GNULIB_H.

15 years ago * solib-pa64.c (pa64_solib_create_inferior_hook): Don't set
Dave Anglin [Sat, 9 Aug 2008 18:21:59 +0000 (18:21 +0000)] 
* solib-pa64.c (pa64_solib_create_inferior_hook): Don't set
DT_HP_DEBUG_PRIVATE.  Add warning if DT_HP_DEBUG_PRIVATE is not set.
Revise comment.
(pa64_current_sos): Remove map private warning warning.
* solib-som.c: Include string.h and sys/utsname.h.
(get_hpux_major_release): New function.
(som_solib_create_inferior_hook): Read dynamic linker header.  Warn
about shared library private mapping on HP-UX 11 and later.  Only force
private mapping of shared libraries on HP-UX 10 and earlier.
(link_map_start): Delete warning.

15 years ago2008-08-09 Xuepeng Guo <xuepeng.guo@intel.com>
H.J. Lu [Sat, 9 Aug 2008 16:27:39 +0000 (16:27 +0000)] 
2008-08-09  Xuepeng Guo  <xuepeng.guo@intel.com>
    H.J. Lu  <hongjiu.lu@intel.com>
    Mark Kettenis <kettenis@gnu.org>

* amd64-tdep.c (amd64_frame_cache): Add saved_sp_reg.
(amd64_init_frame_cache): Initialize saved_sp_reg.
(amd64_analyze_stack_align): New.
(amd64_analyze_prologue): Call it.
(amd64_frame_cache): Use saved_sp_reg if it is invalid.  Don't set
%rip to 8 when halfway aligning the stack.

* amd64-tdep.h (amd64_regnum): Add AMD64_R9_REGNUM to
AMD64_R14_REGNUM.

* i386-tdep.c (i386_frame_cache): Remove stack_align.  Add
saved_sp_reg.
(i386_alloc_frame_cache): Remove stack_align.  Initialize
saved_sp_reg to -1.
(i386_analyze_stack_align): Rewrite.
(i386_frame_cache): Use saved_sp_reg if it is valid.

This page took 0.042997 seconds and 4 git commands to generate.