OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
12 years ago * config/tc-cris.c (md_convert_frag): Mark the length_code local
nickc [Wed, 14 Dec 2011 14:10:54 +0000 (14:10 +0000)]
* config/tc-cris.c (md_convert_frag): Mark the length_code local
variable as unused as it is only used when ENABLE_CHECKING is on.

12 years ago2011-12-14 Iain Sandoe <iains@gcc.gnu.org>
gingold [Wed, 14 Dec 2011 13:27:34 +0000 (13:27 +0000)]
2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>

* gas/mach-o: New.
* gas/mach-o/mach-o.exp: New.
* gas/mach-o/warn-1.s: New.
* gas/mach-o/lcomm-1.s: New.
* gas/mach-o/lcomm-1.d: New.

12 years ago PR ld/12451
nickc [Wed, 14 Dec 2011 11:50:12 +0000 (11:50 +0000)]
PR ld/12451
* elfcode.h (elf_checksum_contents): Read in the section's
contents if they are not already available.
* compress.c (bfd_get_full_section_contents): Use zmalloc to
allocate the buffers so that excess bytes are guaranteed to be
zero.

12 years agobfd/
gingold [Wed, 14 Dec 2011 10:30:06 +0000 (10:30 +0000)]
bfd/
2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>

* mach-o-i386.c (text_section_names_xlat): New table.
(data_section_names_xlat): Likewise.
(import_section_names_xlat): Likewise.
(mach_o_i386_segsec_names_xlat): Likewise.
(bfd_mach_o_tgt_seg_table): Use new tables.
* mach-o-x86-64.c (bfd_mach_o_tgt_seg_table): Set NULL.
* mach-o.c (mach_o_section_name_xlat, mach_o_segment_name_xlat):
Move to mach-o.h as   typedefs.
(text_section_names_xlat): Update for current GCC usage.
(data_section_names_xlat): Likewise.
(dwarf_section_names_xlat): Likewise.
(objc_section_names_xlat): New table.
(segsec_names_xlat): Add objc table.
(bfd_mach_o_normalize_section_name):  Replace with...
(bfd_mach_o_section_data_for_mach_sect): New.
(bfd_mach_o_section_data_for_bfd_name): New.
(bfd_mach_o_section_data_for_bfd_name): Update to use additional data.
(bfd_mach_o_convert_section_name_to_mach_o): Likewise.
(bfd_mach_o_bfd_copy_private_section_data): Implement.
(bfd_mach_o_write_symtab): Write a zero-length string as the first entry
for compatibility with system tools.
(bfd_mach_o_build_commands): Update section alignment info.
(bfd_mach_o_new_section_hook): Use translation table data to define
default section flags, type, attributes and alignment, when available.
(bfd_mach_o_init_section_from_mach_o): Add TODO comment.
(bfd_mach_o_section_type_name): Add 'symbol_stubs'.
(bfd_mach_o_section_attribute_name): Add 'self_modifying_code'.
(bfd_mach_o_get_section_type_from_name): Change "not-found" return
value.
(bfd_mach_o_tgt_seg_table): Set default NULL.
* mach-o.h (bfd_mach_o_segment_command):  Use define for name length.
(bfd_mach_o_backend_data): Move until after contents are defined.
(bfd_mach_o_normalize_section_name): Remove.
(bfd_mach_o_convert_section_name_to_bfd): Declare.
(mach_o_section_name_xlat): Declare.
(mach_o_segment_name_xlat): Declare.
(bfd_mach_o_section_data_for_mach_sect): Declare.
(bfd_mach_o_section_data_for_bfd_name): Declare.

include/
2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>

* mach-o/loader.h (bfd_mach_o_section_type): define
BFD_MACH_O_S_ATTR_NONE to 0.

gas/
2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>

* config/obj-macho.c: Add some more top-level comments.
(collect_16char_name): New.
(obj_mach_o_section): Amend to allow syntax compatible with existing system
tools.  Use section translation data when available.
(obj_mach_o_segT_from_bfd_name): New.
(known_sections): Update.
(obj_mach_o_known_section): Use obj_mach_o_segT_from_bfd_name.
(objc_sections): New.
(obj_mach_o_objc_section): New.
(debug_sections): New.
(obj_mach_o_debug_section): New.
(tgt_sections): New.
(obj_mach_o_opt_tgt_section): New.
(obj_mach_o_base_section): New.
(obj_mach_o_common_parse): Update to create BSS on demand and to handle
lcomm optional alignment param.
(obj_mach_o_comm): Update parameter name.
(obj_mach_o_placeholder): New.
(mach_o_pseudo_table): Update for GCC section directives.
* config/obj-macho.h (_OBJ_MACH_O_H): New.
(USE_ALIGN_PTWO): Define.
(S_SET_ALIGN) Define.

12 years agogdb/
qiyao [Wed, 14 Dec 2011 07:56:58 +0000 (07:56 +0000)]
gdb/
* breakpoint.c (create_breakpoint): Set canonical.addr_string
for static tracepoint.

12 years agogdb/gdbserver/
qiyao [Wed, 14 Dec 2011 07:47:14 +0000 (07:47 +0000)]
gdb/gdbserver/

* tracepoint.c (gdb_ust_thread): Don't ignore return value
of write.

12 years ago2011-12-14 Yao Qi <yao@codesourcery.com>
qiyao [Wed, 14 Dec 2011 07:41:06 +0000 (07:41 +0000)]
2011-12-14  Yao Qi  <yao@codesourcery.com>

