OSDN Git Service

pf3gnuchains/sourceware.git
15 years ago * autoload.cc (GetSystemDEPPolicy): Define.
corinna [Wed, 12 Nov 2008 11:04:26 +0000 (11:04 +0000)]
* autoload.cc (GetSystemDEPPolicy): Define.
(GetProcessDEPPolicy): Ditto.
(SetProcessDEPPolicy): Ditto.
* dcrt0.cc (disable_dep): New static function.
(dll_crt0_0): Call disable_dep on platforms requiring it.  Add longish
comment to explain the circumstances.
* wincap.h (wincaps::ts_has_dep_problem): New element.
* wincap.cc: Implement above element throughout.
(wincapc::init): Set ts_has_dep_problem to true on 2008 Terminal
Servers.
* winsup.h (WINVER): Set to 0x0601.

15 years ago2008-11-12 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 12 Nov 2008 10:27:57 +0000 (10:27 +0000)]
2008-11-12  Tristan Gingold  <gingold@adacore.com>

* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.

15 years ago * config/tc-cris.c (cris_number_to_imm): Except for
hp [Wed, 12 Nov 2008 03:09:31 +0000 (03:09 +0000)]
* config/tc-cris.c (cris_number_to_imm): Except for
BFD_RELOC_NONE, always set contents.  Where previously this was
skipped, set contents to 0.

15 years ago PR gas/7025
hp [Wed, 12 Nov 2008 02:42:46 +0000 (02:42 +0000)]
PR gas/7025
* input-scrub.c (input_scrub_include_sb): Make the position
after the input have defined contents, a 0 character.

15 years ago * gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
hp [Wed, 12 Nov 2008 02:36:55 +0000 (02:36 +0000)]
* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
gas/cris/rd-bcnst2.s: New tests.

15 years ago * config/tc-cris.c (cris_relax_frag): Add missing case for
hp [Wed, 12 Nov 2008 02:35:28 +0000 (02:35 +0000)]
* config/tc-cris.c (cris_relax_frag): Add missing case for
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).

15 years ago PR gas/7020
hp [Wed, 12 Nov 2008 02:04:39 +0000 (02:04 +0000)]
PR gas/7020
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].

15 years ago * read.c (read_a_source_file): Rearrange evaluation order when
hp [Wed, 12 Nov 2008 01:41:11 +0000 (01:41 +0000)]
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].

15 years ago * infcall.c (call_function_by_hand): Handle inferior exit.
devans [Wed, 12 Nov 2008 00:39:27 +0000 (00:39 +0000)]
* infcall.c (call_function_by_hand): Handle inferior exit.

* gdb.base/callexit.exp: New file.
* gdb.base/callexit.c: New file.

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

15 years agodaily update
amodra [Tue, 11 Nov 2008 23:58:59 +0000 (23:58 +0000)]
daily update

15 years ago2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Tue, 11 Nov 2008 22:20:54 +0000 (22:20 +0000)]
2008-11-10  Joel Sherrill <joel.sherrill@oarcorp.com>

* erc32.c, exec.c: Fix warnings.

15 years ago * remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
bauermann [Tue, 11 Nov 2008 22:07:40 +0000 (22:07 +0000)]
* remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
missing struct target_ops argument.

15 years ago2008-11-11 Joel Sherrill <joel.sherrilL@oarcorp.com>
joel [Tue, 11 Nov 2008 22:05:44 +0000 (22:05 +0000)]
2008-11-11  Joel Sherrill <joel.sherrilL@oarcorp.com>

* MAINTAINERS: Add myself for write after approval privileges.

