OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago * config.sub, config.guess: Update from upstream sources.
bje [Wed, 5 Dec 2007 03:27:21 +0000 (03:27 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years agoFrom Craig Silverstein: Support -o -.
iant [Wed, 5 Dec 2007 01:13:28 +0000 (01:13 +0000)]
From Craig Silverstein: Support -o -.

16 years agoFrom Craig Silverstein: Test some flags.
iant [Wed, 5 Dec 2007 01:10:16 +0000 (01:10 +0000)]
From Craig Silverstein: Test some flags.

16 years agoStringpool stats. Also make Symbol_table support functions inline.
iant [Wed, 5 Dec 2007 00:48:49 +0000 (00:48 +0000)]
Stringpool stats.  Also make Symbol_table support functions inline.

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

16 years agoSupport lexical blocks and function bodies that occupy
jimb [Tue, 4 Dec 2007 23:43:57 +0000 (23:43 +0000)]
Support lexical blocks and function bodies that occupy
non-contiguous address ranges.
* addrmap.c, addrmap.h: New files.
* block.h (struct addrmap): New forward declaration.
(struct blockvector): New member, 'map'.
(BLOCKVECTOR_MAP): New accessor macro.
* block.c: #include "addrmap.h"
(blockvector_for_pc_sect): If the blockvector we've found has
an address map, use it instead of searching the blocks.
* buildsym.c: #include "addrmap.h"
(pending_addrmap_obstack, pending_addrmap_interesting): New static
variables.
(really_free_pendings): If we have a pending addrmap, free it too.
(record_block_range): New function.
(make_blockvector): If we have an interesting pending addrmap,
record it in the new blockvector.
(start_symtab, buildsym_init): Assert that there is no pending
addrmap now; we should have cleaned up any addrmaps we'd built
previously.
(end_symtab): If there is a pending addrmap left over that didn't
get included in the blockvector, free it.
* buildsym.h (struct addrmap): New forward declaration.
(record_block_range): New prototype.
* objfiles.c: #include "addrmap.h".
(objfile_relocate): Relocate the blockvector's address map, if
present.
* dwarf2read.c (dwarf2_record_block_ranges): New function.
(read_func_scope, read_lexical_block_scope): Call it.
* Makefile.in (SFILES): Add addrmap.c.
(addrmap_h): New header dependency variable.
(COMMON_OBS): Add addrmap.o.
(addrmap.o): New rule.l
(block.o, objfiles.o, buildsym.o): Depend on $(addrmap_h).

* block.c (blockvector_for_pc, blockvector_for_pc_sect): Return a
pointer to the block, not its index in the blockvector.
(block_for_pc_sect): Use the returned block, instead of looking it
up ourselves.
* block.h (blockvector_for_pc, blockvector_for_pc_sect): Update
declarations.
* breakpoint.c (resolve_sal_pc): Use returned block, instead of
looking it up ourselves.
* stack.c (print_frame_label_vars): Disable function, which
depends on the block's index.

* buildsym.c (finish_block): Return the block we've built.
* buildsym.h (finish_block): Update prototype.

* defs.h (CORE_ADDR_MAX): New constant.

16 years agoFrom Craig Silverstein: Support irregular output files.
iant [Tue, 4 Dec 2007 23:42:27 +0000 (23:42 +0000)]
From Craig Silverstein: Support irregular output files.

16 years ago * coffread.c (decode_type): Use builtin_type_int32 instead
uweigand [Tue, 4 Dec 2007 23:32:58 +0000 (23:32 +0000)]
* coffread.c (decode_type): Use builtin_type_int32 instead
of FT_INTEGER fundamental type for array range index type.
(decode_base_type): Use builtin types of current_gdbarch
instead of fundamental types.

* dwarf2read.c (struct dwarf2_cu): Remove ftypes member.
(read_file_scope): Do not initialize ftypes member.
(dwarf_base_type, dwarf2_fundamental_types): Remove functions.
(read_array_type): Use builtin_type_int32 instead of FT_INTEGER
fundamental type for array range index type.
(read_tag_string_type): Likewise for string range index type.
Also, do not overwrite FT_CHAR type with new string type.
(read_base_type): If DW_AT_name is missing, create unnamed type
with given properties instead of looking for a fundamental type.
Create new types as TYPE_TARGET_TYPE for DW_ATE_address and
DW_ATE_complex_float types.
(read_subrange_type): Create new type to represent missing
DW_AT_type instead of looking for a fundamental type.
(die_type): Use builtin type to represent "void" instead of
looking for a fundamental type.

* stabsread.c (define_symbol): Use builtin types to represent
'r' and 'i' floating-point and integer constants.

* gdbtypes.c (lookup_fundamental_type): Remove.
* gdbtypes.h (lookup_fundamental_type): Remove prototype.
(FT_VOID, FT_BOOLEAN, FT_CHAR, FT_SIGNED_CHAR, FT_UNSIGNED_CHAR,
FT_SHORT, FT_SIGNED_SHORT, FT_UNSIGNED_SHORT, FT_INTEGER,
FT_SIGNED_INTEGER, FT_UNSIGNED_INTEGER, FT_LONG, FT_SIGNED_LONG,
FT_UNSIGNED_LONG, FT_LONG_LONG, FT_SIGNED_LONG_LONG,
FT_UNSIGNED_LONG_LONG, FT_FLOAT, FT_DBL_PREC_FLOAT, FT_EXT_PREC_FLOAT,
FT_COMPLEX, FT_DBL_PREC_COMPLEX, FT_EXT_PREC_COMPLEX, FT_STRING,
FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL, FT_BYTE, FT_UNSIGNED_BYTE,
FT_TEMPLATE_ARG, FT_DECFLOAT, FT_DBL_PREC_DECFLOAT,
FT_EXT_PREC_DECFLOAT, FT_NUM_MEMBERS): Remove macros.
* objfiles.c (struct objfile): Remove fundamental_types member.
* symfile.c (reread_symbols): Do not clear fundamental_types.

* language.h (struct language_defn): Remove la_fund_type member.
(create_fundamental_type): Remove.
* language.c (unk_lang_create_fundamental_type): Remove.
(unknown_language_defn, auto_language_defn,
local_language_defn): Adapt initializer.
* ada-lang.c (ada_create_fundamental_type): Remove.
(ada_language_defn): Adapt initializer.
* c-lang.h (c_create_fundamental_type): Remove prototype.
* c-lang.c (c_create_fundamental_type): Remove.
(c_language_defn, cplus_language_defn, asm_language_defn,
minimal_language_defn): Adapt initializer.
* f-lang.c (f_create_fundamental_type): Remove.
(f_language_defn): Adapt initializer.
* jv-lang.c (java_create_fundamental_type): Remove.
(java_language_defn): Adapt initializer.
* m2-lang.c (m2_create_fundamental_type): Remove.
(m2_language_defn): Adapt initializer.
* objc-lang.c (objc_create_fundamental_type): Remove.
(objc_language_defn): Adapt initializer.
* p-lang.h (pascal_create_fundamental_type): Remove prototype.
* p-lang.c (pascal_create_fundamental_type): Remove.
(pascal_language_defn): Adapt initializer.
* scm-lang.c (scm_language_defn): Adapt initializer.

16 years agoPrint symbol table statistics with --stats.
iant [Tue, 4 Dec 2007 23:11:33 +0000 (23:11 +0000)]
Print symbol table statistics with --stats.

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

16 years ago2007-11-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
bje [Tue, 4 Dec 2007 22:54:32 +0000 (22:54 +0000)]
2007-11-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
and substitute $< for the source file in compilation command.
(decimal64.o): Likewise.
(decimal128.o): Likewise.
(bid2dpd_dpd2bid.o): Likewise.
(host-ieee32.o): Likewise.
(host-ieee64.o): Likewise.
(host-ieee128.o): Likewise.

16 years ago * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT
bwilson [Tue, 4 Dec 2007 22:41:58 +0000 (22:41 +0000)]
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT
entry for all dynamic objects.

16 years ago* features/mips-cpu.xml: Specify "regnum" for "r0" explicitly.
macro [Tue, 4 Dec 2007 15:41:42 +0000 (15:41 +0000)]
* features/mips-cpu.xml: Specify "regnum" for "r0" explicitly.
* features/mips64-cpu.xml: Likewise.
* features/mips-fpu.xml: Specify "regnum" for "f0" explicitly.
* features/mips64-fpu.xml: Likewise.
* features/mips-linux.c: Regenerate.
* features/mips64-linux.c: Regenerate.

16 years ago* target.h (target_find_new_threads): Fix definition.
macro [Tue, 4 Dec 2007 14:14:59 +0000 (14:14 +0000)]
* target.h (target_find_new_threads): Fix definition.

16 years ago * fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name
corinna [Tue, 4 Dec 2007 13:29:44 +0000 (13:29 +0000)]
* fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name
buffer size.
(fhandler_fifo::fstatvfs): Use same technique as in fhandler_socket.
* fhandler_proc.cc (format_proc_partitions): Use NAME_MAX+1 for
device name buffer size.  Use MAX_PATH for device path buffer size.

16 years ago * elf32-spu.c (spu_elf_size_stubs): Correct section alignment.
amodra [Tue, 4 Dec 2007 03:29:43 +0000 (03:29 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Correct section alignment.

16 years agoFrom Craig Silverstein: Use gold_fatal in options.h, beef up value checks.
iant [Tue, 4 Dec 2007 01:30:46 +0000 (01:30 +0000)]
From Craig Silverstein: Use gold_fatal in options.h, beef up value checks.

16 years ago2007-12-03 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 4 Dec 2007 00:35:54 +0000 (00:35 +0000)]
2007-12-03  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wingdi.h: Change WINVER guard to _WIN32_WINNT.

16 years ago2007-12-03 techrazy <techrazy@users.sourceforge.net>
ironhead [Tue, 4 Dec 2007 00:30:40 +0000 (00:30 +0000)]
2007-12-03  techrazy  <techrazy@users.sourceforge.net>

        * include/wingdi.h (NTM_NONNEGATIVE_AC, NTM_PS_OPENTYPE, NTM_TT_OPENTYPE,
        NTM_MULTIPLEMASTER, NTM_TYPE1, NTM_DSIG): define.

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

16 years ago * readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.
amodra [Mon, 3 Dec 2007 23:19:25 +0000 (23:19 +0000)]
* readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.

16 years ago * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
amodra [Mon, 3 Dec 2007 23:14:23 +0000 (23:14 +0000)]
* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
name and bracket.

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

16 years ago * autoload.cc (GetModuleFileNameExW): Replace definition of
corinna [Mon, 3 Dec 2007 14:13:01 +0000 (14:13 +0000)]
* autoload.cc (GetModuleFileNameExW): Replace definition of
GetModuleFileNameExA.
* fhandler_process.cc (format_process_maps): Change modname type to
WCHAR.  Set buffer sizes to PATH_MAX.  Call GetModuleFileNameExW
instead of GetModuleFileNameExA.  Call mount_info::conv_to_posix_path
instead of cygwin_conv_to_full_posix_path.  Set posix_modname to
modname if that call fails.
(format_process_stat): Set cmd buffer size to NAME_MAX + 1.  Simplify
setting cmd to process name.
(format_process_status): Ditto.
* path.cc (mount_info::conv_to_posix_path): Call sys_wcstombs
correctly.

16 years ago * include/cygwin/time.h: Remove redundant #endif.
corinna [Mon, 3 Dec 2007 11:34:58 +0000 (11:34 +0000)]
* include/cygwin/time.h: Remove redundant #endif.

16 years ago * win32-low.c (attaching): New global.
palves [Mon, 3 Dec 2007 01:42:06 +0000 (01:42 +0000)]
* win32-low.c (attaching): New global.
(win32_create_inferior): Clear the `attaching' global.
(win32_attach): Set the `attaching' global.
(get_child_debug_event) [_WIN32_WCE]: Stop the inferior when
attaching.  Only set a breakpoint at the entry point if not
attaching.

16 years ago * server.c (main): Don't report dll events on the initial
palves [Mon, 3 Dec 2007 01:38:09 +0000 (01:38 +0000)]
* server.c (main): Don't report dll events on the initial
connection on attaches.

16 years ago * server.c (main): Relax numerical bases supported for the pid of
palves [Mon, 3 Dec 2007 01:34:09 +0000 (01:34 +0000)]
* server.c (main): Relax numerical bases supported for the pid of
the --attach command line argument.

16 years ago * win32-low.c (win32_attach): Call OpenProcess before
palves [Mon, 3 Dec 2007 01:30:59 +0000 (01:30 +0000)]
* win32-low.c (win32_attach): Call OpenProcess before
DebugActiveProcess, not after.  Add last error output to error
call.

16 years ago * win32-low.c (win32_get_thread_context)
palves [Mon, 3 Dec 2007 01:27:19 +0000 (01:27 +0000)]
* win32-low.c (win32_get_thread_context)
(win32_set_thread_context): New functions.
(thread_rec): Use win32_get_thread_context.
(continue_one_thread, win32_resume): Use win32_set_thread_context.
* win32-low.h (win32_thread_info) [_WIN32_WCE]: Add `base_context'
field.

16 years ago * win32-low.c (soft_interrupt_requested, faked_breakpoint): New
palves [Mon, 3 Dec 2007 01:18:49 +0000 (01:18 +0000)]
* win32-low.c (soft_interrupt_requested, faked_breakpoint): New
global variables.
(child_add_thread): Minor cleanup.
(child_continue): Resume artificially suspended threads before
calling ContinueDebugEvent.
(suspend_one_thread): New.
(fake_breakpoint_event): New.
(get_child_debug_event): Change return type to int.  Check here if
gdb sent an interrupt request.  If a soft interrupt was requested,
fake a breakpoint event.  Return 0 if there is no event to handle,
and 1 otherwise.
(win32_wait): Don't check here if gdb sent an interrupt request.
Ensure there is a valid event to handle.
(win32_request_interrupt): Add soft interruption method as last
resort.

16 years ago * win32-low.h (win32_thread_info): Add descriptions to the
palves [Mon, 3 Dec 2007 01:10:30 +0000 (01:10 +0000)]
* win32-low.h (win32_thread_info): Add descriptions to the
structure members.  Replace `suspend_count' counter by a
`suspended' flag.
* win32-low.c (thread_rec): Update condition of when to get the
context from the inferior.  Rely on ContextFlags being set if it
has already been retrieved.  Only suspend the inferior thread if
we haven't already.  Warn if that fails.
(continue_one_thread): s/suspend_count/suspended/.  Only call
ResumeThread once.  Warn if that fails.

16 years ago*** empty log message ***
gdbadmin [Mon, 3 Dec 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * win32-low.c (win32_wait): Don't read from the inferior when it
palves [Sun, 2 Dec 2007 23:40:17 +0000 (23:40 +0000)]
* win32-low.c (win32_wait): Don't read from the inferior when it
has already exited.

16 years ago * Makefile.in (win32_low_h): New variable.
palves [Sun, 2 Dec 2007 23:33:26 +0000 (23:33 +0000)]
* Makefile.in (win32_low_h): New variable.
(win32-low.o): Add dependency on $(win32_low_h).
(win32-arm-low.o, win32-i386-low.o): New rules.

16 years agodaily update
amodra [Sun, 2 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Sun, 2 Dec 2007 21:32:43 +0000 (21:32 +0000)]
2007-12-02  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c (win32_resume): Set the trace bit
in the thread identified by inferior_ptid.

16 years ago*win32-nat.c (open_process_used): New static variable.
cgf [Sun, 2 Dec 2007 05:45:08 +0000 (05:45 +0000)]
*win32-nat.c (open_process_used): New static variable.
(win32_init_thread_list): Remove call to CloseHandle for thread.
(win32_delete_thread): Ditto.
(fake_create_process): Set open_process_used if OpenProcess call is successful.
(get_win32_debug_event): Do not close process handle.
(do_initial_win32_stuff): Set open_process_used to zero.
(win32_mourn_inferior): Call CloseHandle for current_process_handle if
open_process_used is set.
(win32_kill_inferior): Do not close process and main_thread handles.

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

16 years agodaily update
amodra [Sat, 1 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * include/cygwin/time.h (daylight): Declare as extern symbol referring
corinna [Sat, 1 Dec 2007 13:49:44 +0000 (13:49 +0000)]
* include/cygwin/time.h (daylight): Declare as extern symbol referring
_daylight variable.
(timezone): Only define if __timezonefunc__ is undefined.

16 years ago * cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.
hp [Sat, 1 Dec 2007 13:14:07 +0000 (13:14 +0000)]
* cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.

16 years ago * Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
corinna [Sat, 1 Dec 2007 13:04:43 +0000 (13:04 +0000)]
* Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
* include/cygwin/time.h: Drop conditional timezone definitions.
(timezone): Declare as extern symbol referring _timezone variable.

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 ***