* i386-low.c (i386_low_stopped_data_address): Initialize local
variable `control'.

12 years ago*** empty log message ***
gdbadmin [Wed, 14 Dec 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Tue, 13 Dec 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago2011-12-13 Richard Earnshaw <rearnsha@arm.com>
jjohnstn [Tue, 13 Dec 2011 22:45:11 +0000 (22:45 +0000)]
2011-12-13  Richard Earnshaw  <rearnsha@arm.com>
            Thomas Klein  <th.r.klein@web.de>

        * arm/crt0.S: Manually set the target architecture
        when compiling for Thumb1 on EABI targets.
        Avoid v6-only Thumb-1 MOV instruction.

12 years ago2011-12-13 Richard Earnshaw <rearnsha@arm.com>
jjohnstn [Tue, 13 Dec 2011 22:40:44 +0000 (22:40 +0000)]
2011-12-13  Richard Earnshaw  <rearnsha@arm.com>
            Thomas Klein  <th.r.klein@web.de>

        * libc/sys/arm/crt0.S: Manually set the target architecture
        when compiling for Thumb1 on EABI targets.
        Don't use SWI on M-profile cores.
        Avoid v6-only Thumb-1 MOV instruction.

12 years agoFactor common code from subdirectory makefiles into Makefile.comm.in
keithmarshall [Tue, 13 Dec 2011 20:46:53 +0000 (20:46 +0000)]
Factor common code from subdirectory makefiles into Makefile.comm.in

12 years agoPrepare for factoring out common makefile code.
keithmarshall [Tue, 13 Dec 2011 20:10:39 +0000 (20:10 +0000)]
Prepare for factoring out common makefile code.

12 years agoadd missing change
cgf [Tue, 13 Dec 2011 20:08:10 +0000 (20:08 +0000)]
add missing change

12 years ago* dcrt0.cc (init_windows_system_directory): Record system_wow64_directory
cgf [Tue, 13 Dec 2011 20:06:29 +0000 (20:06 +0000)]
* dcrt0.cc (init_windows_system_directory): Record system_wow64_directory
information.
* exceptions.cc (_cygtls::inside_kernel): Modernize comment.  Consider
executing a DLL from the Wow64 directory as being "in the kernel".
(_cygtls::call_signal_handler): For now, only deal with main_tls signals if
main_tls is known to be executing in the cygwin DLL.  To more closely emulate
linux, consider the operation to be restartable if not executing in the main
thread.
* globals.cc (windows_system_directory): Remove NO_COPY.
(windows_system_directory_length): Ditto.
(system_wow64_directory): New variable.
(system_wow64_directory_length): Ditto.
* select.cc (cygwin_select): Don't issue a EINTR on non-main threads since that
seems to be what Linux does.  Add missing break to signal case/switch.
(select_stuff::wait): Don't issue a EINTR on non-main threads since that seems
to be what Linux does.  Remove now-unneeded accommodation for
WAIT_IO_COMPLETION.  Add a comment.
* sigproc.h (cygwait): Ditto.  Don't return if signal_received noticed and it's
not the main thread.
* signal.cc (sigprocmask): Add standard syscall debug stuff.
* thread.cc (pthread_sigmask): Ditto.

12 years ago * netdb.cc (open_system_file): Avoid MS-DOS path warning.
corinna [Tue, 13 Dec 2011 17:46:04 +0000 (17:46 +0000)]
* netdb.cc (open_system_file): Avoid MS-DOS path warning.

12 years agogdb/doc/
palves [Tue, 13 Dec 2011 17:22:07 +0000 (17:22 +0000)]
gdb/doc/
2011-12-13  Pedro Alves  <pedro@codesourcery.com>

* gdb.texinfo (Implementing a Remote Stub): Explain that you
should transfer control to the stub in the startup code instead of
in main.  Mention the need to get past the initial breakpoint.

gdb/testsuite/
2011-12-13  Pedro Alves  <pedro@codesourcery.com>
    Doug Evans  <dje@google.com>

* lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
(clean_restart): Remove references to the gdb_stub target board
variable.
(gdb_step_for_stub): Delete.

* gdb.base/annota1.exp: Remove all references to [target_info
exists gdb_stub], gdb_step_for_stub and usestubs.
* gdb.base/annota3.exp: Ditto.
* gdb.base/async.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/code-expr.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/completion.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/consecutive.exp: Ditto.
* gdb.base/cvexpr.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/environ.exp: Ditto.
* gdb.base/gnu-ifunc.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/pending.exp: Ditto.
* gdb.base/sect-cmd.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/unload.exp: Ditto.
* gdb.base/watchpoint-solib.exp: Ditto.
* gdb.cp/annota2.exp: Ditto.
* gdb.cp/annota3.exp: Ditto.
* gdb.dwarf2/dw2-inline-param.exp: Ditto.
* gdb.hp/gdb.compat/xdb1.exp: Ditto.
* gdb.mi/mi-pending.exp: Ditto.
* gdb.trace/circ.exp: Ditto.
* gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
* gdb.base/list.exp: Ditto.

* gdb.base/all-types.c: Remove all calls to set_debug_traps and
breakpoint function and all references to the usestubs macro.
* gdb.base/exprs.c: Ditto.
* gdb.base/freebpcmd.c: Ditto.
* gdb.base/bitfields.c: Ditto.
* gdb.base/bitfields2.c: Ditto.
* gdb.base/break.c: Ditto.
* gdb.base/call-sc.c: Ditto.
* gdb.base/call-signals.c: Ditto.
* gdb.base/callfuncs.c: Ditto.
* gdb.base/charset.c: Ditto.
* gdb.base/consecutive.c: Ditto.
* gdb.base/constvars.c: Ditto.
* gdb.base/funcargs.c: Ditto.
* gdb.base/int-type.c: Ditto.
* gdb.base/interrupt.c: Ditto.
* gdb.base/langs0.c: Ditto.
* gdb.base/list0.c: Ditto.
* gdb.base/mips_pro.c: Ditto.
* gdb.base/miscexprs.c: Ditto.
* gdb.base/nodebug.c: Ditto.
* gdb.base/opaque0.c: Ditto.
* gdb.base/pointers.c: Ditto.
* gdb.base/printcmds.c: Ditto.
* gdb.base/ptype.c: Ditto.
* gdb.base/recurse.c: Ditto.
* gdb.base/reread1.c: Ditto.
* gdb.base/reread2.c: Ditto.
* gdb.base/restore.c: Ditto.
* gdb.base/return.c: Ditto.
* gdb.base/run.c: Ditto.
* gdb.base/scope0.c: Ditto.
* gdb.base/sepdebug.c: Ditto.
* gdb.base/setshow.c: Ditto.
* gdb.base/setvar.c: Ditto.
* gdb.base/sigall.c: Ditto.
* gdb.base/signals.c: Ditto.
* gdb.base/structs.c: Ditto.
* gdb.base/structs2.c: Ditto.
* gdb.base/testenv.c: Ditto.
* gdb.base/twice.c: Ditto.
* gdb.base/unwindonsignal.c: Ditto.
* gdb.base/watchpoint.c: Ditto.
* gdb.base/watchpoints.c: Ditto.
* gdb.base/whatis.c: Ditto.
* gdb.cp/classes.cc: Ditto.
* gdb.cp/cplusfuncs.cc: Ditto.
* gdb.cp/derivation.cc: Ditto.
* gdb.cp/formatted-ref.cc: Ditto.
* gdb.cp/misc.cc: Ditto.
* gdb.cp/overload.cc: Ditto.
* gdb.cp/ovldbreak.cc: Ditto.
* gdb.cp/ref-params.cc: Ditto.
* gdb.cp/ref-types.cc: Ditto.
* gdb.cp/templates.cc: Ditto.
* gdb.cp/virtfunc.cc: Ditto.
* gdb.hp/gdb.aCC/run.c: Ditto.
* gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
* gdb.hp/gdb.compat/xdb0.c: Ditto.
* gdb.reverse/consecutive-reverse.c: Ditto.
* gdb.reverse/sigall-reverse.c: Ditto.
* gdb.reverse/until-reverse.c: Ditto.
* gdb.reverse/watch-reverse.c: Ditto.
* gdb.trace/actions.c: Ditto.
* gdb.trace/circ.c: Ditto.
* gdb.trace/collection.c: Ditto.

12 years ago2011-12-13 Pedro Alves <pedro@codesourcery.com>
palves [Tue, 13 Dec 2011 16:11:25 +0000 (16:11 +0000)]
2011-12-13  Pedro Alves  <pedro@codesourcery.com>

PR remote/13492

* i386-low.c (i386_low_stopped_data_address): Avoid fetching
DR_CONTROL unless necessary.  Extend comments.
* linux-x86-low.c (x86_linux_prepare_to_resume): Don't write to
DR0-3 if not used.  If any watchpoint was set, clear DR_STATUS.

12 years ago2011-12-13 Pedro Alves <pedro@codesourcery.com>
palves [Tue, 13 Dec 2011 16:05:23 +0000 (16:05 +0000)]
2011-12-13  Pedro Alves  <pedro@codesourcery.com>

* gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
(func6, func7): New.
(main): Call func6 and func7.
* gdb.base/watchpoint.exp (test_wide_location_1)
(test_wide_location_2): New.
(top level): Re-enable hardware watchpoints if necessary.  Call
test_wide_location_1 and test_wide_location_2.

12 years ago * path.cc (conv_path_list): Fix a condition.
corinna [Tue, 13 Dec 2011 14:53:09 +0000 (14:53 +0000)]
* path.cc (conv_path_list): Fix a condition.
(cygwin_conv_path): Revert WIN_A conversion to current locale codeset.

12 years ago2011-12-13 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>
gingold [Tue, 13 Dec 2011 14:02:17 +0000 (14:02 +0000)]
2011-12-13  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>

* dwarf2.c (bfd_dwarf2_cleanup_debug_info): Accept stash as an
argument like other functions to support formats other than ELF.
* elf-bfd.h (bfd_dwarf2_cleanup_debug_info): Move to bfd-in.h.
* elf.c (_bfd_elf_close_and_cleanup): Pass dwarf2_find_line_info
in tdata as a parameter.
* libbfd-in.h (bfd_dwarf2_cleanup_debug_info): Move from
elf-bfd.h.
* libbfd.h (bfd_dwarf2_cleanup_debug_info): Regenerate.
* mach-o-target.c (bfd_mach_o_close_and_cleanup): Remove the
fallback macro.
(bfd_mach_o_find_nearest_line): Likewise.
* mach-o.c (bfd_mach_o_find_nearest_line): Add the definition
which calls _bfd_dwarf2_find_nearest_line.
(bfd_mach_o_close_and_cleanup): Likewise.
* mach-o.h (mach_o_data_struct): Add dwarf2_find_line_info.
(bfd_mach_o_find_nearest_line): Add declaration.
(bfd_mach_o_close_and_cleanup): Add declaration.

12 years agoCreate new section in NEWS for next release branch
brobecke [Tue, 13 Dec 2011 13:36:35 +0000 (13:36 +0000)]
Create new section in NEWS for next release branch

gdb/ChangeLog:

        * NEWS: Create a new section for the next release branch.
        Rename the section of the current branch, now that it has
        been cut.

12 years ago * po/it.po: New Italian translation.
nickc [Tue, 13 Dec 2011 13:33:19 +0000 (13:33 +0000)]
* po/it.po: New Italian translation.
* configure.in (ALL_LINGUAS): Add it.
* configure: Regenerate.

12 years agoRecord GDB 7.4 branch creation. Bump version number to 7.4.50.20111213-cvs.
gdbadmin [Tue, 13 Dec 2011 13:06:14 +0000 (13:06 +0000)]
Record GDB 7.4 branch creation. Bump version number to 7.4.50.20111213-cvs.

12 years ago * doc/internals.texi (TC_FORCE_RELOCATION_SUB_SAME): Update
nickc [Tue, 13 Dec 2011 12:56:33 +0000 (12:56 +0000)]
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_SAME): Update
    to match code.

12 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Call
corinna [Tue, 13 Dec 2011 11:54:27 +0000 (11:54 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Call
file_get_fnoi instead of NtQueryInformationFile.
* path.cc (file_get_fnoi): New helper function to collect a
FILE_NETWORK_OPEN_INFORMATION block.
(symlink_info::check): Call file_get_fnoi rather than
NtQueryInformationFile to collect a FILE_NETWORK_OPEN_INFORMATION block.
* path.h (file_get_fnoi): Declare.

12 years ago * times.cc (hires_ns::resolution): Don't return less than 1.
corinna [Tue, 13 Dec 2011 11:38:11 +0000 (11:38 +0000)]
* times.cc (hires_ns::resolution): Don't return less than 1.

12 years agoMissing file from my previous commit.
gingold [Tue, 13 Dec 2011 10:00:40 +0000 (10:00 +0000)]
Missing file from my previous commit.

12 years agobfd/
gingold [Tue, 13 Dec 2011 09:13:13 +0000 (09:13 +0000)]
bfd/
2011-12-13  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_read_symtab_symbols): Make global.  Remove
prototype.
(bfd_mach_o_section_get_entry_size): Make global.
(bfd_mach_o_section_get_nbr_indirect): Likewise.
(bfd_mach_o_read_symtab_strtab): Likewise.
(struct bfd_mach_o_xlat_name): Move to mach-o.h
(bfd_mach_o_print_flags): Move to binutils/od-macho.c
(bfd_mach_o_get_name_of_null, bfd_mach_o_get_name): Likewise.
(bfd_mach_o_cpu_name, bfd_mach_o_filetype_name): Likewise.
(bfd_mach_o_header_flags_name): Likewise.
(bfd_mach_o_load_command_name): Likewise.
(bfd_mach_o_print_private_header): Likewise.
(bfd_mach_o_print_section_map, bfd_mach_o_print_section): Likwise.
(bfd_mach_o_print_segment, bfd_mach_o_print_dysymtab): Likewise.
(bfd_mach_o_print_dyld_info): Likewise.
(bfd_mach_o_print_private_bfd_data): Remove.
(bfd_mach_o_type_name): Make global.
(bfd_mach_o_section_attribute_name): Likewise.
* mach-o.h (bfd_mach_o_xlat_name): Added.
(bfd_mach_o_section_get_nbr_indirect)
(bfd_mach_o_section_get_entry_size)
(bfd_mach_o_read_symtab_symbols)
(bfd_mach_o_read_symtab_strtab)
(bfd_mach_o_section_attribute_name)
(bfd_mach_o_section_type_name): Likewise.
* mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): Define.

binutils/
2011-12-13  Tristan Gingold  <gingold@adacore.com>

* od-macho.c: New file.
* objdump.h (objdump_private_desc_mach_o): Add.
* configure.in: Add Mach-O od_vectors.
* Makefile.am (CFILES): Add od-macho.c
* configure: Regenerate.
* Makefile.in: Regenerate.

12 years ago * ppc-opc.c (ISA_V2): Define and use for relevant BO field tests.
amodra [Tue, 13 Dec 2011 08:19:01 +0000 (08:19 +0000)]
* ppc-opc.c (ISA_V2): Define and use for relevant BO field tests.
(valid_bo_pre_v2, valid_bo_post_v2): New functions, extracted from..
(valid_bo): ..here.  When disassembling, accept either 'y' or 'at'
type encoding on second pass.
(powerpc_opcodes): Use ISA_V2 to enable branch insns rather than
POWER4.
* ppc-dis.c (print_insn_powerpc): Delete dialect_orig.  Instead
ignore deprecated on second pass.

12 years ago2011-12-13 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Tue, 13 Dec 2011 06:22:01 +0000 (06:22 +0000)]
2011-12-13  Chung-Lin Tang  <cltang@codesourcery.com>

* elfxx-mips.c (mips_elf_calculate_relocation): Correct
R_MIPS16_HI16/R_MIPS16_LO16 handling of two cleared lower bits,
update comments.

12 years ago* cygthread.h (cygthread::name): Very minor formatting tweak.
cgf [Tue, 13 Dec 2011 04:11:43 +0000 (04:11 +0000)]
* cygthread.h (cygthread::name): Very minor formatting tweak.
* exceptions.cc (_cygtls::call_signal_handler): Add paranoid debugging output.
* sigproc.h (cygwait): Call signal handler when signal is detected and loop as
appropriate.
* fhandler.h (fhandler_base_overlapped::wait_return): Remove overlapped_signal.
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Remove restartable
signal accommodations in light of cygwait improvements.
(fhandler_base_overlapped::raw_read): Remove now-obsolete signal loop behavior.
(fhandler_base_overlapped::raw_write): Ditto.
* fhandler_console.cc (fhandler_console::read): Ditto.
* fhandler_serial.cc (fhandler_serial::raw_read): Ditto.
(fhandler_serial::raw_write): Ditto.
* fhandler_tty.cc (fhandler_pty_slave::read): Ditto.
* ioctl.cc (ioctl): Add standard syscall introducer and leaver debug output.

12 years ago* faq-using.xml: Remove obsolete entry about the standard console window.
cgf [Tue, 13 Dec 2011 03:54:59 +0000 (03:54 +0000)]
* faq-using.xml: Remove obsolete entry about the standard console window.
* new-features.sgml: Remove obsolete entry which references cygwin.bat.
* setup-net.sgml: Clarify new shortcut behavior for the "Cygwin Terminal".

12 years ago2011-12-13 Yao Qi <yao@codesourcery.com>
qiyao [Tue, 13 Dec 2011 01:26:56 +0000 (01:26 +0000)]
2011-12-13  Yao Qi  <yao@codesourcery.com>

* tracepoint.c (trace_buffer_alloc): Replace magic numbers with
macros.
(upload_fast_traceframes, upload_fast_traceframes): Likewise.

12 years ago*** empty log message ***
gdbadmin [Tue, 13 Dec 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Mon, 12 Dec 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago * fhandler_process.cc (dos_drive_mappings): Partially rewrite to
corinna [Mon, 12 Dec 2011 21:38:08 +0000 (21:38 +0000)]
* fhandler_process.cc (dos_drive_mappings): Partially rewrite to
handle volumes mounted into juntion points correctly.

12 years agoCorrect makefile error; remove unnecessary FLAGS_TO_PASS macro
keithmarshall [Mon, 12 Dec 2011 20:02:33 +0000 (20:02 +0000)]
Correct makefile error; remove unnecessary FLAGS_TO_PASS macro

12 years ago * fhandler_process.cc (dos_drive_mappings::dos_drive_mappings): Fully
corinna [Mon, 12 Dec 2011 17:27:16 +0000 (17:27 +0000)]
* fhandler_process.cc (dos_drive_mappings::dos_drive_mappings): Fully
resolve symbolic links returned by QueryDosDeviceW.  Explain why.

12 years ago2011-12-12 Iain Sandoe <iains@gcc.gnu.org>
gingold [Mon, 12 Dec 2011 13:45:46 +0000 (13:45 +0000)]
2011-12-12  Iain Sandoe  <iains@gcc.gnu.org>

* mach-o.c (bfd_mach_o_read_section_32): Null-terminate sectname.
(bfd_mach_o_read_section_64): Likewise.

12 years ago * mount.cc (fs_info::update): Set has_buggy_reopen for Netapps as well.
corinna [Mon, 12 Dec 2011 11:02:59 +0000 (11:02 +0000)]
* mount.cc (fs_info::update): Set has_buggy_reopen for Netapps as well.

12 years ago * libc/time/strftime.c (get_era_info): Fix off-by-one error in month
corinna [Mon, 12 Dec 2011 10:48:28 +0000 (10:48 +0000)]
* libc/time/strftime.c (get_era_info): Fix off-by-one error in month
calculation.

12 years ago * dcrt0.cc (wow64_respawn): New static variable.
corinna [Mon, 12 Dec 2011 10:16:52 +0000 (10:16 +0000)]
* dcrt0.cc (wow64_respawn): New static variable.
(wow64_started_from_native64): New function to check if a WOW64
process got started from a native 64 bit process.
(respawn_wow64_process): New function to respawn process.
(dll_crt0_0): When started from a native parent, check if parent
is a 64 bit process.  If so, return early.
(_dll_crt0): Respawn WOW64 process here if required.
* init.cc (respawn_wow64_process): Remove.
(dll_entry): Rename wow64_test_stack_marker to test_stack_marker.
Drop WOW64 test here.

12 years ago2011-12-11 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 12 Dec 2011 02:11:44 +0000 (02:11 +0000)]
2011-12-11  Yao Qi  <yao@codesourcery.com>

* gdb.trace/status-stop.exp: Skip it if target doesn't support trace.

12 years ago* pipe.cc (fhandler_pipe::create): Use debug_printf to print debugging info
cgf [Mon, 12 Dec 2011 01:22:27 +0000 (01:22 +0000)]
* pipe.cc (fhandler_pipe::create): Use debug_printf to print debugging info
since this isn't a "syscall".
(pipe_worker): New function created from _pipe().
(_pipe): Use pipe_worker to create a pipe.  Use standard syscall strace
reporting on exit.
(pipe): Ditto.
(pipe2): Ditto.

12 years ago*** empty log message ***
gdbadmin [Mon, 12 Dec 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Sun, 11 Dec 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago[Ada] improve message when cannot insert Ada exception catchpoint.
brobecke [Sun, 11 Dec 2011 17:38:17 +0000 (17:38 +0000)]
[Ada] improve message when cannot insert Ada exception catchpoint.

gdb/ChangeLog:

        * ada-lang.c (ada_exception_support_info_sniffer): Improve
        error message.

12 years ago[Ada] Make the exception_support_info data per inferior.
brobecke [Sun, 11 Dec 2011 17:37:56 +0000 (17:37 +0000)]
[Ada] Make the exception_support_info data per inferior.

The ada-lang module was using a static global called "exception_info"
for all inferiors.  But each inferior might be different, and thus
this patch makes this data per-inferior.

gdb/ChangeLog:

        * ada-lang.c (struct ada_inferior_data) [exception_info]:
        New field.
        (exception_info): Delete.
        (ada_exception_support_info_sniffer): Get exception_support_info
        data from our per-inferior data.  Adjust code accordingly.
        (ada_unhandled_exception_name_addr_from_raise): Likewise.
        (ada_exception_name_addr_1, ada_exception_sym_name): Ditto.
        (ada_executable_changed_observer): Delete.
        (_initialize_ada_language): Remove call to
        observer_attach_executable_changed.

12 years agoWarn if missing debug info for Ada exception catchpoints
brobecke [Sun, 11 Dec 2011 17:36:09 +0000 (17:36 +0000)]
Warn if missing debug info for Ada exception catchpoints

This patch should help the user understand why the debugger is not
able to insert Ada exception catchpoints when the Ada runtime was
stripped of debugging info, as is often the case on many GNU/Linux
distros:

    (gdb) catch exception
    Your Ada runtime appears to be missing some debugging information.
    Cannot insert Ada exception catchpoint in this configuration.

gdb/ChangeLog:

        * ada-lang.c (ada_has_this_exception_support): Raise an error
        if we could find the Ada exception hook in the Ada runtime,
        but no debugging info for that hook.

gdb/testsuite/ChangeLog:

        * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
        expected output for unsupported case.

12 years agoAda exception catchpoint support cleanup.
brobecke [Sun, 11 Dec 2011 17:35:32 +0000 (17:35 +0000)]
Ada exception catchpoint support cleanup.

This patch cleans up a bit the way we detect which type of runtime
the program uses with respect to Ada exceptions. It also removes
an unnecessary check in ada_exception_sal which is already performed
by ada_exception_support_info_sniffer.

Some of the changes are preparation work for detecting the situation
where the Ada runtime is found, but lacking debugging info.

gdb/ChangeLog:

        * ada-lang.c (ada_has_this_exception_support): New function,
        extracted out of ada_exception_sal and ada_exception_sal.
        (ada_exception_support_info_sniffer): Simplify by using
        ada_has_this_exception_support.
        (ada_exception_sal): Replace unnecessary checks by assertions.
        Minor simplifications.

12 years ago PR binutils/13476
danglin [Sun, 11 Dec 2011 15:42:07 +0000 (15:42 +0000)]
PR binutils/13476
* elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations to
R_PARISC_DPREL21L when not doing a shared link.  Likewise convert
R_PARISC_TLS_GD14R, R_PARISC_TLS_LDM14R and R_PARISC_TLS_IE14R to
R_PARISC_DPREL14R.  Handle R_PARISC_TLS_GD21L, R_PARISC_TLS_LDM21L
and R_PARISC_TLS_IE21L with R_PARISC_DLTIND21L.

12 years ago* breakpoint.c (update_global_location_list): Remove nested
ndreys [Sun, 11 Dec 2011 03:04:43 +0000 (03:04 +0000)]
* breakpoint.c (update_global_location_list): Remove nested
definition of `b'(-Wshadow).