15 years ago * include/winbase.h (PROCESS_DEP_ENABLE,
corinna [Tue, 11 Nov 2008 14:44:53 +0000 (14:44 +0000)]
* include/winbase.h (PROCESS_DEP_ENABLE,
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION): Define for >= Vista SP1.
(enum _DEP_SYSTEM_POLICY_TYPE): Ditto.
(GetProcessDEPPolicy, GetSystemDEPPolicy, SetProcessDEPPolicy): Ditto.

15 years ago * mount.cc (mount_info::cygdrive_win32_path): Always upper case
corinna [Tue, 11 Nov 2008 11:45:04 +0000 (11:45 +0000)]
* mount.cc (mount_info::cygdrive_win32_path): Always upper case
DOS drive letter to accommodate case sensitivity.
(cygdrive_getmntent): Ditto.
* path.cc (path_conv::check): Invalidate wide_path after making path
relative.

15 years ago * cygwinenv.sgml: Add description for upcaseenv option.
corinna [Tue, 11 Nov 2008 10:51:45 +0000 (10:51 +0000)]
* cygwinenv.sgml: Add description for upcaseenv option.

15 years ago * environ.cc (create_upcaseenv): New static variable.
corinna [Tue, 11 Nov 2008 10:51:03 +0000 (10:51 +0000)]
* environ.cc (create_upcaseenv): New static variable.
(renv_arr): New static array to keep track of environment variables
which have to be always uppercased.
(idx_arr): Ditto.
(start_at): Ditto.
(ucreqenv): New function to uppercase only the environment variables
from renv_arr.
(parse_thing): Add "upcaseenv" setting.
(environ_init): Parse $CYGWIN before doing anything else.  Call
ucreqenv instead of ucenv if CYGWIN=noupcaseenv is set.

15 years ago * elf.c (assign_file_positions_for_non_load_sections): Consolidate
amodra [Tue, 11 Nov 2008 04:26:13 +0000 (04:26 +0000)]
* elf.c (assign_file_positions_for_non_load_sections): Consolidate
PT_GNU_RELRO handling.

15 years ago* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
cgf [Tue, 11 Nov 2008 03:51:55 +0000 (03:51 +0000)]
* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
path with a trailing '\'.

15 years ago * lib/gdb.exp (GDBFLAGS): Move -nx ...
devans [Tue, 11 Nov 2008 01:23:34 +0000 (01:23 +0000)]
* lib/gdb.exp (GDBFLAGS): Move -nx ...
(INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
(default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
(default_gdb_start,default_gdb_exit): Ditto.
* lib/mi-support.exp (default_mi_gdb_start): Ditto.
(mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
* gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
* gdb.base/dbx.exp (dbx_gdb_start): Ditto.
* gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
* gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.

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

15 years agodaily update
amodra [Mon, 10 Nov 2008 23:59:04 +0000 (23:59 +0000)]
daily update

15 years ago PR 7012
amodra [Mon, 10 Nov 2008 23:39:19 +0000 (23:39 +0000)]
PR 7012
* dwarf2.c (find_line): Don't keep stale pointers into realloc'd
memory.  Return on errors.  Fix memory leak.
(_bfd_dwarf2_cleanup_debug_info): Free dwarf_str_buffer.

15 years ago PR 7011
schwab [Mon, 10 Nov 2008 22:47:58 +0000 (22:47 +0000)]
PR 7011
* elf.c (assign_file_positions_for_non_load_sections): Handle
PT_GNU_RELRO specially.

15 years ago * gdbtypes.c (copy_type_recursive): Clear new fields.
tromey [Mon, 10 Nov 2008 20:53:43 +0000 (20:53 +0000)]
* gdbtypes.c (copy_type_recursive): Clear new fields.

15 years ago * cli/cli-cmds.c (source_script): Clean up full_pathname. Run
tromey [Mon, 10 Nov 2008 20:38:24 +0000 (20:38 +0000)]
* cli/cli-cmds.c (source_script): Clean up full_pathname.  Run
cleanups on early return.

15 years ago * objdump.c (disassemble_bytes): Don't skip leading zeros when
amodra [Mon, 10 Nov 2008 08:45:12 +0000 (08:45 +0000)]
* objdump.c (disassemble_bytes): Don't skip leading zeros when
end of section calculation overflows.

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

15 years agodaily update
amodra [Sun, 9 Nov 2008 23:59:09 +0000 (23:59 +0000)]
daily update

15 years ago Kill pthread_ops_hack
vprus [Sun, 9 Nov 2008 11:27:17 +0000 (11:27 +0000)]
Kill pthread_ops_hack

* target.h (struct target_ops): Make to_attach, to_detach,
to_create_inferior and to_mourn_inferior accept a pointer
     to struct target_ops.
(target_attach, target_create_inferior, target_create_inferior):
Convert from macros to function.  Find the right target to
invoke a method of.
(find_default_attach, find_default_create_inferior): New parameter
ops.
* corefile.c (core_file_command): Pass target to to_detach.
* corelow.c (core_detach): Add 'ops' parameter.
* fork-child.c (fork_inferior): Return the pid.  Allow
init_trace_fun to be NULL.
* inf-ptrace (ptrace_ops_hack): Remove.
(inf_ptrace_him): Remove, moving all logic into....
(inf_ptrace_create_inferior): ... here.  Push the target
passed as parameter.
(inf_ptrace_mourn_inferior, inf_ptrace_attach, inf_ptrace_detach):
Push/pop target passed as parameter, no ptrace_ops_hack.
(inf_ptrace_target): Don't remember result.
* inferior.h (fork_inferior): Adjust prototype.
* linux-nat.c (linux_nat_create_inferior, linux_nat_attach)
(linux_nat_detach, linux_nat_mourn_inferior): New parameter ops.
Pass it to linux_ops target.
* linux-thread-db.c (thread_db_detach, thread_db_mourn_inferior):
New parameter ops. Pass it to the target beneath.
* remote.c (remote_mourn, extended_remote_mourn, remote_detach)
(extended_remote_create_inferior): New parameter ops. Pass it
further.
* target.c (debug_to_attach, debug_to_detach)
(debug_to_mourn_inferior): New parameter ops.
(target_create_inferior): New.
(update_current_target): Do not inherit to_attach, to_detach,
to_create_inferiour, to_mourn_inferior.  Do not default
to_detach and to_mourn_inferior.
(target_detach): Find the right target to use.
(target_mourn_inferior): New.
(find_default_attach, find_default_create_inferior): New parameter
ops.  Pass the found target when calling its method.
(init_dummy_target): Provide fallback definition of to_detach.
(target_attach): New.
(debug_to_attach, debug_to_detach, debug_to_create_inferior)
(debug_to_mourn_inferiour): New parameter ops.
        * aix-thread.c: Adjust.
        * bsd-uthread.c: Adjust.
        * gnu-nat.c: Adjust.
        * go32-nat.c: Adjust.
        * hpux-thread.c: Adjust.
        * inf-ttrace.c: Ajust.
        * monitor.c: Adjust.
        * nto-procfs.c: Adjust.
        * procfs.c: Adjust.
        * remote-m32r-sdi.c: Adjust.
        * remote-mips.c: Adjust.
        * remote-sim.c: Adjust.
        * rs6000-nat.c: Adjust.
        * sol-thread.c: Adjust.
        * win32-nat.c: Adjust.
* dec-thread.c: Adjust.

15 years ago * thread.c (print_thread_info): Eliminate now useless checks
vprus [Sun, 9 Nov 2008 07:54:27 +0000 (07:54 +0000)]
* thread.c (print_thread_info): Eliminate now useless checks
for exited threads.

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

15 years agodaily update
amodra [Sat, 8 Nov 2008 23:59:14 +0000 (23:59 +0000)]
daily update

15 years ago(coff_symtab_read): Fix a typo in a comment.
eliz [Sat, 8 Nov 2008 09:38:06 +0000 (09:38 +0000)]
(coff_symtab_read): Fix a typo in a comment.

15 years ago*** empty log message ***
gdbadmin [Sat, 8 Nov 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 7 Nov 2008 23:59:19 +0000 (23:59 +0000)]
daily update

15 years ago2008-11-07 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 7 Nov 2008 21:35:44 +0000 (21:35 +0000)]
2008-11-07  Frank Ch. Eigler  <fche@redhat.com>

* (*): Change some "char *" -> "const char *" declarations for
warning suppression on gcc 4.3.

15 years agofix typo in date
devans [Fri, 7 Nov 2008 21:05:27 +0000 (21:05 +0000)]
fix typo in date

15 years ago* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
cgf [Fri, 7 Nov 2008 18:32:41 +0000 (18:32 +0000)]
* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
recursion_counter is already 0.
(pthread_mutex::_destroy): Don't consider a mutex busy if its recursion_counter
== 0.
(pthread_mutex::_fixup_after_fork): Set recursion_counter to 0 to flag that
we've just forked.  Don't reset the owner of this mutex since the forkee may
think it still owns the mutex.  Reinstate initialization of win32_obj_id.
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Initialize a variable to
bypass a C++ warning.

15 years ago * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
nickc [Fri, 7 Nov 2008 14:27:05 +0000 (14:27 +0000)]
    * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.

15 years ago*** empty log message ***
gdbadmin [Fri, 7 Nov 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Thu, 6 Nov 2008 23:59:25 +0000 (23:59 +0000)]
daily update

15 years ago * config/tc-mips.c (COP_INSN): Change logic to always return false
nemet [Thu, 6 Nov 2008 19:49:25 +0000 (19:49 +0000)]
* config/tc-mips.c (COP_INSN): Change logic to always return false
for FP instructions.

testsuite/
* gas/mips/mips1-fp.s, testsuite/gas/mips/mips1-fp.d,
testsuite/gas/mips/mips1-fp.l: New tests.
* gas/mips/mips.exp: Run them.

15 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
chaoyingfu [Thu, 6 Nov 2008 19:43:00 +0000 (19:43 +0000)]
2008-11-06  Chao-ying Fu  <fu@mips.com>

* gas/mips/mips32-sync.d, gas/mip/mips32-sync.s: New tests.
* gas/mips/mips.exp: Run them.

15 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
chaoyingfu [Thu, 6 Nov 2008 19:40:10 +0000 (19:40 +0000)]
2008-11-06  Chao-ying Fu  <fu@mips.com>

* mips-opc.c (synciobdma, syncs, syncw, syncws): Move these
before sync.
(sync): New instruction with 5-bit sync type.
* mips-dis.c (print_insn_args: Add case '1' to print 5-bit values.

15 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
chaoyingfu [Thu, 6 Nov 2008 19:36:38 +0000 (19:36 +0000)]
2008-11-06  Chao-ying Fu  <fu@mips.com>

* config/tc-mips.c (validate_mips_insn): Add case '1'.
(mips_ip): Add case '1' to process sync type.

15 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
chaoyingfu [Thu, 6 Nov 2008 19:32:42 +0000 (19:32 +0000)]
2008-11-06  Chao-ying Fu  <fu@mips.com>

* mips.h: Doucument '1' for 5-bit sync type.

15 years ago * i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
palves [Thu, 6 Nov 2008 16:44:39 +0000 (16:44 +0000)]
* i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
to 0.

15 years agoAdd m32c-*-rtems* and m32r-*-rtems* configuration targets.
nickc [Thu, 6 Nov 2008 15:36:37 +0000 (15:36 +0000)]
Add m32c-*-rtems* and m32r-*-rtems* configuration targets.

15 years ago * configure, config.in: Rebuild.
tromey [Thu, 6 Nov 2008 14:10:45 +0000 (14:10 +0000)]
* configure, config.in: Rebuild.
* configure.in: Check for fileno.
* bfdio.c (close_on_exec): New function.
(real_fopen): Use it.
(FD_CLOEXEC): New define.

15 years agoRemove extra blank line.
gingold [Thu, 6 Nov 2008 13:10:15 +0000 (13:10 +0000)]
Remove extra blank line.

15 years ago2008-11-06 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 6 Nov 2008 13:03:43 +0000 (13:03 +0000)]
2008-11-06  Tristan Gingold  <gingold@adacore.com>

* mach-o.h (BFD_MACH_O_NO_SECT): Add; reorders the macros.
(BFD_MACH_O_SYM_NTYPE, BFD_MACH_O_SYM_NSECT,
BFD_MACH_O_SYM_NDESC): New macros.
(bfd_mach_o_i386_thread_flavour): Define according to the latest
definition from system header.
(bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_RPATH,
BFD_MACH_O_LC_CODE_SIGNATURE.
(BFD_MACH_O_SECTION_TYPE_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_MASK,
BFD_MACH_O_SECTION_ATTRIBUTES_SYS, BFD_MACH_O_SECTION_ATTRIBUTES_USR,
BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC,
BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG,
BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): Add.
(bfd_mach_o_segment_command): Add room for a nul terminator in
segname field.
(BFD_MACH_O_PROT_READ, BFD_MACH_O_PROT_WRITE,
BFD_MACH_O_PROT_EXECUTE): Add.
(INDIRECT_SYMBOL_LOCAL): Renames to BFD_MACH_O_INDIRECT_SYMBOL_LOCAL.
(INDIRECT_SYMBOL_ABS): Renames to BFD_MACH_O_INDIRECT_SYMBOL_ABS.
(bfd_mach_o_uuid_command): Add the structure.
(bfd_mach_o_load_command): Add uuid field.
(bfd_get_mach_o_data): New macro.
* mach-o.c (bfd_mach_o_bfd_print_private_bfd_data): New function which
replaces the macro.
(SECTION_TYPE, SECTION_ATTRIBUTES, SECTION_ATTRIBUTES_USR,
S_ATTR_PURE_INSTRUCTIONS, SECTION_ATTRIBUTES_SYS,
S_ATTR_SOME_INSTRUCTIONS, S_ATTR_EXT_RELOC, S_ATTR_LOC_RELOC): Renamed
and moved to mach-o.h.
(N_STAB, N_TYPE, N_EXT, N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS,
N_SECT, N_INDR): Removed as they duplicated macros in mach-o.h.
(bfd_mach_o_print_symbol): Print much more details.
(bfd_mach_o_make_bfd_section): Add prot argument, use canonical
dwarf name for dwarf sections.  Precisely set section flags.
(bfd_mach_o_scan_read_section_32): Add prot argument.
(bfd_mach_o_scan_read_section_64): Ditto.
(bfd_mach_o_scan_read_section): Ditto.
(bfd_mach_o_scan_read_symtab_symbol): Set section for debugging
stabs, set BSF_GLOBAL and LOCAL flags correctly.  Fix section
for N_SECT symbols.
(bfd_mach_o_i386_flavour_string): Reindent and adjust for new
names.
(bfd_mach_o_scan_read_symtab): Set HAS_SYMS flags on bfd if there
are symbols.
(bfd_mach_o_scan_read_uuid): New function.
(bfd_mach_o_scan_read_segment): Add a trailing nul.  Segments
flags are now simply HAS_CONTENTS.  Pass protection to
bfd_mach_o_scan_read_section.
(bfd_mach_o_scan_read_command): Decode UUID command.
(bfd_mach_o_flatten_sections): Add comments.  Fix flavour names.
(bfd_mach_o_scan): Set flags according to file type.
(mach_o_fat_archentry): Remove abfd field.
(bfd_mach_o_archive_p): Remove initialization of abfd field.
(bfd_mach_o_openr_next_archived_file): Find previous archive
by position and not by bfd (as former bfds may have been freed).
Give architecture name to archived file.
* mach-o-target.c (TARGET_NAME): Use generic archive for non fat
targets.

15 years ago * avr-dis.c: Replace uses of sprintf without a format string with
nickc [Thu, 6 Nov 2008 12:03:24 +0000 (12:03 +0000)]
    * avr-dis.c: Replace uses of sprintf without a format string with
        calls to strcpy.

15 years ago * options.cc (General_options::parse_dynamic_list): New function.
csilvers [Thu, 6 Nov 2008 07:23:31 +0000 (07:23 +0000)]
* options.cc (General_options::parse_dynamic_list): New function.
* options.h (General_options): New flags dynamic_list,
dynamic_list_data, dynamic_list_cpp_new, and
dynamic_list_cpp_typeinfo.  New variable dynamic_list_.
(General_options::in_dynamic_list): New function.
* script.cc (Lex::Mode): New enum DYNAMIC_LIST.
(Lex::can_start_name): Add support for DYNAMIC_LIST mode.
(Lex::can_continue_name): Likewise.
(yylex): Likewise.
(read_script_file): New parameter script_options.
(read_dynamic_list): New function.
(Script_options::define_dynamic_list): New function.
(dynamic_list_keyword_parsecodes): New variable.
(dynamic_list_keywords): New variable.
* script.h (Script_options::define_dynamic_list): New function
prototype.
(read_dynamic_list): New function prototype.
* symtab.cc (strprefix): New macro.
(Symbol::should_add_dynsym_entry): Support dynamic_list,
dynamic_list_data, dynamic_list_cpp_new, and
dynamic_list_cpp_typeinfo.
* yyscript.y (PARSING_DYNAMIC_LIST): New token.
(dynamic_list_expr): New rule.
(dynamic_list_nodes): Likewise.
(dynamic_list_node): Likewise.
* testsuite/Makefile.am (dynamic_list): New test.
* testsuite/Makefile.in: Regenerated.
* testsuite/dynamic_list.t: New file.
* testsuite/dynamic_list.sh: New file.

15 years ago * testsuite/tls_test_c.c: Add prototype for t11 and t11_last.
csilvers [Thu, 6 Nov 2008 00:44:32 +0000 (00:44 +0000)]
* testsuite/tls_test_c.c: Add prototype for t11 and t11_last.
* testsuite/tls_test_c.c (t11): Add explicit "void" to prototype.
(t11_last): Likewise.
* testsuite/ver_test_6.c (main): Likewise.

15 years ago*** empty log message ***
gdbadmin [Thu, 6 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Wed, 5 Nov 2008 23:59:29 +0000 (23:59 +0000)]
daily update

15 years ago * remote.c (notice_new_inferiors): Add a new inferior only when
palves [Wed, 5 Nov 2008 21:19:44 +0000 (21:19 +0000)]
* remote.c (notice_new_inferiors): Add a new inferior only when
we're going to add a new thread.

15 years ago * defs.h (add_inferior_continuation)
palves [Wed, 5 Nov 2008 20:23:06 +0000 (20:23 +0000)]
* defs.h (add_inferior_continuation)
(do_all_inferior_continuations)
(discard_all_inferior_continuations): Declare.
* utils.c (add_inferior_continuation)
(do_all_inferior_continuations)
(discard_all_inferior_continuations): New.
* inferior.h (struct inferior) <continuations>: New field.
* inferior.c (free_inferior): Discard all the inferior
continuations.
* inf-loop.c (inferior_event_handler): Do all current inferior
continuations.
* infcmd.c (attach_command): Register an inferior continuation
instead of a thread continuation.
* infrun.c (handle_inferior_event): If stop_soon is
STOP_QUIETLY_NO_SIGSTOP, also expect a TARGET_SIGNAL_0.

15 years ago * environ.cc (environ_init): Avoid evaluating $CYGWIN twice.
corinna [Wed, 5 Nov 2008 11:57:43 +0000 (11:57 +0000)]
* environ.cc (environ_init): Avoid evaluating $CYGWIN twice.

15 years ago2008-11-04 Sterling Augustine <sterling@tensilica.com>
bwilson [Wed, 5 Nov 2008 00:45:04 +0000 (00:45 +0000)]
2008-11-04  Sterling Augustine  <sterling@tensilica.com>
* config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
writes to the same register.

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

15 years agodaily update
amodra [Tue, 4 Nov 2008 23:59:35 +0000 (23:59 +0000)]
daily update

15 years ago2008-11-04 Sterling Augustine <sterling@tensilica.com>
bwilson [Tue, 4 Nov 2008 23:11:02 +0000 (23:11 +0000)]
2008-11-04  Sterling Augustine  <sterling@tensilica.com>
* config/tc-xtensa.c (xtensa_j_opcode): New.
(xg_instruction_matches_option_term): Handle "FREEREG" option.
(xg_build_to_insn): Likewise.  Update renamed tls_reloc reference.
(md_begin): Initialize xtensa_j_opcode.
(md_assemble): Update renamed tls_reloc reference.  Handle "j.l".
(xg_assemble_vliw_tokens): Save free_reg info in the frag.
(tinsn_immed_from_frag): Get free_reg info back out of the frag.
(vinsn_to_insnbuf): Update renamed tls_reloc references.
Distinguish extra argument for "FREEREG" from extra TLS argument.
* config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
* config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
field to extra_arg.
* config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
(build_transition): Handle "FREEREG" operand.
* config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
2008-11-04  Bob Wilson  <bob.wilson@acm.org>
* gas/xtensa/all.exp: Run jlong test.
* gas/xtensa/jlong.d: New.
* gas/xtensa/jlong.s: New.

15 years ago * inf-loop.c (inferior_event_handler): On INF_ERROR and
palves [Tue, 4 Nov 2008 20:52:22 +0000 (20:52 +0000)]
* inf-loop.c (inferior_event_handler): On INF_ERROR and
INF_REG_EVENT throwing, don't call target_async or pop_target.
Call pop_all_targets_above.
* remote.c (remote_close): Call remote_terminal_ours.  Don't call
signal or target_async.

15 years ago * eval.c (evaluate_subexp_standard): Assert that there is at
drow [Tue, 4 Nov 2008 15:32:53 +0000 (15:32 +0000)]
* eval.c (evaluate_subexp_standard): Assert that there is at
least one array dimension.

15 years ago*** empty log message ***
gdbadmin [Tue, 4 Nov 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Mon, 3 Nov 2008 23:59:44 +0000 (23:59 +0000)]
daily update

15 years ago Make attach_command exception-safe
vprus [Mon, 3 Nov 2008 21:07:27 +0000 (21:07 +0000)]
    Make attach_command exception-safe
        * infcmd.c (attach_command): Call async_enable_stdin
        if exception is thrown.

15 years agogas/testsuite/
hjl [Mon, 3 Nov 2008 19:38:09 +0000 (19:38 +0000)]
gas/testsuite/

2008-11-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.s: Add tests for cmovpe and cmovpo.
* gas/i386/opcode.s: Likewise.

* gas/i386/intel.d: Updated.
* gas/i386/opcode.d: Likewise.
* gas/i386/opcode-intel.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.

opcodes/

2008-11-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add cmovpe and cmovpo.
* i386-tbl.h: Regenerated.

15 years ago* gdb.base/hashline2.exp: Fix typo.
schwab [Mon, 3 Nov 2008 19:36:39 +0000 (19:36 +0000)]
* gdb.base/hashline2.exp: Fix typo.
* gdb.base/hashline3.exp: Likewise.

15 years agoFix my email in last entry.
bwilson [Mon, 3 Nov 2008 18:55:27 +0000 (18:55 +0000)]
Fix my email in last entry.

15 years ago * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set.
bwilson [Mon, 3 Nov 2008 18:52:52 +0000 (18:52 +0000)]
* emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set.
* scripttempl/elfxtensa.sc (NO_REL_RELOCS, NO_RELA_RELOCS)
(NON_ALLOC_DYN): Import changes from elf.sc.

15 years ago * gdbarch.sh (has_global_solist): Mention global breakpoints.
palves [Mon, 3 Nov 2008 16:11:44 +0000 (16:11 +0000)]
* gdbarch.sh (has_global_solist): Mention global breakpoints.
* gdbarch.h: Regenerate.

15 years ago * remote.c (remote_start_remote): If the solib list is global,
palves [Mon, 3 Nov 2008 14:01:25 +0000 (14:01 +0000)]
* remote.c (remote_start_remote): If the solib list is global,
fetch libraries and insert breakpoints after connecting.
* infcmd.c (post_create_inferior): If the solist is shared between
inferiors, no need to refetch it on every new inferior.
(detach_command): If the shared library list is shared between
inferiors, then don't clear it on every inferior detach.
* gdbarch.sh (has_global_solist): New.
* i386-dicos-tdep.c (i386_dicos_init_abi): Set
gdbarch_has_global_solist.
* target.c (target_pre_inferior): If the shared library list is
shared between inferiors, then don't clear it here, neither
invalidate the memory regions or clear the target description.
(target_detach): If the shared library list is shared between
inferiors, then don't remove breakpoints from the target here.
(target_disconnect): Comment.
* solib.c (update_solib_list): Check for null_ptid.
* breakpoint.c (insert_breakpoints, update_global_location_list):
If the shared library list is shared between inferiors, insert
breakpoints even if there's no execution.
(breakpoint_init_inferior): If the shared library list is shared
between inferiors, don't delete breakpoints or mark them
uninserted here.

* gdbarch.c, gdbarch.h: Regenerate.

15 years ago*** empty log message ***
gdbadmin [Mon, 3 Nov 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 2 Nov 2008 23:59:45 +0000 (23:59 +0000)]
daily update

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

15 years agodaily update
amodra [Sat, 1 Nov 2008 23:59:50 +0000 (23:59 +0000)]
daily update

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

15 years agodaily update
amodra [Fri, 31 Oct 2008 23:59:55 +0000 (23:59 +0000)]
daily update

15 years ago2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 31 Oct 2008 21:08:02 +0000 (21:08 +0000)]
2008-10-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
        libhover docs generate properly.
        * libc/stdio/dprintf.c: Ditto.
        * libc/stdio/fflush.c: Ditto.
        * libc/stdio/fopencookie.c: Ditto.
        * libc/stdio/fread.c: Ditto.
        * libc/stdio/fsetpos.c: Ditto.
        * libc/stdio/getc_u.c: Ditto.
        * libc/stdio/getchar_u.c: Ditto.
        * libc/stdio/putc_u.c: Ditto.
        * libc/stdio/putchar_u.c: Ditto.
        * libc/stdio/remove.c: Ditto.
        * libc/stdio/siprintf.c: Ditto.
        * libc/stdio/siscanf.c: Ditto.
        * libc/stdio/sprintf.c: Ditto.
        * libc/stdio/sscanf.c: Ditto.
        * libc/stdio/vfprintf.c: Ditto.
        * libc/stdio/vfscanf.c: Ditto.
        * libc/stdio/viprintf.c: Ditto.
        * libc/stdio/viscanf.c: Ditto.
        * libc/stdlib/calloc.c: Ditto.
        * libc/stdlib/efgcvt.c: Ditto.
        * libc/stdlib/envlock.c: Ditto.
        * libc/time/asctime.c: Ditto.
        * libc/time/ctime.c: Ditto.
        * libc/time/gmtime.c: Ditto.
        * libc/time/lcltime.c: Ditto.
        * libc/time/tzset.c: Ditto.
        * libc/stdlib/envlock.h: Moved to libc/include.

15 years ago2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 31 Oct 2008 21:03:40 +0000 (21:03 +0000)]
2008-10-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
        * libc/include/envlock.h: New file.
        * libc/include/fnmatch.h: Ditto.
        * libc/include/glob.h: Ditto.
        * libc/include/regex.h: Ditto.
        * libc/include/wordexp.h: Ditto.
        * libc/posix/Makefile.am: Add new files moved from
        libc/sys/linux/stdlib.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
        * libc/posix/cclass.h: Ditto.
        * libc/posix/cname.h: Ditto.
        * libc/posix/collate.c: Ditto.
        * libc/posix/collate.h: Ditto.
        * libc/posix/collcmp.c: Ditto.
        * libc/posix/engine.c: Ditto.
        * libc/posix/fnmatch.3: Ditto.
        * libc/posix/glob.3: Ditto.
        * libc/posix/fnmatch.c: Ditto.
        * libc/posix/glob.c: Ditto.
        * libc/posix/namespace.h: Ditto.
        * libc/posix/reallocf.c: Ditto.
        * libc/posix/regcomp.c: Ditto.
        * libc/posix/regerror.c: Ditto.
        * libc/posix/regex.3: Ditto.
        * libc/posix/regex2.h: Ditto.
        * libc/posix/regexec.c: Ditto.
        * libc/posix/regfree.c: Ditto.
        * libc/posix/rune.h: Ditto.
        * libc/posix/runetype.h: Ditto.
        * libc/posix/scandir.c: Remove advertising clause which is not in
        effect.
        * libc/posix/sysexits.h: Ditto.
        * libc/posix/un-namespace.h: Ditto.
        * libc/posix/utils.h: Ditto.
        * libc/posix/wordexp.c: Ditto.
        * libc/posix/wordfree.c: Ditto.
        * libc/posix/execl.c: Add !_NO_EXECVE flag check.
        * libc/posix/execle.c: Ditto.
        * libc/posix/execlp.c: Ditto.
        * libc/posix/execv.c: Ditto.
        * libc/posix/execve.c: Ditto.
        * libc/posix/execvp.c: Ditto.
        * libc/posix/popen.c: Add !_NO_POPEN flag check.
        * libc/sys/linux/configure: Regenerated.
        * libc/sys/linux/configure.in: Remove stdlib.
        * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
        * libc/sys/linux/stdlib/Makefile.am: Removed.
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
        * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
        * libc/sys/linux/stdlib/cclass.h: Ditto.
        * libc/sys/linux/stdlib/cname.h: Ditto.
        * libc/sys/linux/stdlib/collate.c: Ditto.
        * libc/sys/linux/stdlib/collate.h: Ditto.
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
        * libc/sys/linux/stdlib/engine.c: Ditto.
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
        * libc/sys/linux/stdlib/glob.3: Ditto.
        * libc/sys/linux/stdlib/glob.c: Ditto.
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
        * libc/sys/linux/stdlib/regerror.c: Ditto.
        * libc/sys/linux/stdlib/regex.3: Ditto.
        * libc/sys/linux/stdlib/regex2.h: Ditto.
        * libc/sys/linux/stdlib/regexec.c: Ditto.
        * libc/sys/linux/stdlib/regfree.c: Ditto.
        * libc/sys/linux/stdlib/utils.h: Ditto.
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
        * libc/sys/linux/stdlib/wordfree.c: Ditto.

15 years agoFix ChangeLog dates
tromey [Fri, 31 Oct 2008 20:21:13 +0000 (20:21 +0000)]
Fix ChangeLog dates

15 years ago * inferior.h (inferior_ignoring_leading_exec_events): Delete
palves [Fri, 31 Oct 2008 20:02:04 +0000 (20:02 +0000)]
* inferior.h (inferior_ignoring_leading_exec_events): Delete
declaration.

15 years ago * inferior.h (write_inferior_status_register): Delete.
palves [Fri, 31 Oct 2008 19:41:36 +0000 (19:41 +0000)]
* inferior.h (write_inferior_status_register): Delete.
* infrun.c (write_inferior_status_register): Delete.

15 years ago * configure.in (ALL_LINGUAS): Add id.
amodra [Fri, 31 Oct 2008 02:52:14 +0000 (02:52 +0000)]
* configure.in (ALL_LINGUAS): Add id.
* configure: Regenerate.

15 years agoUpdate.
amodra [Fri, 31 Oct 2008 02:35:46 +0000 (02:35 +0000)]
Update.

15 years agonew file
amodra [Fri, 31 Oct 2008 02:16:47 +0000 (02:16 +0000)]
new file

15 years ago*** empty log message ***
gdbadmin [Fri, 31 Oct 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 31 Oct 2008 00:00:01 +0000 (00:00 +0000)]
daily update

15 years agogdb
tromey [Thu, 30 Oct 2008 21:44:14 +0000 (21:44 +0000)]
gdb
* value.c (coerce_array): Use check_typedef.
gdb/testsuite
* gdb.base/pointers.exp: Add test.
* gdb.base/pointers.c (k, S): New typedefs.
(instance): New global.

15 years ago * cli/cli-logging.c (handle_redirections): Make a cleanup.
tromey [Thu, 30 Oct 2008 20:35:29 +0000 (20:35 +0000)]
* cli/cli-logging.c (handle_redirections): Make a cleanup.
* reggroups.c (maintenance_print_reggroups): Make a cleanup.
* regcache.c (regcache_print): Make a cleanup.
* maint.c (maintenance_print_architecture): Make a cleanup.
* dummy-frame.c (maintenance_print_dummy_frames): Make a cleanup.

15 years ago * utils.c (make_cleanup_close): Use make_cleanup_dtor.
tromey [Thu, 30 Oct 2008 20:33:50 +0000 (20:33 +0000)]
* utils.c (make_cleanup_close): Use make_cleanup_dtor.
(do_close_cleanup): Don't free 'fd'.

15 years ago * source.c (symtab_to_fullname): Test 'r >= 0'.
tromey [Thu, 30 Oct 2008 18:42:27 +0000 (18:42 +0000)]
* source.c (symtab_to_fullname): Test 'r >= 0'.
(psymtab_to_fullname): Likewise.
(get_filename_and_charpos): Make a cleanup.
(forward_search_command): Likewise.
(reverse_search_command): Likewise.
* exec.c (exec_file_attach): Close scratch_chan on failure.
* nto-procfs.c (procfs_open): Make a cleanup.
(procfs_pidlist): Likewise.
(do_closedir_cleanup): New function.

15 years ago* Makefile.in: Use -static-libgcc when creating cygserver.exe.
cgf [Thu, 30 Oct 2008 13:17:42 +0000 (13:17 +0000)]
* Makefile.in: Use -static-libgcc when creating cygserver.exe.

15 years ago * infcmd.c (construct_inferior_arguments): Handle newlines
schwab [Thu, 30 Oct 2008 10:07:14 +0000 (10:07 +0000)]
* infcmd.c (construct_inferior_arguments): Handle newlines
specially.

testsuite/:
* gdb.base/args.exp: Add tests for newlines.

15 years ago * cache.c (cache_bread): Cast void * pointer before performing
nickc [Thu, 30 Oct 2008 09:05:31 +0000 (09:05 +0000)]
 * cache.c (cache_bread): Cast void * pointer before performing
 arithmetic on it.

15 years ago gdb.base/foll-exec.exp: Update the expected output of a couple
brobecke [Thu, 30 Oct 2008 05:17:58 +0000 (05:17 +0000)]
    gdb.base/foll-exec.exp: Update the expected output of a couple
        of "info breakpoints" tests.