OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agoMore -fPIC options.
iant [Sat, 1 Dec 2007 06:53:32 +0000 (06:53 +0000)]
More -fPIC options.

16 years agoAdd missing space.
iant [Sat, 1 Dec 2007 06:51:45 +0000 (06:51 +0000)]
Add missing space.

16 years agoCompile shared library code with -fPIC. Also, alphabetize.
iant [Sat, 1 Dec 2007 06:50:09 +0000 (06:50 +0000)]
Compile shared library code with -fPIC.  Also, alphabetize.

16 years agoAdd casts to avoid warnings.
iant [Sat, 1 Dec 2007 06:45:21 +0000 (06:45 +0000)]
Add casts to avoid warnings.

16 years agoCompress all debug sections.
iant [Sat, 1 Dec 2007 06:34:12 +0000 (06:34 +0000)]
Compress all debug sections.

16 years ago * hostio.c: Correct copyright year.
drow [Sat, 1 Dec 2007 05:00:04 +0000 (05:00 +0000)]
* hostio.c: Correct copyright year.

16 years ago*** empty log message ***
gdbadmin [Sat, 1 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agogas/
bwilson [Fri, 30 Nov 2007 23:47:54 +0000 (23:47 +0000)]
gas/
* config/tc-xtensa.h (md_allow_eh_opt): Define.
gas/testsuite/
* gas/elf/elf.exp: Disable ehopt test for Xtensa.

16 years agodaily update
amodra [Fri, 30 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFrom Cary Coutant: Avoid compilation warnings if no zlib.h.
iant [Fri, 30 Nov 2007 22:38:01 +0000 (22:38 +0000)]
From Cary Coutant: Avoid compilation warnings if no zlib.h.

16 years ago * remote.c (remote_cmdlist): New variable.
drow [Fri, 30 Nov 2007 21:50:17 +0000 (21:50 +0000)]
* remote.c (remote_cmdlist): New variable.
(PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite)
(PACKET_vFile_close, PACKET_vFile_unlink): New constants.
(remote_buffer_add_string, remote_buffer_add_bytes)
(remote_buffer_add_int, remote_hostio_parse_result)
(remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite)
(remote_hostio_pread, remote_hostio_close, remote_hostio_unlink)
(remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup)
(remote_hostio_close_cleanup, remote_file_put, remote_file_get)
(remote_file_delete, remote_put_command, remote_get_command)
(remote_delete_command, remote_command): New functions.
(_initialize_remote): Register new packets and commands.
* Makefile.in (gdb_fileio_h): New variable.
(remote.o): Update.
(SUBDIR_MI_OBS): Add mi-cmd-target.o.
(SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c.
(mi-cmd-target.o): New rule.
* mi/mi-cmd-target.c: New file.
* mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get,
and target-file-put.
* mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put)
(mi_cmd_target_file_delete): Declare.
* remote.h (remote_file_put, remote_file_get, remote_file_delete):
Declare.
* NEWS: Describe new file transfer support.

* gdb.texinfo (Debugging Programs with Multiple Processes): Correct
formatting.
(Remote Debugging): Add File Transfer section.
(Remote Configuration): Document Host I/O packets.
(GDB/MI): Add GDB/MI File Transfer Commands section.
(Remote Protocol): Add Host I/O Packets section.
(Packets): Add vFile.

* Makefile.in (OBS): Add hostio.o.
(hostio.o): New rule.
* server.h (handle_vFile): Declare.
* hostio.c: New file.
* server.c (handle_v_requests): Take packet_len and new_packet_len
for binary packets.  Call handle_vFile.
(main): Update call to handle_v_requests.

* gdb.server/file-transfer.exp, gdb.server/transfer.txt,
gdb.mi/mi-file-transfer.exp: New.

16 years ago * infrun.c (handle_inferior_event): Don't
vprus [Fri, 30 Nov 2007 10:03:16 +0000 (10:03 +0000)]
* infrun.c (handle_inferior_event): Don't
        ignore beakpoints if trap_expected is set.

16 years ago Make insert_breakpoints return void.
vprus [Fri, 30 Nov 2007 10:00:25 +0000 (10:00 +0000)]
Make insert_breakpoints return void.
* breakpoint.h (insert_breakpoints): Change
return type to void.
* breakpoint.c (insert_breakpoints): Change
return type to void.  Rename local return_val
variable to error.
* infrun.c (keep_going): Instead of checking
return value from insert_breakpoints, catch exception.

16 years agobfd/
rsandifo [Fri, 30 Nov 2007 09:01:35 +0000 (09:01 +0000)]
bfd/
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the
ELF header to choose between 32-bit and 64-bit relocation structures.

16 years agoFrom Craig Silverstein: Add support for compressing .debug_str section.
iant [Fri, 30 Nov 2007 00:35:27 +0000 (00:35 +0000)]
From Craig Silverstein: Add support for compressing .debug_str section.

16 years ago*** empty log message ***
gdbadmin [Fri, 30 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 29 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoClean up setting address and section offset.
iant [Thu, 29 Nov 2007 20:10:16 +0000 (20:10 +0000)]
Clean up setting address and section offset.

16 years ago2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
bonzini [Thu, 29 Nov 2007 15:36:39 +0000 (15:36 +0000)]
2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * config-ml.in: Robustify against white space in absolute file
        names.

16 years ago bfd/
shinwell [Thu, 29 Nov 2007 12:23:42 +0000 (12:23 +0000)]
bfd/
* archures.c (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* bfd-in2.h (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* cpu-mips.c: Add I_loongson_2e and I_loongson_2f to
anonymous enum.
(arch_info_struct): Add Loongson-2E and Loongson-2F entries.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E
and Loongson-2F flags.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Loongson-2E and Loongson-2F
entries.

binutils/
* readelf.c (get_machine_flags): Handle Loongson-2E and -2F
flags.

gas/
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
and loongson2f entries.
* doc/c-mips.texi: Document -march=loongson{2e,2f} options.

gas/testsuite/
* gas/mips/mips.exp: Add loongson-2e and -2f tests.
* gas/mips/loongson-2e.d: New.
* gas/mips/loongson-2e.s: New.
* gas/mips/loongson-2f.d: New.
* gas/mips/loongson-2f.s: New.

include/elf/
* mips.h (E_MIPS_MACH_LS2E): New.
(E_MIPS_MACH_LS2F): New.

include/opcode/
* mips.h (INSN_LOONGSON_2E): New.
(INSN_LOONGSON_2F): New.
(CPU_LOONGSON_2E): New.
(CPU_LOONGSON_2F): New.
(OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags.

opcodes/
* mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
entries.
* mips-opc.c (IL2E): New.
(IL2F): New.
(mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
Allow movz and movn for Loongson-2E and -2F.  Add movnz entry.
Move coprocessor encodings to the end of the table.  Allow
certain MIPS V .ps instructions on the Loongson-2E and -2F.

16 years ago include/opcode/
shinwell [Thu, 29 Nov 2007 11:55:19 +0000 (11:55 +0000)]
include/opcode/
* mips.h (INSN_ISA*): Redefine certain values as an
enumeration.  Update comments.
(mips_isa_table): New.
(ISA_MIPS*): Redefine to match enumeration.
(OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA*
values.

opcodes/
* mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
(mips_builtin_opcodes): Use these new I* values.

16 years ago2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
sky [Thu, 29 Nov 2007 09:34:14 +0000 (09:34 +0000)]
2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* config/tc-s390.c (md_begin): If the -mesa option is specified
add zarch opcodes to the hash table only if there is no variant
that is available for the esa mode as well.

2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* gas/s390/esa-z9-109.d: Add check for old version of sske.
* gas/s390/esa-z9-109.s: Likewise.

16 years agoPR ld/5398
nickc [Thu, 29 Nov 2007 08:14:22 +0000 (08:14 +0000)]
PR ld/5398
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not complain if
  there is no glue bfd, just return.

16 years ago Stop infrun from tracking breakpoint insertion status.
vprus [Thu, 29 Nov 2007 07:48:20 +0000 (07:48 +0000)]
Stop infrun from tracking breakpoint insertion status.

The checks of breakpoints_inserted before calling
remove_breakpoints are removed, as remove_breakpoint
won't touch uninserted breakpoints. In a number of places,
we're interested if a breakpoint is inserted at particular
PC, and we now use breakpoint_inserted_here_p.  In a few
places, insert_breakpoints can be called unconditionally,
since it won't try to insert already inserted breakpoint.

* breakpoint.h (regular_breakpoint_inserted_here_p): New
declaration.
* breakpoint.c (regular_breakpoint_inserted_here_p): New.
(breakpoint_inserted_here_p): Use
regular_breakpoint_inserted_here_p.
* infrun.c (breakpoints_inserted): Remove.
(resume): Don't check for breakpoints_inserted before
remove_hw_watchpoints. Use breakpoint_inserted_here_p.
(proceed, init_wait_for_inferior): Don't set breakpoints_inserted.
(handle_inferior_event): Don't use breakpoints_inserted.
Use breakpoints_meant_to_be_inserted and
breakpoints_inserted_here_p.
(insert_step_resume_breakpoint_at_sal, keep_going): Use
breakpoints_meant_to_be_inserted. Don't set breakpoints_inserted.
(normal_stop): Don't check for breakpoints_inserted.  Don't
set breakpoints_inserted.
(keep_going): Don't check for breakpoints_inserted.
(insert_step_resume_breakpoint_at_sal): Don't insert
breakpoints

16 years ago*** empty log message ***
gdbadmin [Thu, 29 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 28 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoDon't try to delete the output file if we don't know its name yet.
iant [Wed, 28 Nov 2007 19:39:40 +0000 (19:39 +0000)]
Don't try to delete the output file if we don't know its name yet.

16 years agoFrom Craig Silverstein: Fix up comments.
iant [Wed, 28 Nov 2007 19:38:35 +0000 (19:38 +0000)]
From Craig Silverstein: Fix up comments.

16 years ago* breakpoint.c (watch_command_1): When the watchpoint isn't local
jimb [Wed, 28 Nov 2007 18:21:30 +0000 (18:21 +0000)]
* breakpoint.c (watch_command_1): When the watchpoint isn't local
to any frame, initialize watchpoint_frame using null_frame_id, not
a memset.

16 years agoFrom Craig Silverstein: Better handling of ODR violations which are
iant [Wed, 28 Nov 2007 18:01:06 +0000 (18:01 +0000)]
From Craig Silverstein: Better handling of ODR violations which are
not in a function.

16 years ago * fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of
corinna [Wed, 28 Nov 2007 16:45:34 +0000 (16:45 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of
CYG_MAX_PATH.
* fhandler_tty.cc (fhandler_pty_master::ptsname): Set buffer size to
TTY_NAME_MAX.
* syscalls.cc (ttyname): Eliminate the `+ 1' from the name buffer size
since TTY_NAME_MAX already counts the trailing NUL.
* libc/bsdlib.cc (openpty): Set pts buffer size to TTY_NAME_MAX.

16 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Add MSG_WAITALL
corinna [Wed, 28 Nov 2007 15:54:16 +0000 (15:54 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Add MSG_WAITALL
handling.  Use explicit flag values instead of MSG_WINMASK.
(fhandler_socket::send_internal): Use explicit flag values instead of
MSG_WINMASK.
* include/cygwin/socket.h (MSG_WINMASK): Remove definition.
(MSG_WAITALL): Define.

16 years ago * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
nathan [Wed, 28 Nov 2007 13:53:05 +0000 (13:53 +0000)]
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
segments at the end of memory.

16 years ago* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward...
nickc [Wed, 28 Nov 2007 13:04:17 +0000 (13:04 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward jumps.
* ld-mn10300/i135409-5.s: New test case.  Check for relaxation to a 16-bit backward jump instruction.
* ld-mn10300/i135409-5.t: Linker script for the new test.
* ld-mn10300/i135409-5.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.

16 years ago * infrun.c (resume): Set right thread even if
vprus [Wed, 28 Nov 2007 12:49:54 +0000 (12:49 +0000)]
* infrun.c (resume): Set right thread even if
stepping over breakpoint using software single step.

16 years ago*** empty log message ***
gdbadmin [Wed, 28 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago(print_varobj): Revert change from 2007-08-31.
nickrob [Tue, 27 Nov 2007 23:02:59 +0000 (23:02 +0000)]
(print_varobj): Revert change from 2007-08-31.
(mi_print_value_p): Guard against type = NULL.

16 years ago*** empty log message ***
nickrob [Tue, 27 Nov 2007 23:02:31 +0000 (23:02 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 27 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * dfp.c (decimal_from_string): Remove superfluous newline from
bauermann [Tue, 27 Nov 2007 20:13:11 +0000 (20:13 +0000)]
* dfp.c (decimal_from_string): Remove superfluous newline from
error string.
(decimal_to_string): Likewise.
* printcmd.c (printf_command): Change string buffer to use
MAX_DECIMAL_STRING constant.
* value.c (value_from_decfloat): Likewise.

16 years ago * Makefile.in (ALL_TARGET_OBS): Remove object files that require
uweigand [Tue, 27 Nov 2007 17:06:10 +0000 (17:06 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove object files that require
64-bit CORE_ADDR and BFD support, move them to ...
(ALL_64_TARGET_OBS): ... this new variable.
* configure.ac: Check for --enable-64-bit-bfd option.  Only add
64-bit targets with --enable-targets=all if BFD supports 64-bit.
* configure: Regenerate.

* i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim
all elf32-i386 executables, only cygwin core files.

16 years ago * posix_ipc.cc (ipc_names): Rename max_len to prefix_len. Store
corinna [Tue, 27 Nov 2007 17:04:18 +0000 (17:04 +0000)]
* posix_ipc.cc (ipc_names): Rename max_len to prefix_len.  Store
the prefix len in it.
(check_path): Take length parameter.  Use this length insetad of
calling strlen.  Allow PATH_MAX length paths.
(ipc_mutex_init): Use MAX_PATH instead of CYG_MAX_PATH.
(ipc_cond_init): Ditto.
(shm_open): Allocate local name buffer not bigger than necessary.  Call
check_path with additional length argument.
(shm_unlink): Ditto.
(mq_open): Ditto.
(mq_unlink): Ditto.
(sem_open): Ditto.
(sem_unlink): Ditto.

16 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Tue, 27 Nov 2007 15:33:28 +0000 (15:33 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

16 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Tue, 27 Nov 2007 15:31:57 +0000 (15:31 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget",
"tgdt", "tgxt"): Removed.
        ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
* gas/s390/zarch-z9-ec.s: Likewise.

16 years ago Drop old SetResourceLock stuff in favor of mutos.
corinna [Tue, 27 Nov 2007 14:45:12 +0000 (14:45 +0000)]
Drop old SetResourceLock stuff in favor of mutos.
* dcrt0.cc (_reslock): Remove.
(__cygwin_user_data): Accommodate removal of resourcelocks member.
(dll_crt0_0): Don't initialize resourcelocks.
* exceptions.cc (_cygtls::signal_exit): Drop resourcelocks handling.
* mmap.cc (mmap_guard): New muto.
(LIST_LOCK): Define.
(LIST_UNLOCK): Define.
(mmap_list::search_record): Remove.
(mmap_list::try_map): Include code for anonymous case from
mmap_list::search_record.
(mmap_is_attached_or_noreserve): Access bookkeeping lists in a thread
safe way.
(mmap64): Replace SetResourceLock/ReleaseResourceLock by
LIST_LOCK/LIST_UNLOCK.  Lock at the latest possible point.
(munmap): Replace SetResourceLock/ReleaseResourceLock by
LIST_LOCK/LIST_UNLOCK.
(msync): Ditto.
(mprotect): Ditto.
* thread.cc (ResourceLocks::Lock): Remove.
(SetResourceLock): Remove.
(ReleaseResourceLock): Remove.
(ResourceLocks::Init): Remove.
(ResourceLocks::Delete): Remove.
* thread.h (SetResourceLock): Drop declaration.
(ReleaseResourceLock): Ditto.
(class ResourceLocks): Drop definition.
* include/sys/cygwin.h (class ResourceLocks): Drop forward declaration.
(struct per_process): Replace resourcelocks with additional unused2
element.
(per_process_overwrite): Accommodate above change.

16 years ago * mmap.cc: Convert usage of dynamically growing cmalloced arrays to
corinna [Tue, 27 Nov 2007 10:09:05 +0000 (10:09 +0000)]
* mmap.cc: Convert usage of dynamically growing cmalloced arrays to
cmalloced linked lists throughout.
(class mmap_record): Add LIST_ENTRY element.
(mmap_record::match): New method, taking over match algorithm from
list::search_record.
(class mmap_list): Rename from class list.  Add LIST_ENTRY.  Convert
recs to a LIST_HEAD.  Drop nrecs and maxrecs members.
(mmap_list::get_record): Drop entirely.
(mmap_list::free_recs): Drop entirely.
(mmap_list::del_record): Take mmap_record to delete as parameter.
(mmap_list::search_record): Convert to mmap_record::match.
(class mmap_areas): Rename from class map.  Convert lists to LIST_HEAD.
(mmap_areas::get_list): Drop entirely.
(mmap_areas::del_list): Take mmap_list to delete as parameter.
(mprotect): Fix indentation.

16 years agoRework merge_map for speed.
iant [Tue, 27 Nov 2007 06:13:32 +0000 (06:13 +0000)]
Rework merge_map for speed.

16 years ago2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 27 Nov 2007 02:14:19 +0000 (02:14 +0000)]
2007-11-26  Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
        * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
        * mingwex/math/log10f.S: Correct issue with comments.
        * mingwex/math/log10l.S: Ditto.
        * mingwex/math/log1p.S: Ditto.
        * mingwex/math/log1pf.S: Ditto.
        * mingwex/math/log1pl.S: Ditto.
        * mingwex/math/log2.S: Ditto.
        * mingwex/math/log2f.S: Ditto.
        * mingwex/math/log2l.S: Ditto.
        * mingwex/math/logf.S: Ditto.
        * mingwex/math/logl.S: Ditto.

16 years ago*** empty log message ***
gdbadmin [Tue, 27 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 26 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoChange many cygheap allocation routines to their *_abort analogs.
cgf [Mon, 26 Nov 2007 21:30:46 +0000 (21:30 +0000)]
Change many cygheap allocation routines to their *_abort analogs.
* cygheap.cc (cmalloc_abort): New function.
(crealloc_abort): Ditto.
(ccalloc_abort): Ditto.

16 years ago * cxxfilt.c (demangle_it): Don't call printf without format string.
amodra [Mon, 26 Nov 2007 01:53:59 +0000 (01:53 +0000)]
* cxxfilt.c (demangle_it): Don't call printf without format string.

16 years ago * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
amodra [Mon, 26 Nov 2007 01:43:43 +0000 (01:43 +0000)]
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.

16 years ago*** empty log message ***
gdbadmin [Mon, 26 Nov 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 25 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agogdb/
jkratoch [Sun, 25 Nov 2007 21:40:37 +0000 (21:40 +0000)]
gdb/
* dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing
code with its variables OBJFILE, CU_HEADER and OBFD into ...
(dwarf2_ranges_read): ... a new function.
(read_partial_die): Implemented the parsing of `DW_AT_ranges'.

gdb/testsuite/
* gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.

16 years ago*** empty log message ***
gdbadmin [Sun, 25 Nov 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 24 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * win32-nat.c (DR6_CLEAR_VALUE): New define.
palves [Sat, 24 Nov 2007 12:13:27 +0000 (12:13 +0000)]
* win32-nat.c (DR6_CLEAR_VALUE): New define.
(thread_info_struct): Rename suspend_count to suspended, to be
used as a flag.
(thread_rec): Only suspend the thread if it wasn't suspended by
gdb before.  Warn if suspending failed.
(win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE.
(win32_continue): Set Dr6 to DR6_CLEAR_VALUE.  Update usage of the
`suspended' flag.  Do ContinueDebugEvent after resuming the
suspended threads, not before.  Set threads' contexts before
resuming them, not after.
(win32_resume): Set Dr6 to DR6_CLEAR_VALUE.

16 years ago*** empty log message ***
gdbadmin [Sat, 24 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 23 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * breakpoint.c (insert_breakpoints)
vprus [Fri, 23 Nov 2007 16:54:33 +0000 (16:54 +0000)]
* breakpoint.c (insert_breakpoints)
(insert_bp_location): Remove stale comments.

16 years ago* cygheap.cc (_crealloc): Avoid memcpy when _cmalloc returns NULL.
cgf [Fri, 23 Nov 2007 16:37:05 +0000 (16:37 +0000)]
* cygheap.cc (_crealloc): Avoid memcpy when _cmalloc returns NULL.

16 years ago* mips-linux-tdep.h: Fix some formatting.
macro [Fri, 23 Nov 2007 16:33:11 +0000 (16:33 +0000)]
* mips-linux-tdep.h: Fix some formatting.

16 years ago*** empty log message ***
gdbadmin [Fri, 23 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 22 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago* gdb.trace/backtrace.exp: Fix a typo.
macro [Thu, 22 Nov 2007 16:03:00 +0000 (16:03 +0000)]
* gdb.trace/backtrace.exp: Fix a typo.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.

16 years ago2007-11-21 Kevin Conaway <kevin_conaway@users.sourceforge.net>
ironhead [Thu, 22 Nov 2007 03:16:15 +0000 (03:16 +0000)]
2007-11-21  Kevin Conaway  <kevin_conaway@users.sourceforge.net>

        * include/wincrypt.h (CryptProtectData, CryptUnprotectData): define.

16 years ago2007-11-21 elsapo <elsapo@users.sourceforge.net>
ironhead [Thu, 22 Nov 2007 03:07:08 +0000 (03:07 +0000)]
2007-11-21  elsapo  <elsapo@users.sourceforge.net>

        * include/wincrypt.h (CERT_NAME_STR_COMMA_FLAG,
        CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG, CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG,
        CMC_ADD_ATTRIBUTES, CMC_ADD_EXTENSIONS, X509_CERT_PAIR,
        X509_CERTIFICATE_TEMPLATE, X509_CROSS_CERT_DIST_POINTS, CMC_DATA,
        X509_NAME_CONSTRAINTS, X509_POLICY_CONSTRAINTS, X509_POLICY_MAPPINGS,
        CMC_RESPONSE, CMC_STATUS, X509_ALGORITHM_IDENTIFIER, X509_ALTERNATE_NAME,
        PKCS_ATTRIBUTE, X509_AUTHORITY_INFO_ACCESS, X509_AUTHORITY_KEY_ID,
        X509_AUTHORITY_KEY_ID2, szOID_BASIC_CONSTRAINTS, X509_BASIC_CONSTRAINTS2,
        X509_BIOMETRIC_EXT, X509_BITS, X509_CERT, X509_CERT_CRL_TO_BE_SIGNED,
        X509_CERT_POLICIES, X509_CERT_REQUEST_TO_BE_SIGNED, X509_CERT_TO_BE_SIGNED,
        X509_CHOICE_OF_TIME, PKCS_CONTENT_INFO, PKCS_CONTENT_INFO_SEQUENCE_OF_ANY,
        X509_CRL_DIST_POINTS, RSA_CSP_PUBLICKEYBLOB, PKCS_CTL, X509_DSS_PARAMETERS,
        X509_DSS_SIGNATURE, X509_ECC_SIGNATURE, X509_ENHANCED_KEY_USAGE,
        X509_ENUMERATED, X509_EXTENSIONS, X509_INTEGER, X509_ISSUING_DIST_POINT,
        X509_KEY_ATTRIBUTES, X509_KEY_USAGE, X509_KEY_USAGE_RESTRICTION,
        X509_KEYGEN_REQUEST_TO_BE_SIGNED, X509_LOGOTYPE_EXT,
        X509_MULTI_BYTE_INTEGER, X509_MULTI_BYTE_UINT, X509_NAME, X509_NAME_VALUE,
        X509_OBJECT_IDENTIFIER, X509_OCTET_STRING, X509_PUBLIC_KEY_INFO,
        PKCS_RC2_CBC_PARAMETERS, CNG_RSA_PUBLIC_KEY_BLOB,
        PKCS_RSA_SSA_PSS_PARAMETERS, PKCS_RSAES_OAEP_PARAMETERS,
        ECC_CMS_SHARED_INFO, X509_SEQUENCE_OF_ANY, PKCS7_SIGNER_INFO,
        CMS_SIGNER_INFO, PKCS_SMIME_CAPABILITIES, PKCS_TIME_REQUEST,
        X509_UNICODE_NAME, X509_UNICODE_NAME_VALUE, PKCS_UTC_TIME,
        OCSP_SIGNED_REQUEST, OCSP_REQUEST, OCSP_RESPONSE,
        OCSP_BASIC_SIGNED_RESPONSE, OCSP_BASIC_RESPONSE, CRL_REASON_UNSPECIFIED,
        CRL_REASON_KEY_COMPROMISE, CRL_REASON_CA_COMPROMISE,
        CRL_REASON_AFFILIATION_CHANGED, CRL_REASON_SUPERSEDED,
        CRL_REASON_CESSATION_OF_OPERATION, CRL_REASON_CERTIFICATE_HOLD,
        CRL_REASON_REMOVE_FROM_CRL, CRYPT_ENCODE_ALLOC_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_FORCE_UTF8_UNICODE_FLAG,
        szOID_APPLICATION_CERT_POLICIES, szOID_APPLICATION_POLICY_CONSTRAINTS,
        szOID_APPLICATION_POLICY_MAPPINGS, szOID_AUTHORITY_INFO_ACCESS,
        szOID_AUTHORITY_KEY_IDENTIFIER, szOID_AUTHORITY_KEY_IDENTIFIER2,
        X509_BASIC_CONSTRAINTS, szOID_BIOMETRIC_EXT, szOID_CERT_EXTENSIONS,
        szOID_CERT_POLICIES, szOID_CERTIFICATE_TEMPLATE, szOID_CRL_NUMBER,
        szOID_CROSS_CERT_DIST_POINTS, szOID_DELTA_CRL_INDICATOR,
        szOID_ENROLLMENT_NAME_VALUE_PAIR, szOID_FRESHEST_CRL,
        szOID_ISSUING_DIST_POINT, szOID_NAME_CONSTRAINTS, szOID_CRL_DIST_POINTS,
        szOID_CRL_REASON_CODE, szOID_CRL_VIRTUAL_BASE, szOID_ECC_PUBLIC_KEY,
        szOID_ECDSA_SPECIFIED, szOID_ENHANCED_KEY_USAGE, szOID_ISSUER_ALT_NAME,
        szOID_ISSUER_ALT_NAME2, szOID_KEY_ATTRIBUTES, szOID_KEY_USAGE,
        szOID_KEY_USAGE_RESTRICTION, szOID_LOGOTYPE_EXT, szOID_POLICY_CONSTRAINTS,
        szOID_POLICY_MAPPINGS, szOID_RSA_SSA_PSS, szOID_RSAES_OAEP,
        szOID_SUBJECT_ALT_NAME, szOID_SUBJECT_ALT_NAME2,
        szOID_SUBJECT_KEY_IDENTIFIER, CMC_ADD_ATTRIBUTES_INFO,
        PCMC_ADD_ATTRIBUTES_INFO, CMC_ADD_EXTENSIONS_INFO, PCMC_ADD_EXTENSIONS_INFO,
        CERT_ALT_NAME_ENTRY, PCERT_ALT_NAME_ENTRY, CERT_ALT_NAME_INFO,
        PCERT_ALT_NAME_INFO, CERT_NAME_VALUE, PCERT_NAME_VALUE,
        CERT_POLICY_QUALIFIER_INFO, PCERT_POLICY_QUALIFIER_INFO,
        CERT_POLICY_CONSTRAINTS_INFO, PCERT_POLICY_CONSTRAINTS_INFO,
        CERT_POLICY_MAPPINGS_INFO, PCERT_POLICY_MAPPINGS_INFO, CERT_POLICY_MAPPING,
        PCERT_POLICY_MAPPING, CryptDecodeObjectEx, CryptEncodeObject,
        CryptEncodeObjectEx): define.

16 years ago2007-11-21 Brian Dessent <dessent@users.sourceforge.net>
ironhead [Thu, 22 Nov 2007 02:38:17 +0000 (02:38 +0000)]
2007-11-21  Brian Dessent <dessent@users.sourceforge.net>

        * include/winbase.h (CheckTokenMembership): define.

16 years agoMake Merge_key_less operator() inline.
iant [Thu, 22 Nov 2007 00:45:46 +0000 (00:45 +0000)]
Make Merge_key_less operator() inline.

16 years agoAdd threading support.
iant [Thu, 22 Nov 2007 00:05:51 +0000 (00:05 +0000)]
Add threading support.

16 years ago*** empty log message ***
gdbadmin [Thu, 22 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 21 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * dwarf.c (display_debug_loc): Cast section_end - start to long
hp [Wed, 21 Nov 2007 17:50:41 +0000 (17:50 +0000)]
* dwarf.c (display_debug_loc): Cast section_end - start to long
for output format.

16 years ago* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
nickc [Wed, 21 Nov 2007 12:06:24 +0000 (12:06 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
   computing whether instructions can be relaxed.
* ld-mn10300/i135409-4.s: New test case.  Check for relaxation to a 16-bit
    jump instruction.
* ld-mn10300/i135409-4.t: Linker script for the new test.
* ld-mn10300/i135409-4.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.

16 years ago* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the end
nickc [Wed, 21 Nov 2007 11:58:00 +0000 (11:58 +0000)]
* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the end
  of the .debug_loc section which are not referenced by any attribute in the
  .debug_info section.

16 years ago2007-11-21 Markus Deuling <deuling@de.ibm.com>
deuling [Wed, 21 Nov 2007 06:02:51 +0000 (06:02 +0000)]
2007-11-21  Markus Deuling  <deuling@de.ibm.com>

* stack.c (print_args_stub): Use get_frame_arch to get at the current
architecture and replace current_gdbarch.
(frame_info): Likewise.

16 years ago*** empty log message ***
gdbadmin [Wed, 21 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 20 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoVariables objects of pointers that can't be dereferenced are now
nickrob [Tue, 20 Nov 2007 20:01:35 +0000 (20:01 +0000)]
Variables objects of pointers that can't be dereferenced are now
"noneditable".

16 years agoVariables objects of pointers that can't be dereferenced are now
nickrob [Tue, 20 Nov 2007 20:01:11 +0000 (20:01 +0000)]
Variables objects of pointers that can't be dereferenced are now
"noneditable".

16 years ago*** empty log message ***
nickrob [Tue, 20 Nov 2007 19:59:05 +0000 (19:59 +0000)]
*** empty log message ***

16 years ago(mi_cmd_var_assign): Simplify.
nickrob [Tue, 20 Nov 2007 19:55:16 +0000 (19:55 +0000)]
(mi_cmd_var_assign): Simplify.

16 years agoAdd extern for varobj_editable_p.
nickrob [Tue, 20 Nov 2007 19:54:58 +0000 (19:54 +0000)]
Add extern for varobj_editable_p.

16 years ago(c_variable_editable, cplus_variable_editable)
nickrob [Tue, 20 Nov 2007 19:54:39 +0000 (19:54 +0000)]
(c_variable_editable, cplus_variable_editable)
(java_variable_editable, variable_editable): Delete.
(varobj_editable_p): Replace above functions with one language
independent function.  Check for an lvalue.
(varobj_get_attributes, varobj_set_value): Use varobj_editable_p.
(struct language_specific): Delete variable_editable field.

16 years ago*** empty log message ***
nickrob [Tue, 20 Nov 2007 19:52:41 +0000 (19:52 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
nickrob [Tue, 20 Nov 2007 19:44:19 +0000 (19:44 +0000)]
*** empty log message ***

16 years ago Remove unused breakpoint fields.
vprus [Tue, 20 Nov 2007 17:37:30 +0000 (17:37 +0000)]
Remove unused breakpoint fields.
* breakpoint.h (struct breakpoint): Remove
from_tty and flag fields.
* breakpoint.c (break_command_1): Don't set
from_tty and flag field set of breakpoint.
(create_ada_exception_breakpoint): Don't set
the from_tty field.

16 years agooops - omitted from previous delta
nickc [Tue, 20 Nov 2007 16:58:47 +0000 (16:58 +0000)]
oops - omitted from previous delta

16 years ago* elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there...
nickc [Tue, 20 Nov 2007 15:08:23 +0000 (15:08 +0000)]
* elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there may be no TLS segment.
* lib/ld-lib.exp (check_gc_sections_available): New proc, based on the version in gcc/testsuite/lib/target-supports.exp.
* ld-elf/eld.exp: Use check_gc_sections_available.

16 years ago* mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
macro [Tue, 20 Nov 2007 13:47:39 +0000 (13:47 +0000)]
* mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
instruction.

16 years ago * infrun.c (resume): Clarify logic that
vprus [Tue, 20 Nov 2007 08:18:47 +0000 (08:18 +0000)]
* infrun.c (resume): Clarify logic that
decides if a single thread must be resumed. Add
comments.

16 years ago * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
vprus [Tue, 20 Nov 2007 08:16:14 +0000 (08:16 +0000)]
* breakpoint.c (disable_breakpoints_in_unloaded_shlib):
Make static.

16 years agoFrom Craig Silverstein: Also set entsize for .debug_str sections.
iant [Tue, 20 Nov 2007 04:26:15 +0000 (04:26 +0000)]
From Craig Silverstein: Also set entsize for .debug_str sections.

16 years ago*** empty log message ***
gdbadmin [Tue, 20 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 19 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoFrom Craig Silverstein: Force .debug_str sections to be SHF_MERGE and
iant [Mon, 19 Nov 2007 22:49:38 +0000 (22:49 +0000)]
From Craig Silverstein: Force .debug_str sections to be SHF_MERGE and
SHF_STRINGS.

16 years ago2007-11-19 Nick Clifton <nickc@redhat.com>
jjohnstn [Mon, 19 Nov 2007 20:03:25 +0000 (20:03 +0000)]
2007-11-19  Nick Clifton  <nickc@redhat.com>

        * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
        * libc/machine/mn10300/Makefile.in: Regenerate.
        * libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
        .debug_frame section.
        * libc/machine/mn10300/memcmp.S: Likewise.
        * libc/machine/mn10300/memcpy.S: Likewise.
        * libc/machine/mn10300/memset.S: Likewise.
        * libc/machine/mn10300/strchr.S: Likewise.
        * libc/machine/mn10300/strcmp.S: Likewise.
        * libc/machine/mn10300/strcpy.S: Likewise.
        * libc/machine/mn10300/strlen.S: Likewise.

16 years ago * config/xtensa-istack.h (tinsn_struct): Replace linenum field
bwilson [Mon, 19 Nov 2007 19:40:55 +0000 (19:40 +0000)]
* config/xtensa-istack.h (tinsn_struct): Replace linenum field
with loc_directive_seen and debug_line.
* config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h.
(xg_build_to_insn): Copy the new fields instead of linenum.
(xg_build_token_insn): Likewise.  Abort on INSTR_LABEL_DEF and move
common code out of the switch.
(md_assemble): Set new tinsn fields from DWARF information.  Call
dwarf2_consume_line_info.
(xg_assemble_vliw_tokens): Update the code to select the "best" line
number to use new information.  Call dwarf2_gen_line_info instead
of dwarf2_emit_insn.