12 years ago* breakpoint.c (insert_breakpoint_locations): Rename `error' to
ndreys [Sun, 11 Dec 2011 02:53:26 +0000 (02:53 +0000)]
* breakpoint.c (insert_breakpoint_locations): Rename `error' to
`error_flag'(-Wshadow).

12 years ago* bfd-target.c (target_bfd_reopen): Rename `bfd' to
ndreys [Sun, 11 Dec 2011 02:46:54 +0000 (02:46 +0000)]
* bfd-target.c (target_bfd_reopen): Rename `bfd' to
`abfd'(-Wshadow).

12 years ago* annotate.c (annotate_array_section_begin): Rename `index' to
ndreys [Sun, 11 Dec 2011 02:44:15 +0000 (02:44 +0000)]
* annotate.c (annotate_array_section_begin): Rename `index' to
`idx'(-Wshadow).

12 years ago* amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' to
ndreys [Sun, 11 Dec 2011 02:41:30 +0000 (02:41 +0000)]
* amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' to
`idx'(-Wshadow).

12 years ago* amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename
ndreys [Sun, 11 Dec 2011 02:34:26 +0000 (02:34 +0000)]
* amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename
`syscall' to `syscall_number'(-Wshadow).

12 years ago* ada-lang.c (remove_extra_symbols): Rename `remove' to
ndreys [Sun, 11 Dec 2011 02:31:04 +0000 (02:31 +0000)]
* ada-lang.c (remove_extra_symbols): Rename `remove' to
`remove_p'(-Wshadow).

12 years ago* ada-exp.y (write_var_or_type): Rename nested `renaming' to
ndreys [Sun, 11 Dec 2011 02:27:22 +0000 (02:27 +0000)]
* ada-exp.y (write_var_or_type): Rename nested `renaming' to
`ren_sym'(-Wshadow).

