OSDN Git Service
nickrob [Mon, 4 Dec 2006 03:53:19 +0000 (03:53 +0000)]
(GDB/MI Variable Objects): Describe -c option
of -var-delete.
nickrob [Mon, 4 Dec 2006 03:51:39 +0000 (03:51 +0000)]
*** empty log message ***
gdbadmin [Mon, 4 Dec 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 3 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 3 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 2 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update
hjl [Sat, 2 Dec 2006 16:24:37 +0000 (16:24 +0000)]
Really check in the patch.
jakub [Sat, 2 Dec 2006 08:20:59 +0000 (08:20 +0000)]
PR gas/3607
* subsegs.c (subseg_set_rest): Clear frch_cfi_data field.
gdbadmin [Sat, 2 Dec 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 1 Dec 2006 23:00:09 +0000 (23:00 +0000)]
daily update
corinna [Fri, 1 Dec 2006 20:35:55 +0000 (20:35 +0000)]
* win/tclWin32Dll.c (TclWinInit): Set native cwd to Cygwin's cwd.
* win/tclWinFile.c (TclpObjChdir): Keep native and Cygwin's cwd
synched.
drow [Fri, 1 Dec 2006 18:14:29 +0000 (18:14 +0000)]
gdb/
* elfread.c (elf_symtab_read): Treat weak functions as global.
gdb/testsuite/
* gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
gdb.base/weaklib2.c: New files.
jjohnstn [Fri, 1 Dec 2006 17:18:36 +0000 (17:18 +0000)]
2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
* libc/machine/spu/strchr.c: Fix mask for misaligned string.
* libc/machine/spu/strrchr.c: Ditto.
iant [Fri, 1 Dec 2006 16:58:12 +0000 (16:58 +0000)]
gcc 3.2.2 portability hacks.
iant [Fri, 1 Dec 2006 16:51:25 +0000 (16:51 +0000)]
Can now dynamically link hello, world.
jbeulich [Fri, 1 Dec 2006 16:49:21 +0000 (16:49 +0000)]
gas/testsuite/
2006-12-01 Jan Beulich <jbeulich@novell.com>
* gas/i386/opcode.d: Adjust name.
* gas/i386/opcode-intel.d: New.
* gas/i386/opcode-suffix.d: New.
* gas/i386/i386.exp: Run new tests.
pbrook [Fri, 1 Dec 2006 16:42:25 +0000 (16:42 +0000)]
2006-12-01 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (arm_force_relocation): Return 1 for relocs against
function symbols.
gas/testsuite/
* gas/arm/thumbrel.s: New test.
* gas/arm/thumbrel.d: New test.
hjl [Fri, 1 Dec 2006 15:55:29 +0000 (15:55 +0000)]
2006-12-01 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3609
* elf.c (rewrite_elf_program_header): Preserve segment physical
address in the output segment if the first section in the
corresponding input segment is null.
jbeulich [Fri, 1 Dec 2006 15:17:32 +0000 (15:17 +0000)]
opcodes/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (SEG_Fixup): Delete.
(Sv): Use OP_SEG.
(putop): New suffix character 'D'.
(dis386): Use it.
(grps): Likewise.
(OP_SEG): Handle bytemode other than w_mode.
gas/testsuite/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.d: Adjust.
* gas/i386/naked.d: Adjust.
* gas/i386/opcode.d: Adjust.
jbeulich [Fri, 1 Dec 2006 15:00:11 +0000 (15:00 +0000)]
opcodes/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (zAX): New.
(Xz): New.
(Yzr): New.
(z_mode): New.
(z_mode_ax_reg): New.
(putop): New suffix character 'G'.
(dis386): Use it for in, out, ins, and outs.
(intel_operand_size): Handle z_mode.
(OP_REG): Delete unreachable case indir_dx_reg.
(OP_IMREG): Fix Intel syntax output for case indir_dx_reg. Handle
z_mode_ax_reg.
(OP_ESreg): Fix Intel syntax operand size handling.
(OP_DSreg): Likewise.
gas/testsuite/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-io.[sd]: New.
* gas/i386/x86-64-io-intel.d: New.
* gas/i386/x86-64-io-suffix.d: New.
* gas/i386/i386.exp: Run new tests.
jbeulich [Fri, 1 Dec 2006 14:56:11 +0000 (14:56 +0000)]
opcodes/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (dis386): Use 'R' and 'O' for cbw/cwd unconditionally.
(putop): For 'O' suffix, print 'q' in Intel mode, and mark data prefix
used. For 'R' and 'W' suffix, simplify and fix Intel mode.
gas/testsuite/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.s: Use Intel syntax in Intel syntax test.
* gas/i386/x86-64-cbw.[sd]: New.
* gas/i386/x86-64-cbw-intel.d: New.
* gas/i386/i386.exp: Run new tests.
nickc [Fri, 1 Dec 2006 12:28:17 +0000 (12:28 +0000)]
PR 3609
* elf.c (rewrite_elf_program_header): Do not use the first_section pointer if it is null.
cgf [Fri, 1 Dec 2006 03:49:25 +0000 (03:49 +0000)]
fix typo
cgf [Fri, 1 Dec 2006 03:49:09 +0000 (03:49 +0000)]
* tk/win/tcl.m4 (LIB_AC_PROG_CC): Upgrade to avoid use of obsolete ac_cv_cygwin
variable.
* tk/win/configure: Regenerate.
cgf [Fri, 1 Dec 2006 03:41:02 +0000 (03:41 +0000)]
* cygwin/configure.in (LIB_AC_PROG_CC): Upgrade macro to accommodate newer
version of autoconf.
* cygwin/configure: Regenerate.
* win/tcl.m4: Upgrade to avoid use of absolete ac_cv_cygwin variable.
* win/configure: Regenerate.
kseitz [Fri, 1 Dec 2006 03:34:39 +0000 (03:34 +0000)]
insight/293:
* library/watch.tcl (no_inferior): Remove all varobjs and
clear the display.
(clear_file): Call no_inferior. Update comments.
* library/locals.tcl: Remove unused variables "Running"
and "Variables". Changed throughout.
(no_inferior): Delete the current frame and clear the display.
(clear_file): Call no_inferior. Update comments.
(context_switch): To delete an Itcl object, one uses
"delete object" not "destroy".
kseitz [Fri, 1 Dec 2006 02:09:23 +0000 (02:09 +0000)]
insight/299:
* generic/gdbtk.c (gdbtk_init): Don't check if DISPLAY is set,
it isn't needed anymore. Gdb will not abort, and Tk_Init will
fail gracefully.
kseitz [Fri, 1 Dec 2006 01:07:54 +0000 (01:07 +0000)]
* library/targetselection.itb (constructor): "top" is unused.
Remove it.
(get_target_list): Use "scan" to parse "help target" output.
jimb [Fri, 1 Dec 2006 00:32:29 +0000 (00:32 +0000)]
2006-11-30 Jim Blandy <jimb@codesourcery.com>
* ada-lang.c (value_subscript_packed): Don't bother to set the
lvalue type of the returned value here;
ada_value_primitive_packed_val takes care of that.
iant [Fri, 1 Dec 2006 00:10:37 +0000 (00:10 +0000)]
gcc 3.2.2 portability hacks.
gdbadmin [Fri, 1 Dec 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
iant [Thu, 30 Nov 2006 23:52:50 +0000 (23:52 +0000)]
Added a testsuite. More support for COPY relocations.
jjohnstn [Thu, 30 Nov 2006 23:40:11 +0000 (23:40 +0000)]
2006-11-30 Lev Bishop <lev.bishop@gmail.com>
* libc/include/math.h: Allow C99 functions/macros to be
defined for C++ even when __STRICT_ANSI__.
amodra [Thu, 30 Nov 2006 23:00:12 +0000 (23:00 +0000)]
daily update
brolley [Thu, 30 Nov 2006 18:48:30 +0000 (18:48 +0000)]
2006-11-30 Dave Brolley <brolley@redhat.com>
* Makefile.am (TARGETCFGS): Revert previous changes. Add shCfg.cxx
unconditionally.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* shCfg.cxx: Protect the entire file with preprocessor conditional
compilation for sh or sh64.
brolley [Thu, 30 Nov 2006 18:48:07 +0000 (18:48 +0000)]
2006-11-30 Dave Brolley <brolley@redhat.com>
* sidtargets.m4: Revert previous change.
amylaar [Thu, 30 Nov 2006 17:36:10 +0000 (17:36 +0000)]
include:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
PR driver/29931
* libiberty.h (make_relative_prefix_ignore_links): Declare.
libiberty:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
PR driver/29931
* make-relative-prefix.c (make_relative_prefix_1): New function,
broken out of make_relative_prefix. Make link resolution dependent
on new parameter.
(make_relative_prefix): Use make_relative_prefix_1.
(make_relative_prefix_ignore_links): New function.
cgf [Thu, 30 Nov 2006 17:08:30 +0000 (17:08 +0000)]
* win/tclWinPipe.c (TclpCreateProcess): Call cygwin-specific routine to set up
windows environment.
corinna [Thu, 30 Nov 2006 10:17:24 +0000 (10:17 +0000)]
* dir.cc (mkdir): Check last path component for "..".
(rmdir): Don't check last path component for "..".
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Drop kludge
which tries to allow deleting the current working directory.
* path.cc (has_dot_last_component): Add parameter to indicate testing
for "..". Take trailing slash into account.
(symlink_info::posixify): Rely on cygheap->cwd.win32 having a
useful value.
(cwdstuff::init): Initialize cygheap->cwd with current working
directory. Change to windows_system_directory afterwards.
(cwdstuff::set): Never call SetCurrentDirectory here. Just check
if changing into target directory would be allowed. Add comment to
explain why.
* path.h (has_dot_last_component): Declare with second parameter.
* pinfo.cc (pinfo::zap_cwd): Remove.
(pinfo::exit): Drop call to zap_cwd.
* pinfo.h (class pinfo): Remove declaration of zap_cwd.
* spawn.cc (spawn_guts): Set current working directory for non-Cygwin
child applications. Drop call to zap_cwd.
jjohnstn [Thu, 30 Nov 2006 00:35:57 +0000 (00:35 +0000)]
2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/makebuf.c (__smakebuf): If dealing with
an asprintf-family buffer, make the default initial size 64.
gdbadmin [Thu, 30 Nov 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 29 Nov 2006 23:00:08 +0000 (23:00 +0000)]
daily update
nickrob [Wed, 29 Nov 2006 22:53:07 +0000 (22:53 +0000)]
(mi_cmd_var_list_children): Remove unused
variable.
nickrob [Wed, 29 Nov 2006 22:52:37 +0000 (22:52 +0000)]
*** empty log message ***
jjohnstn [Wed, 29 Nov 2006 21:36:54 +0000 (21:36 +0000)]
2006-11-29 Eric Blake <ebb9@byu.net>
* libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
asprintf, as well as quadratic realloc behavior.
brolley [Wed, 29 Nov 2006 21:18:30 +0000 (21:18 +0000)]
2006-11-29 Dave Brolley <brolley@redhat.com>
* Makefile.am (TARGETCFGS): Set based on SIDTARGET_SH_OR_SH64.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
brolley [Wed, 29 Nov 2006 21:18:05 +0000 (21:18 +0000)]
2006-11-29 Dave Brolley <brolley@redhat.com>
* sidtargets.m4 (sidtarget_sh_or_sh64): New variable.
(SIDTARGET_SH_OR_SH64): New automake conditional using
sidtarget_sh_or_sh64.
brolley [Wed, 29 Nov 2006 21:12:53 +0000 (21:12 +0000)]
2006-11-29 Dave Brolley <brolley@redhat.com>
* mt-elf-sid: New script.
jjohnstn [Wed, 29 Nov 2006 19:54:02 +0000 (19:54 +0000)]
2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jp>
* libc/machine/spu/memset.c: Fix type of explicit cast.
* libc/machine/spu/strncmp.c: Add explicit cast.
* libc/machine/spu/strrchr.c: Ditto.
* libc/machine/spu/strspn.c: Ditto.
iant [Wed, 29 Nov 2006 17:56:40 +0000 (17:56 +0000)]
Hash tables, dynamic section, i386 PLT, gold_assert.
pbrook [Wed, 29 Nov 2006 17:53:39 +0000 (17:53 +0000)]
2006-11-29 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (arm_is_eabi): New function.
* config/tc-arm.h (arm_is_eabi): New prototype.
(THUMB_IS_FUNC): Use ELF function type for EABI objects.
* doc/c-arm.texi (.thumb_func): Update documentation.
pbrook [Wed, 29 Nov 2006 17:40:29 +0000 (17:40 +0000)]
2006-11-29 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output
section is present.
(allocate_dynrelocs): Only add export stub for symbols defined in
this object.
pbrook [Wed, 29 Nov 2006 16:26:55 +0000 (16:26 +0000)]
2006-11-29 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (do_vfp_sp_const, do_vfp_dp_const): Fix operans
encoding.
gas/testsuite/
* gas/arm/vfpv3-const-conv.s: Improve test coverage.
* gas/arm/vfpv3-const-conv.d: Adjust expected output.
* gas/arm/vfp-neon-syntax_t2.d: Ditto.
* gas/arm/vfp-neon-syntax.d: Ditto.
opcodes/
* arm-dis.c (coprocessor_opcodes): Fix bitfields for fconstd/fconstd.
nathan [Wed, 29 Nov 2006 16:16:46 +0000 (16:16 +0000)]
* gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
info. Adjust test names.
pbrook [Wed, 29 Nov 2006 15:50:06 +0000 (15:50 +0000)]
2006-11-29 Paul Brook <paul@codesourcery.com>
Julian Brown <julian@codesourcery.com>
bfd/
* elf32-arm.c (copy_eabi_attributes): Correct starting offset.
(elf32_arm_merge_eabi_attributes): Mark output as initialized.
Only set Tag_CPU_name and Tag_ABI_PCS_R9_use if input attribute
is present.
vprus [Wed, 29 Nov 2006 15:40:59 +0000 (15:40 +0000)]
2006-07-29 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-cmd-var.c (print_varobj): New function.
(mi_cmd_var_create): Use the above.
(mi_cmd_var_list_children): Likewise.
cagney [Wed, 29 Nov 2006 15:20:55 +0000 (15:20 +0000)]
2006-11-22 Tom Marn <tom.marn@telargo.com>
Committed by Andrew Cagney.
* ppc-instructions: Implement optional PowerPC stfiwx instruction.
vprus [Wed, 29 Nov 2006 13:52:54 +0000 (13:52 +0000)]
2006-07-29 Vladimir Prus <vladimir@codesourcery.com>
* MAINTAINERS (Write After Approval): Add myself.
vprus [Wed, 29 Nov 2006 13:52:45 +0000 (13:52 +0000)]
2006-07-29 Vladimir Prus <vladimir@codesourcery.com>
* MAINTAINERS (Write After Approval): Add myself.
ams [Wed, 29 Nov 2006 12:26:56 +0000 (12:26 +0000)]
2006-11-29 Andrew Stubbs <andrew.stubbs@st.com>
* solib.c (solib_open): Treat bare file names as relative paths.
nathan [Wed, 29 Nov 2006 08:02:06 +0000 (08:02 +0000)]
* gdb.base/break.c (main): Move position of malloc.
* gdb.base/break.exp: Revert mistaken checkin.
vprus [Wed, 29 Nov 2006 06:41:13 +0000 (06:41 +0000)]
2006-11-29 Vladimir Prus <vladimir@codesourcery.com>
* varobj.c (varobj_set_value): Don't compare the old
and the new value here. Don't assign new value here.
Instead, call install_new_value.
gdbadmin [Wed, 29 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Tue, 28 Nov 2006 23:15:00 +0000 (23:15 +0000)]
* security.cc (create_token): Revert erroneous change to test
subauth_token for INVAILD_HANDLE_VALUE.
* syscalls.cc (seteuid32): Set create_token's subauth_token parameter
back to NULL.
amodra [Tue, 28 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
drow [Tue, 28 Nov 2006 22:21:23 +0000 (22:21 +0000)]
gdb/gdbserver/
* Makefile.in (clean): Remove reg-mips64.c.
(reg-mips64.c, reg-mips64.o): New rules.
* configure.srv: Handle mips64. Include regset support for mips.
* linux-mips-low.c (union mips_register): New.
(mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it.
(mips_breakpoint, mips_breakpoint_at): Use int.
(mips_collect_register, mips_supply_register)
(mips_collect_register_32bit, mips_supply_register_32bit)
(mips_fill_gregset, mips_store_gregset, mips_fill_fpregset)
(mips_store_fpregset, target_regsets): New.
* thread-db.c (thread_db_get_tls_address): Use uintptr_t.
gdb/
* regformats/reg-mips64.dat: New file.
drow [Tue, 28 Nov 2006 22:14:31 +0000 (22:14 +0000)]
* Makefile.in (mips-tdep.o, target-descriptions.o): Update.
* target-descriptions.c (struct property): New.
(struct target_desc): Add properties member.
(tdesc_property, set_tdesc_property): New.
* target-descriptions.h (tdesc_property, set_tdesc_property):
Declare.
* mips-tdep.c (PROPERTY_GP32, PROPERTY_GP64): New constants.
(struct gdbarch_tdep): Add register_size_valid_p and register_size.
(mips_isa_regsize): Use them.
(mips_register_g_packet_guesses): New.
(mips_gdbarch_init): Call it. If a target description is supplied,
check for internal properties. Check for register size mismatches.
* remote.c (send_g_packet, process_g_packet): New functions, split
out from fetch_registers_using_g.
(fetch_registers_using_g): Use them.
(struct remote_g_packet_guess, remote_g_packet_guess_s)
(struct remote_g_packet_data, remote_g_packet_data_handle)
(remote_g_packet_data_init, register_remote_g_packet_guess)
(remote_read_description): New.
(init_remote_ops, init_remote_async_ops): Set to_read_description.
(_initialize_remote): Register remote_g_packet_data_handle.
* remote.h (register_remote_g_packet_guess): Declare.
drow [Tue, 28 Nov 2006 22:10:25 +0000 (22:10 +0000)]
* Makefile.in (SFILES): Add new and missed files.
(target_descriptions_h): New.
(COMMON_OBS): Add target-descriptions.o.
(arch-utils.o, infcmd.o, remote.o, target.o): Update.
(target-descriptions.o): New.
* arch-utils.c (gdbarch_info_fill): Check for a target
description.
* target-descriptions.c, target-descriptions.h: New files.
* gdbarch.sh: Add target_desc to info. Declare it in gdbarch.h.
Correct typos.
(gdbarch_list_lookup_by_info): Check target_desc.
* gdbarch.c, gdbarch.h: Regenerated.
* target.c (update_current_target): Mention to_read_description.
(target_pre_inferior): Call target_clear_description.
(target_read_description): New.
* target.h (struct target_ops): Add to_read_description.
(target_read_description): New prototype.
* infcmd.c (post_create_inferior): Call target_find_description.
* remote.c (remote_open_1): Likewise.
(extended_remote_create_inferior): Add a comment.
(extended_remote_async_create_inferior): Likewise.
nickrob [Tue, 28 Nov 2006 21:44:50 +0000 (21:44 +0000)]
Include <signal.h>.
nickrob [Tue, 28 Nov 2006 21:44:26 +0000 (21:44 +0000)]
*** empty log message ***
uweigand [Tue, 28 Nov 2006 21:41:02 +0000 (21:41 +0000)]
* config/tm-linux.h: Delete file.
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h.
* config/alpha/tm-alphalinux.h: Delete file.
* config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h
* config/arm/tm-linux.h: Delete file.
* config/i386/tm-linux.h: Do not include "config/tm-linux.h".
* config/ia64/tm-linux.h: Do not include "config/tm-linux.h".
* config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/mips/tm-linux.h: Do not include "config/tm-linux.h".
* config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
* config/pa/tm-linux.h: Delete file.
* config/powerpc/tm-linux.h: Do not include "config/tm-linux.h".
* config/s390/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
* config/sh/tm-linux.h: Delete file.
* alpha-linux-tdep.c: Include "symtab.h".
(alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* i386-linux-tdep.c: Include "symtab.h".
(i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* ia64-linux-tdep.c: Include "symtab.h".
(ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* m32r-linux-tdep.c: Include "symtab.h".
(m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* mips-linux-tdep.c: Include "symtab.h".
(mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* sh-linux-tdep.c: Include "symtab.h".
(sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* s390-tdep.c (s390_gdbarch_init): Call
set_gdbarch_skip_trampoline_code.
* s390-nat.c: Do not include "tm.h".
* Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h).
(i386-linux-tdep.o): Likewise.
(ia64-linux-tdep.o): Likewise.
(m32r-linux-tdep.o): Likewise.
(mips-linux-tdep.o): Likewise.
(sh-linux-tdep.o): Likewise.
(s390-nat.o): Remove dependency on $(tm_h).
uweigand [Tue, 28 Nov 2006 19:45:07 +0000 (19:45 +0000)]
* config/nm-linux.h: Do not include <signal.h>.
(REALTIME_LO, REALTIME_HI): Do not define.
* signals/signals.c (REALTIME_HI): Fix off-by-one bug.
vprus [Tue, 28 Nov 2006 19:40:27 +0000 (19:40 +0000)]
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
handlers. Free expression.
uweigand [Tue, 28 Nov 2006 19:07:49 +0000 (19:07 +0000)]
* config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define.
* config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Likewise.
* config/rs6000/tm-rs6000ly.h (REALTIME_LO, REALTIME_HI): Move to ...
* config/nm-lynx.h (REALTIME_LO, REALTIME_HI): ... here.
* config/i386/nto.mh (NAT_FILE): Define.
* config/i386/nto.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/tm-nto.h: Delete file.
* config/tm-nto.h: Delete file.
* config/nm-nto.h: New file.
* Makefile.in (nto-tdep.o): Add dependency on $(objfiles_h).
* nto-tdep.c: Include "objfiles.h" and <string.h>.
* coff-solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "".
* xcoffread.c (read_xcoff_symtab): Initialize fcn_stab_saved.
* config/rs6000/rs6000lynx.mt (TDEPFILES): Add xcoffread.o.
nathan [Tue, 28 Nov 2006 17:52:06 +0000 (17:52 +0000)]
* gdb.base/break.c (main): Move position of malloc.
drow [Tue, 28 Nov 2006 17:28:29 +0000 (17:28 +0000)]
* dwarf2-frame.c (decode_frame_entry_1): Skip unknown augmentations
without skipping the CIE.
vprus [Tue, 28 Nov 2006 17:23:09 +0000 (17:23 +0000)]
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
Fetch varobj values from memory in a single place,
and only fetch the values that are really needed.
* varobj.c (struct varobj): Clarify comment.
(my_value_equal): Remove.
(install_new_value): New function.
(type_of_child): Remove.
(varobj_create): Use install_new_value.
(varobj_set_value): Use value_contents_equal, not
my_value_equal.
(varobj_update): Use install_new_value.
(create_child): Likewise. Inline type_of_child here.
(value_of_child): Don't fetch the value.
(c_value_of_root): Likewise.
(c_value_of_variable): Likewise.
(type_changeable): Improve comments.
drow [Tue, 28 Nov 2006 17:08:49 +0000 (17:08 +0000)]
* remote.c (struct remote_arch_state): Doc fix.
(compare_pnums): New function.
(init_remote_state): Only allocate packet_reg structures for raw
registers. Define the g/G packet format separately from creating
packet_reg. Don't use DEPRECATED_REGISTER_BYTE.
(packet_reg_from_regnum, packet_reg_from_pnum): Only iterate over
raw registers.
(register_bytes_found): Delete.
(fetch_register_using_p): Take a struct packet_reg. Handle disabled
'p' packet here. Use packet_ok.
(fetch_registers_using_g): New function, split out of
remote_fetch_registers. Check the 'g' packet more strictly. Save
its actual size and contents. Eliminate BUF. Only iterate over
raw registers.
(remote_fetch_registers): Use the new functions for 'p' and 'g'.
Mark unavailable registers.
(store_register_using_P): Likewise to fetch_register_using_p.
(store_registers_using_G): New function, split out of
remote_store_registers. Only iterate over raw registers. Don't
use register_bytes_found.
(remote_store_registers): Likewise to remote_fetch_registers.
drow [Tue, 28 Nov 2006 16:53:48 +0000 (16:53 +0000)]
2006-11-28 Pedro Alves <pedro_alves@portugalmail.pt>
* coffread.c (cs_to_bfd_section): New function.
(cs_to_section): Use cs_to_bfd_section.
(record_minimal_symbol): Take the coff_symbol* parameter instead
of the symbol's name as a char*.
Add 'int section' parameter. Call prim_record_minimal_symbol_and_info
instead of prim_record_minimal_symbol_and_info.
Change return type to struct minimal_symbol *.
(coff_symtab_read): Adapt to new record_minimal_symbol's signature.
Make all minimal symbol creations go through record_minimal_symbol.
drow [Tue, 28 Nov 2006 16:23:30 +0000 (16:23 +0000)]
* symtab.c (find_pc_sect_line): Do not return a line before
the start of a symtab.
nathan [Tue, 28 Nov 2006 16:04:00 +0000 (16:04 +0000)]
* gdb.base/break.c (main): Call malloc.
nathan [Tue, 28 Nov 2006 15:16:47 +0000 (15:16 +0000)]
* gdb.threads/linux-dp.exp: Read thread table before and after
creating each philosopher and verify it.
corinna [Tue, 28 Nov 2006 09:57:00 +0000 (09:57 +0000)]
* fhandler.cc (fhandler_base::open): Fix previous patch to handle the
SYSTEM attribute as well.
ian [Tue, 28 Nov 2006 04:54:05 +0000 (04:54 +0000)]
* Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
subdirectory.
* Makefile.in: Regenerate.
gdbadmin [Tue, 28 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
bwilson [Mon, 27 Nov 2006 23:58:39 +0000 (23:58 +0000)]
* config/tc-xtensa.c (xtensa_sanity_check): Check for RELAX_IMMED
as the first slot_subtype, not the frag subtype.
amodra [Mon, 27 Nov 2006 23:00:08 +0000 (23:00 +0000)]
daily update
hjl [Mon, 27 Nov 2006 22:05:26 +0000 (22:05 +0000)]
Remove entries checked in by accident.
bwilson [Mon, 27 Nov 2006 20:14:51 +0000 (20:14 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info.
gas/
* config/tc-xtensa.c (XSHAL_ABI): Add default definition.
(directive_state): Disable scheduling by default.
(xtensa_add_config_info): New.
(xtensa_end): Call xtensa_add_config_info.
gas/testsuite/
* gas/elf/section2.e-xtensa: New file.
* gas/elf/elf.exp: Use it.
include/
* xtensa-config.h (XSHAL_ABI): New.
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
ld/
* emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
(replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
Delete redundant code to set sections flags and alignment.
(xt_config_info_unpack_and_check, check_xtensa_info): New.
(elf_xtensa_after_open): Iterate over input statements instead of
link_info.input_bfds.
(elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
each input, and write a new .xtensa.info section in the output.
bwilson [Mon, 27 Nov 2006 19:23:21 +0000 (19:23 +0000)]
* xtensa-isa.h (STATIC_LIBISA): Delete.
corinna [Mon, 27 Nov 2006 19:14:24 +0000 (19:14 +0000)]
* fhandler.cc (fhandler_base::open): Fix handling of files with
HIDDEN attribute set.
cgf [Mon, 27 Nov 2006 16:43:34 +0000 (16:43 +0000)]
* include/cygwin/signal.h: Add __extension__ to various anonymous unions and
structs. (thanks to V.Haisman)
jjohnstn [Mon, 27 Nov 2006 16:12:51 +0000 (16:12 +0000)]
2006-11-27 Jeff Johnston <jjohnstn@redhat.com>
* mips/crt0.S: Fix preprocessor statements from previous patch
to be ANSI.
nathan [Mon, 27 Nov 2006 15:09:53 +0000 (15:09 +0000)]
* gdb.base/ending-run.exp: Flatten expect script stepping out of
main to remove duplication. Add start function of the form
'_*start[1-9]*'. Add RVDS start function.
nickc [Mon, 27 Nov 2006 14:11:10 +0000 (14:11 +0000)]
Updated Malay translation
corinna [Mon, 27 Nov 2006 13:05:54 +0000 (13:05 +0000)]
Initial release of the Cygwin LSA authentication package.
* ChangeLog: New file.
* Makefile.in: Ditto.
* aclocal.m4: Ditto.
* configure.in: Ditto.
* configure: Ditto. Generated from configure.in.
* cyglsa-config: Ditto.
* cyglsa.c: Ditto.
* cyglsa.din: Ditto.
* cyglsa64.dll: Ditto.
* make-64bit-version-with-visual-c.bat: Ditto.
* mslsa.def: Ditto.
corinna [Mon, 27 Nov 2006 13:01:36 +0000 (13:01 +0000)]
* Makefile.in: Add dependencies for lsaauth.
* configure.in: Disable building subauth. Add building lsaauth.
* configure: Regenerate.
corinna [Mon, 27 Nov 2006 12:59:58 +0000 (12:59 +0000)]
* cyglsa.h: New header file.
* environ.cc: Disable subauth settings.
* grp.cc: Accomodate cygsidlist's count now being a method.
* sec_helper.cc (SECURITY_MANDATORY_INTEGRITY_AUTHORITY): Remove.
(mandatory_medium_integrity_sid): Remove.
(mandatory_high_integrity_sid): Remove.
(mandatory_system_integrity_sid): Remove.
(fake_logon_sid): Add.
(cygsid::get_sid): Add well_known parameter. Set well_known_sid
accordingly.
(cygsid::getfromstr): Ditto.
(cygsidlist::alloc_sids): Move here from security.cc.
(cygsidlist::free_sids): Ditto.
(cygsidlist::add): Move here from security.h. Add well_known parameter.
Set well_known_sid accordingly. Don't allow duplicate SIDs.
* security.cc: Include cyglsa.h and cygwin/version.h. Throughout
accomodate cygsidlist's count now being a method. Throughout drop
redundant "contains" tests.
(get_user_local_groups): Add local groups as well known SIDs.
(get_token_group_sidlist): Add well known groups as well known SIDs.
(get_server_groups): Ditto. Only call get_unix_group_sidlist after
get_user_local_groups to maintain "well_known_sid" attribute.
(get_initgroups_sidlist): Add well known groups as well known SIDs.
(get_setgroups_sidlist): Add usersid and struct passwd parameter to
allow calling get_server_groups from here.
(get_system_priv_list): Make static. Return size of TOKEN_PRIVILEGES
structure.
(get_priv_list): Ditto.
(create_token): Accomodate above changes. Drop misguided attempt to
add MIC SIDs to created user token. Print returned token as hex value.
(subauth): Disable.
(lsaauth): New function implementing client side of LSA authentication.
* security.h (class cygsid): Add well_known_sid attribute. Accomodate
throughout. Add *= operator to create a well known SID.
(class cygsidlist): Rename count to cnt. Make count a method.
(cygsidlist::add): Move to sec_helper.cc.
(cygsidlist::operator *=): New method to add well known SID.
(cygsidlist::non_well_known_count): New method returning number of
non well known SIDs in list.
(cygsidlist::next_non_well_known_sid): New method returning next non
well known SID by index.
(mandatory_medium_integrity_sid): Drop declaration.
(mandatory_high_integrity_sid): Drop declaration.
(mandatory_system_integrity_sid): Drop declaration.
(fake_logon_sid): Add declaration.
(subauth): Disable declaration.
(lsaauth): Add declaration.
* syscalls.cc (seteuid32): Disable subauthentication. Add LSA
authentication.
* wincap.h: Define needs_logon_sid_in_sid_list throughout.
* wincap.cc: Ditto.
ebotcazou [Mon, 27 Nov 2006 11:25:27 +0000 (11:25 +0000)]
* config/tc-sparc.c (tc_gen_reloc): Turn aligned relocs into
their unaligned counterparts in debugging sections.
gdbadmin [Mon, 27 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***