12 years ago2011-12-10 David Daney <david.daney@cavium.com>
daney [Sun, 11 Dec 2011 02:05:39 +0000 (02:05 +0000)]
2011-12-10  David Daney  <david.daney@cavium.com>

* elfxx-mips.c (mips_elf_link_hash_table.rld_value): Remove.
(mips_elf_link_hash_table.rld_symbol): New field;
(MIPS_ELF_RLD_MAP_SIZE): New macro.
(_bfd_mips_elf_add_symbol_hook): Remember __rld_obj_head symbol
in rld_symbol.
(_bfd_mips_elf_create_dynamic_sections): Remember __rld_map symbol
in rld_symbol.
(_bfd_mips_elf_size_dynamic_sections): Set correct size for .rld_map.
(_bfd_mips_elf_finish_dynamic_symbol): Remove .rld_map handling.
(_bfd_mips_elf_finish_dynamic_sections): Use rld_symbol to
calculate DT_MIPS_RLD_MAP value.
(_bfd_mips_elf_link_hash_table_create): Initialize rld_symbol,
quit initializing rld_value.

12 years ago2011-12-10 David Daney <david.daney@cavium.com>
daney [Sun, 11 Dec 2011 01:43:06 +0000 (01:43 +0000)]
2011-12-10 David Daney <david.daney@cavium.com>

* ld-mips-elf/pic-and-nonpic-6-n64.dd: Use correct encoding for
64-bit MOVE instruction.

12 years ago* select.cc (select_stuff::wait): Very minor formatting fix.
cgf [Sun, 11 Dec 2011 01:25:19 +0000 (01:25 +0000)]
* select.cc (select_stuff::wait): Very minor formatting fix.
(peek_windows): Report on HWND handle used in queries.
* select.h: Update copyright.
* sigproc.h (cygwait): Eliminate multi-argument variety since more general
implementation may cause odd problems in select.  Also force to always be
inline.

12 years ago*** empty log message ***
gdbadmin [Sun, 11 Dec 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * dwarf2read.c (dwarf2_per_cu_data): Rename debug_type_section to
devans [Sat, 10 Dec 2011 23:57:39 +0000 (23:57 +0000)]
* dwarf2read.c (dwarf2_per_cu_data): Rename debug_type_section to
debug_types_section.  All uses updated.
(partial_read_comp_unit_head): Rename parameter is_debug_type_section
to is_debug_types_section.

12 years agogdb/testsuite/
jkratoch [Sat, 10 Dec 2011 23:05:08 +0000 (23:05 +0000)]
gdb/testsuite/
PR testsuite/12649
* gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
Protect gdb_test_multiple by final $gdb_prompt match.

12 years agodaily update
amodra [Sat, 10 Dec 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago * python/py-auto-load.c (source_section_scripts): Call xfree
devans [Sat, 10 Dec 2011 22:51:46 +0000 (22:51 +0000)]
* python/py-auto-load.c (source_section_scripts): Call xfree
instead of free.

12 years agoCorrect defective configure checkin
keithmarshall [Sat, 10 Dec 2011 21:43:09 +0000 (21:43 +0000)]
Correct defective configure checkin

12 years agofix another typo in ChangeLog
cgf [Sat, 10 Dec 2011 18:34:00 +0000 (18:34 +0000)]
fix another typo in ChangeLog

12 years ago* sigproc.h (cygwait): Delete duplicate va_start and add matching va_end.
cgf [Sat, 10 Dec 2011 18:12:28 +0000 (18:12 +0000)]
* sigproc.h (cygwait): Delete duplicate va_start and add matching va_end.

12 years agoAdd ChangeLog entry for previous change and revert erroneously checked in
cgf [Sat, 10 Dec 2011 18:10:21 +0000 (18:10 +0000)]
Add ChangeLog entry for previous change and revert erroneously checked in
changes to dcrt0.cc and init.cc

12 years agoClarify entry
cgf [Sat, 10 Dec 2011 17:40:18 +0000 (17:40 +0000)]
Clarify entry

12 years agoBuild system clean-up (phase 1)
keithmarshall [Sat, 10 Dec 2011 17:24:25 +0000 (17:24 +0000)]
Build system clean-up (phase 1)

12 years agogdb/testsuite/
jkratoch [Sat, 10 Dec 2011 15:58:14 +0000 (15:58 +0000)]
gdb/testsuite/
* gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
New variable, new test.
(list static-method.cc:xxx::(anonymous namespace)::A::func)
(list 'static-method.cc:xxx::(anonymous namespace)::A::func')
(list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
(list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
them if HAVE_GCC_45682_FIXED is not set.

12 years ago2011-12-10 Hui Zhu <teawater@gmail.com>
qiyao [Sat, 10 Dec 2011 15:16:34 +0000 (15:16 +0000)]
2011-12-10  Hui Zhu  <teawater@gmail.com>
    Yao Qi  <yao@codesourcery.com>

* tracepoint.c (start_tracing): Clear `inserted' flag.

2011-12-10  Yao Qi  <yao@codesourcery.com>

* gdb.trace/status-stop.exp: New.
* gdb.trace/status-stop.c: New.

12 years ago2011-12-10 Hui Zhu <teawater@gmail.com>
teawater [Sat, 10 Dec 2011 09:41:18 +0000 (09:41 +0000)]
2011-12-10  Hui Zhu  <teawater@gmail.com>

* tracepoint.c (create_tsv_from_upload): Change sprintf to xstrprintf.

12 years ago2011-12-09 David Daney <david.daney@cavium.com>
daney [Sat, 10 Dec 2011 05:54:44 +0000 (05:54 +0000)]
2011-12-09 David Daney <david.daney@cavium.com>

* ld-mips-elf/tls-multi-got-1.r: Add "0x" to match value for
MIPS_BASE_ADDRESS.
* ld-mips-elf/textrel-1.d: Same.
* ld-mips-elf/multi-got-1.d: Same.

12 years ago* exceptions.cc (ctrl_c_handler): YA in a series or reversions. Put back
cgf [Sat, 10 Dec 2011 01:33:56 +0000 (01:33 +0000)]
* exceptions.cc (ctrl_c_handler): YA in a series or reversions.  Put back
_my_tls.remove along with a comment.
(sigpacket::process): Remove code which now causes a gdb deadlock.
* sigproc.cc (_cygtls::signal_exit): Signal debugger with signal number
earlier.

12 years ago* breakpoint.c (bp_loc_is_permanent): Rename `brk' to
ndreys [Sat, 10 Dec 2011 00:22:54 +0000 (00:22 +0000)]
* breakpoint.c (bp_loc_is_permanent): Rename `brk' to
`bpoint'(-Wshadow).

12 years ago* breakpoint.c (update_static_tracepoint): Rename nested `sal' and
ndreys [Sat, 10 Dec 2011 00:15:51 +0000 (00:15 +0000)]
* breakpoint.c (update_static_tracepoint): Rename nested `sal' and
`marker' variables to `sal2' and `tpmarker' respectively
(-Wshadow).

12 years ago*** empty log message ***
gdbadmin [Sat, 10 Dec 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Fri, 9 Dec 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago2011-12-09 Andrew Pinski <apinski@cavium.com>
pinskia [Fri, 9 Dec 2011 19:22:31 +0000 (19:22 +0000)]
2011-12-09  Andrew Pinski  <apinski@cavium.com>

* linespec.c (hash_address_entry): Use iterative_hash_object on each
field rather than the struct itself.

12 years ago * breakpoint.c (compare_breakpoints): New function.
tromey [Fri, 9 Dec 2011 18:40:45 +0000 (18:40 +0000)]
* breakpoint.c (compare_breakpoints): New function.
(clear_command): Remove duplicate breakpoints.  Properly clean
up.

12 years ago* dllfixdbg: Work around annoying gdb warning about missing .gnu_debuglink.
cgf [Fri, 9 Dec 2011 17:46:10 +0000 (17:46 +0000)]
* dllfixdbg: Work around annoying gdb warning about missing .gnu_debuglink.

12 years agogdb/testsuite/
jkratoch [Fri, 9 Dec 2011 17:36:01 +0000 (17:36 +0000)]
gdb/testsuite/
* gdb.reverse/until-precsave.exp (run to end of main) Extend the
timeout.

12 years agoRename cygWFMO to cygwait throughout and use the magic of polymorphism to "wait
cgf [Fri, 9 Dec 2011 16:02:54 +0000 (16:02 +0000)]
Rename cygWFMO to cygwait throughout and use the magic of polymorphism to "wait
for stuff".
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use simplified arg
form of cygwait.
* fhandler_console.cc (fhandler_console::read): Ditto.
* fhandler_audio.cc (fhandler_dev_dsp::Audio_out::waitforspac): Ditto.
(fhandler_dev_dsp::Audio_in::waitfordata): Ditto.
* fhandler_fifo.cc (fhandler_fifo::wait): Ditto.
* fhandler_serial.cc (fhandler_serial::raw_read): Ditto.
(fhandler_serial::raw_write): Ditto.
* select.cc (cygwin_select): Ditto.
* sigproc.h (cygwait): Rename from cygWFMO.  Define two argument and single
argument forms of this function.
* fhandler_tty.cc (fhandler_pty_slave::open): Use method to query if tty is
open.
(fhandler_pty_slave::read): Send SIGHUP when master is detected as closed.
(fhandler_pty_common::close): Close input_available_event in callers since
master may need to signal it first.
(fhandler_pty_master::close): Lie and set input_available_event when closing,
then close input_available_event.
(fhandler_pty_slave::close): Close input_available_event explicitly here.
* tty.h (tty::is_master_closed): Declare new method.

12 years agoRevert erroneous checkin
cgf [Fri, 9 Dec 2011 06:57:21 +0000 (06:57 +0000)]
Revert erroneous checkin

12 years ago* sigproc.cc (signal_exit): Revert reversion of 2011-12-04 change since,
cgf [Fri, 9 Dec 2011 06:49:10 +0000 (06:49 +0000)]
* sigproc.cc (signal_exit): Revert reversion of 2011-12-04 change since,
otherwise, you see hangs when the signal pipe is closed.

12 years ago* select.cc (cygwin_select): Fifth time is the charm.
cgf [Fri, 9 Dec 2011 03:19:41 +0000 (03:19 +0000)]
* select.cc (cygwin_select): Fifth time is the charm.

12 years ago*** empty log message ***
gdbadmin [Fri, 9 Dec 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Thu, 8 Dec 2011 23:00:06 +0000 (23:00 +0000)]
daily update

12 years agoopcodes:
pinskia [Thu, 8 Dec 2011 20:52:41 +0000 (20:52 +0000)]
opcodes:
2011-12-08  Andrew Pinski  <apinski@cavium.com>

* mips-opc.c (mips_builtin_opcodes): Add "pause".
gas/testsuite:
2011-12-08  Andrew Pinski  <apinski@cavium.com>

        * gas/mips/mips32-mt.d: Add pause instruction encoding to the end.
        * gas/mips/micromips@mips32r2.d: Likewise.
        * gas/mips/mips32r2.d: Likewise.
        * gas/mips/mips32-mt.s: Add pause instruction to the end.
        * gas/mips/mips32r2.s: Likewise.

12 years agobfd:
pinskia [Thu, 8 Dec 2011 20:47:22 +0000 (20:47 +0000)]
bfd:
2011-12-08  Andrew Pinski  <apinski@cavium.com>
            Adam Nemet  <anemet@caviumnetworks.com>

* archures.c (bfd_mach_mips_octeon2): New macro
* bfd-in2.h: Regenerate.
* cpu-mips.c (I_mipsocteon2): New enum value.
(arch_info_struct): Add bfd_mach_mips_octeon2.
* elfxx-mips.c (_bfd_elf_mips_mach): Support E_MIPS_MACH_OCTEON2.
(mips_set_isa_flags): Add bfd_mach_mips_octeon2.
(mips_mach_extensions): Add bfd_mach_mips_octeon2.

gas:
2011-12-08  Andrew Pinski  <apinski@cavium.com>
            Adam Nemet  <anemet@caviumnetworks.com>

        * tc-mips.c (CPU_IS_OCTEON): Add Octeon2.
        (mips_cpu_info_table): Add Octeon2.
        * doc/c-mips.texi: Document octeon2 as an acceptable value for -march=.

gas/testsuite:
2011-12-08  Andrew Pinski  <apinski@cavium.com>
            Adam Nemet  <anemet@caviumnetworks.com>

        * gas/mips/mips.exp: Add Octeon2 for an architecture.
        Run octeon2 test.
        * gas/mips/octeon2.d: New file.
        * gas/mips/octeon2.s: New file.

include/opcode:
2011-12-08  Andrew Pinski  <apinski@cavium.com>
            Adam Nemet  <anemet@caviumnetworks.com>

        * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEON2.
        (INSN_OCTEON2): New macro.
        (CPU_OCTEON2): New macro.
        (OPCODE_IS_MEMBER): Add Octeon2.

opcodes:
2011-12-08  Andrew Pinski  <apinski@cavium.com>
            Adam Nemet  <anemet@caviumnetworks.com>

* mips-dis.c (mips_arch_choices): Add Octeon2.
For "octeon+", just include OcteonP for the insn.
* mips-opc.c (IOCT): Include Octeon2.
(IOCTP): Include Octeon2.
(IOCT2): New macro.
(mips_builtin_opcodes): Add "laa", "laad", "lac", "lacd", "lad",
"ladd", "lai", "laid", "las", "lasd", "law", "lawd".
Move "lbux", "ldx", "lhx", "lwx", and "lwux" up to where the standard
loads are, and add IOCT2 to them.
Add "lbx" and "lhux".
Add "qmac.00", "qmac.01", "qmac.02", "qmac.03", "qmacs.00",
"qmacs.01", "qmacs.01", "qmacs.02" and "qmacs.03".
Add "zcb" and "zcbt".

12 years ago* select.cc (cygwin_select): Make sure that 0 is returned when sel.wait times
cgf [Thu, 8 Dec 2011 20:24:33 +0000 (20:24 +0000)]
* select.cc (cygwin_select): Make sure that 0 is returned when sel.wait times
out.

12 years ago * mips-tdep.c (mips_skip_mips16_trampoline_code): Sign-extend
macro [Thu, 8 Dec 2011 19:03:23 +0000 (19:03 +0000)]
* mips-tdep.c (mips_skip_mips16_trampoline_code): Sign-extend
address chunks retrieved from decoded lui/addiu pairs.

12 years ago * mips-tdep.c (extended_offset): Correct calculation.
macro [Thu, 8 Dec 2011 18:55:48 +0000 (18:55 +0000)]
* mips-tdep.c (extended_offset): Correct calculation.
(unpack_mips16): Correct bitfield positions used for extraction
of the immediate argument; fix sign-extension of same.
(extended_mips16_next_pc): Correct B instruction's offset
calculation.  Correct register decoding of the BEQZ and BNEZ
as well as jump-register instructions.  Handle compact jumps.

12 years ago* include/sys/wait.h: Add in all c++ functions.
cgf [Thu, 8 Dec 2011 18:24:23 +0000 (18:24 +0000)]
* include/sys/wait.h: Add in all c++ functions.

12 years ago * objfiles.h (struct objfile): Remove obsolete comment.
tromey [Thu, 8 Dec 2011 18:08:08 +0000 (18:08 +0000)]
* objfiles.h (struct objfile): Remove obsolete comment.
* objfiles.c (build_objfile_section_table): Remove obsolete
comment.