OSDN Git Service
hjl [Tue, 30 Jan 2007 15:47:19 +0000 (15:47 +0000)]
2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (copy_elf_program_header): Start from the first section
in a segment and stop when all sections in a segment are
accounted for.
nickc [Tue, 30 Jan 2007 14:44:36 +0000 (14:44 +0000)]
* as.c (main): Mark symbols created via the --defsym command line
option as volatile so that they can be overridden later on by a
.set directive. This maintains compatibility with the behaviour
of earlier versions of the assembler.
* doc/as.texinfo (--defsym): Document that the defined symbol's
value can be overridden via a .set directive.
vprus [Tue, 30 Jan 2007 09:12:42 +0000 (09:12 +0000)]
* ser-mingw.c (pipe_windows_open)
(pipe_windows_read, pipe_windows_write): Declare
variables at the top of the function.
bje [Tue, 30 Jan 2007 03:18:52 +0000 (03:18 +0000)]
* libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
fmt member.
* libc/machine/spu/printf.c (c99_printf_t): Likewise.
(printf): Pass fmt to va_start to suppress a warning.
bje [Tue, 30 Jan 2007 03:13:29 +0000 (03:13 +0000)]
* libc/search/hash.c (init_hash): Make `info' parameter const.
gdbadmin [Tue, 30 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 29 Jan 2007 23:00:10 +0000 (23:00 +0000)]
daily update
schwab [Mon, 29 Jan 2007 19:09:47 +0000 (19:09 +0000)]
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
"frame-begin" annotation.
schwab [Mon, 29 Jan 2007 18:58:24 +0000 (18:58 +0000)]
* gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
number of "frames-invalid" annotations.
drow [Mon, 29 Jan 2007 17:31:05 +0000 (17:31 +0000)]
* doublest.c (floatformat_from_length): Use the right element from
gdbarch floatformats.
(floatformat_from_type, extract_typed_floating)
(store_typed_floating): Likewise.
* doublest.h: Remove declarations for undefined floatformat arrays.
* gdbarch.sh (float_format, double_format, long_double_format): Change
to pairs.
(pformat): Update for pairs.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
(floatformats_ieee_double_littlebyte_bigword)
(floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
(floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
(floatformats_vax_d): New variables.
(builtin_type_ieee_single, builtin_type_ieee_double)
(builtin_type_arm_ext, builtin_type_ia64_spill)
(builtin_type_ia64_quad): Replace arrays with individual types.
(builtin_type_ieee_single_big, builtin_type_ieee_single_little)
(builtin_type_ieee_double_big, builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
(builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
(builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
unused and endian-specific types.
(recursive_dump_type): Update for floatformat pairs.
(build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
(build_gdbtypes): Use build_flt.
(_initialize_gdbtypes): Update set of initialized types.
* gdbtypes.h: Update declarations to match gdbtypes.c.
(struct main_type): Store a pointer to two floatformats.
* arch-utils.c (default_float_format, default_double_format): Delete.
* arch-utils.h (default_float_format, default_double_format): Delete.
* arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
vapier [Mon, 29 Jan 2007 16:41:14 +0000 (16:41 +0000)]
2007-01-28 Manuel Lauss <slauss@resi.at>
* configure.ac (sh64-*-*): Change to sh64*-*-*.
(sh-*-*): Change to sh*-*-*.
* configure: Regenerated.
brobecke [Mon, 29 Jan 2007 16:37:33 +0000 (16:37 +0000)]
* gdb.texinfo (Maintenance Commands): Add documentation for
the new "maint print target-stack" command.
brobecke [Mon, 29 Jan 2007 16:36:01 +0000 (16:36 +0000)]
* target.c (maintenance_print_target_stack): New function.
(initialize_targets): Add new "maintenance print target-stack"
command.
jules [Mon, 29 Jan 2007 16:29:21 +0000 (16:29 +0000)]
* bfd-in2.h: Regenerate.
* bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
instruction scanning should be done.
(bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
(bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
(bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
prototype.
* elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
argument.
* elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
(VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
(elf32_vfp11_erratum_type): New enum.
(elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
veneers.
(_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
(elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
vfp11_fix and num_vfp11_fixes fields.
(elf32_arm_link_hash_table_create): Initialise vfp11_fix,
vfp11_erratum_glue_size, num_vfp11_fixes fields.
(VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
(bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
glue section.
(elf32_arm_section_map_add): Add an code/data mapping symbol entry
to a section's map.
(record_vfp11_erratum_veneer): Create a single veneer, and its
associated symbols.
(bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
(bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
BFDs.
(bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
required.
(bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
(bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
(bfd_arm_vfp11_write_mask): Update write mask according to coded
register number.
(bfd_arm_vfp11_antidependency): New function.
(bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
(elf32_arm_compare_mapping): Declare.
(bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
BFD for potential erratum-triggering insns. Record results.
(bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
and branches to veneers have been placed in virtual memory after
layout.
(bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
hash table.
(elf32_arm_output_symbol_hook): Remove.
(elf32_arm_write_section): Output veneers, and branches to veneers.
Use maps from input sections, not output sections, for code
byte-swapping.
* elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
* elf32-score.c (_bfd_score_elf_write_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
* elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
jules [Mon, 29 Jan 2007 16:28:40 +0000 (16:28 +0000)]
* NEWS: Mention --vfp11-denorm-fix option.
* ld.texinfo: Document above.
* emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
.vfp11_veneer section.
* emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
* emultempl/armelf.em (vfp11_denorm_fix): New static variable.
(arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
(arm_elf_after_allocation): New function. Call
bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
(arm_elf_create_output_section_statements): Pass vfp11 fix command
line option to BFD.
(OPTION_VFP11_DENORM_FIX): New option.
(PARSE_AND_LIST_LONGOPTS): Handle new option.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(LDEMUL_AFTER_ALLOCATION): Define.
jules [Mon, 29 Jan 2007 16:27:34 +0000 (16:27 +0000)]
* ld-arm/arm-elf.exp: Add VFP11 tests.
* ld-arm/vfp11-fix-none.s: New file.
* ld-arm/vfp11-fix-none.d: Expected disassembly of above.
* ld-arm/vfp11-fix-scalar.s: New file.
* ld-arm/vfp11-fix-scalar.d: Expected disassembly of above.
* ld-arm/vfp11-fix-vector.s: New file.
* ld-arm/vfp11-fix-vector.d: Expected disassembly of above.
drow [Mon, 29 Jan 2007 16:22:36 +0000 (16:22 +0000)]
* gdb.base/commands.exp: Call if_commands_test.
(gdb_test_no_prompt, if_commands_test): New.
drow [Mon, 29 Jan 2007 13:22:09 +0000 (13:22 +0000)]
* remote-utils.c [USE_WIN32API] (read, write): Define.
(putpkt_binary, input_interrupt, readchar, getpkt): Use read and
write.
gdbadmin [Mon, 29 Jan 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 28 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 28 Jan 2007 16:45:35 +0000 (16:45 +0000)]
* gdb.threads/sigthread.c (NSIGS): Make bigger.
hjl [Sun, 28 Jan 2007 16:14:33 +0000 (16:14 +0000)]
2076-01-28 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (swap_imm_operands): Renamed to ...
(swap_2_operands): This. Take 2 ints.
(md_assemble): Updated.
(swap_operands): Call swap_2_operands to swap 2 operands.
kettenis [Sun, 28 Jan 2007 14:42:11 +0000 (14:42 +0000)]
* dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
kettenis [Sun, 28 Jan 2007 14:23:13 +0000 (14:23 +0000)]
Wrap long line.
corinna [Sun, 28 Jan 2007 11:27:04 +0000 (11:27 +0000)]
* include/ftw.h: Include sys/cdefs.h.
hjl [Sun, 28 Jan 2007 02:16:07 +0000 (02:16 +0000)]
Add INCLUDED_TARGET_FILE.
hjl [Sun, 28 Jan 2007 02:13:58 +0000 (02:13 +0000)]
2076-01-27 H.J. Lu <hongjiu.lu@intel.com>
* elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
drow [Sun, 28 Jan 2007 01:38:38 +0000 (01:38 +0000)]
* dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
(struct dwarf2_loclist_baton): Likewise.
gdbadmin [Sun, 28 Jan 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 27 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update
danglin [Sat, 27 Jan 2007 22:43:49 +0000 (22:43 +0000)]
* elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
(INCLUDED_TARGET_FILE): Remove.
eliz [Sat, 27 Jan 2007 12:30:46 +0000 (12:30 +0000)]
* cli/cli-script.c: Include breakpoint.h.
(build_command_line): Require arguments only for if and while commands.
(get_command_line, execute_user_command, execute_control_command):
Fix wording of warning messages.
(print_command_lines): Print breakpoint commands.
(execute_control_command): Call commands_from_control_command to
handle the `commands' command inside a body of a flow-control command.
(read_next_line): Recognize the `commands' command and build a
command line structure for it.
(recurse_read_control_structure, read_command_lines): Handle
`commands' similarly to `if' and `while'.
* breakpoint.c (get_number_trailer): Document the special meaning
of NULL as the first argument PP.
(commands_from_control_command): New function.
* breakpoint.h (commands_from_control_command): Add prototype.
* defs.h (commands_control): New enumerated value for enum
command_control_type.
schwab [Sat, 27 Jan 2007 11:09:35 +0000 (11:09 +0000)]
* gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
.short/.int/.quad in the dwarf sections.
* gdb.dwarf2/dw2-intercu.S: Likewise.
* gdb.dwarf2/dw2-intermix.S: Likewise.
dannysmith [Sat, 27 Jan 2007 09:50:11 +0000 (09:50 +0000)]
Expose some msvcr80.dll functions.
* include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
* msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
gdbadmin [Sat, 27 Jan 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 26 Jan 2007 23:00:11 +0000 (23:00 +0000)]
daily update
brobecke [Fri, 26 Jan 2007 21:31:05 +0000 (21:31 +0000)]
* ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
(ada_exception_sal): Update accordingly.
jkratoch [Fri, 26 Jan 2007 20:54:16 +0000 (20:54 +0000)]
* c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
* NEWS: Describe CHAR array vs. string identifcation rules.
jkratoch [Fri, 26 Jan 2007 20:53:52 +0000 (20:53 +0000)]
* gdb.texinfo: Describe CHAR array vs. string identifcation rules.
jkratoch [Fri, 26 Jan 2007 20:53:14 +0000 (20:53 +0000)]
* gdb.base/charsign.exp, gdb.base/charsign.c: New files.
* gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number array.
* gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
* gdb.base/setvar.exp: Likewise.
schwab [Fri, 26 Jan 2007 14:55:27 +0000 (14:55 +0000)]
* gdb.base/corefile.exp: Allow non-empty argument list in reinit
test.
schwab [Fri, 26 Jan 2007 14:53:10 +0000 (14:53 +0000)]
* gdb.base/multi-forks.exp ("restart $i"): Also match
__kernel_syscall_via_break.
corinna [Fri, 26 Jan 2007 12:32:11 +0000 (12:32 +0000)]
Fix typo.
corinna [Fri, 26 Jan 2007 12:25:23 +0000 (12:25 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Implement rmdir
on NT by calling unlink_nt. Check for directory here.
* syscalls.cc (try_to_bin): Fix buggy debug_printf statement.
(unlink_nt): Make non-static. Don't use delete-on-close semantics on
directoires. Explain why.
eliz [Fri, 26 Jan 2007 08:57:09 +0000 (08:57 +0000)]
*** empty log message ***
eliz [Fri, 26 Jan 2007 08:54:01 +0000 (08:54 +0000)]
* gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):
Use @value{NGCC} instead of @value{GCC}.
dannysmith [Fri, 26 Jan 2007 08:20:54 +0000 (08:20 +0000)]
Expose some msvcr80.dll functions.
* include/stdlib.h (_set_abort_behavior): Add prototype.
(_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
_set_abort_behavior mask argument.
(_invalid_parameter_handler): Add typedef.
(_set_invalid_parameter_handler): Add prototype.
* include/stdio.h (_get_printf_count_output): Add prototype.
(_set_printf_count_output): Add prototype.
* msvcrt.def.in (_get_printf_count_output, _set_printf_count_output,
_set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
dannysmith [Fri, 26 Jan 2007 00:20:14 +0000 (00:20 +0000)]
* include/_mingw.h (CRT_INLINE): Correct typo.
dj [Fri, 26 Jan 2007 00:00:44 +0000 (00:00 +0000)]
* elf32-m32c.c (m32c_elf_howto_table): Don't complain about
R_M32C_16 or R_M32C_24 relocs.
gdbadmin [Fri, 26 Jan 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 25 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update
pbrook [Thu, 25 Jan 2007 20:17:26 +0000 (20:17 +0000)]
2007-01-25 Paul Brook <paul@codesourcery.com>
gdb/
* arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
kazu [Thu, 25 Jan 2007 15:40:22 +0000 (15:40 +0000)]
* ar.c (print_contents, extract_file): Cast the return value
of fwrite to size_t.
nickc [Thu, 25 Jan 2007 09:32:41 +0000 (09:32 +0000)]
PR binutils/3874
* elf32-avr.c (avr_link_hash_table): Check to make sure that the hash table was created by elf32_avr_link_hash_table_create before using it.
(elf32_avr_link_hash_newfunc): New function. Just pass the call through to _bfd_elf_link_hash_newfunc.
(elf32_avr_link_hash_table_create): Use elf32_avr_link_hash_newfunc instead of _bfd_elf_link_hash_newfunc.
(elf32_avr_relocate_section): Check for the hash table pointer being NULL.
(elf32_avr_relax_section, avr_build_one_stub, elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, elf32_avr_build_stubs): Likewise.
hjl [Thu, 25 Jan 2007 03:41:17 +0000 (03:41 +0000)]
Add a space between date and name.
gdbadmin [Thu, 25 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 24 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update
jimb [Wed, 24 Jan 2007 22:04:48 +0000 (22:04 +0000)]
2007-01-24 Jim Blandy <jimb@codesourcery.com>
* dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
expression is empty, bother to return the 'optimized out' value we
construct. (Thanks to Carl Burch.)
dj [Wed, 24 Jan 2007 21:53:09 +0000 (21:53 +0000)]
* config/tc-m32c.c (md_pseudo_table): Add .3byte.
brolley [Wed, 24 Jan 2007 21:36:13 +0000 (21:36 +0000)]
2007-01-24 Dave Brolley <brolley@redhat.com>
* libltdl/ltdl.c (lt_dlexit): Make sure that 'cur' is not NULL before
checking that it is still in the list.
vprus [Wed, 24 Jan 2007 19:54:11 +0000 (19:54 +0000)]
* varobj.c (c_value_of_root, c_value_of_child)
(cplus_describe_child): Don't call release_value.
hjl [Wed, 24 Jan 2007 16:08:53 +0000 (16:08 +0000)]
2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
* ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
(DEFSYMEND): Likewise.
(NAME): Likewise.
(LNAME): Likewise.
corinna [Wed, 24 Jan 2007 15:55:50 +0000 (15:55 +0000)]
* net.cc (if_nametoindex): This time, really free IP_ADAPTER_ADDRESSES
memory.
(if_indextoname): Ditto.
ths [Wed, 24 Jan 2007 13:37:05 +0000 (13:37 +0000)]
* mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
initialization.
corinna [Wed, 24 Jan 2007 12:14:54 +0000 (12:14 +0000)]
* security.h (pop_thread_privilege): Revert to previous state, not
to token used for impersonation.
vprus [Wed, 24 Jan 2007 11:08:47 +0000 (11:08 +0000)]
Refactor getting children name, value and type access
for varobjs in C++.
* varobj.c (get_type_deref): Remove.
(adjust_value_for_child_access): New.
(c_number_of_children): Use the above.
(c_describe_child): Likewise.
(enum accessibility): New.
(match_accessibility): New function.
(cplus_describe_child): New function.
(cplus_name_of_child, cplus_value_of_child)
(cplus_type_of_child): Reimplement in terms
of cplus_describe_child.
(cplus_number_of_children): Use
adjust_value_for_child_access.
corinna [Wed, 24 Jan 2007 10:50:45 +0000 (10:50 +0000)]
* cygheap.h (cygheap_user::deimpersonate): Always RevertToSelf.
vprus [Wed, 24 Jan 2007 10:49:27 +0000 (10:49 +0000)]
Fix computation of the 'editable' attribute and
value changeability for for references.
* varobj.c (get_value_type): New function.
(c_variable_editable): Use get_value_type.
(varobj_value_is_changeable): Likewise.
dannysmith [Wed, 24 Jan 2007 08:27:12 +0000 (08:27 +0000)]
* include/io.h (X_OK): Define to F_OK.
brobecke [Wed, 24 Jan 2007 00:03:15 +0000 (00:03 +0000)]
* source.c (find_and_open_source): Try rewriting the source
path inside filename if dirname is NULL.
gdbadmin [Wed, 24 Jan 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Tue, 23 Jan 2007 23:57:47 +0000 (23:57 +0000)]
* dwarf2read.c (add_partial_symbol): Create an extra partial
symbol in the VAR_DOMAIN for Ada structures, unions or enums.
(new_symbol): Likewise for symbols.
amodra [Tue, 23 Jan 2007 23:00:06 +0000 (23:00 +0000)]
daily update
nickrob [Tue, 23 Jan 2007 20:27:58 +0000 (20:27 +0000)]
(mi_cmd_execute): Call free_all_values.
nickrob [Tue, 23 Jan 2007 20:27:26 +0000 (20:27 +0000)]
*** empty log message ***
drow [Tue, 23 Jan 2007 17:11:54 +0000 (17:11 +0000)]
* Makefile.in (ALL_SUBDIRS): Add gdb.xml.
* configure: Regenerated.
* configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
* gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
* lib/gdb.exp (gdb_skip_xml_test): New function.
corinna [Tue, 23 Jan 2007 17:05:26 +0000 (17:05 +0000)]
* net.cc (gai_errmap): Add EAI_OVERFLOW entry. Fix formatting.
(cygwin_gai_strerror): Drop using EAI_MAX.
(w32_to_gai_err): Ditto.
* include/netdb.h: Define EAI_OVERFLOW. Remove EAI_MAX.
nathan [Tue, 23 Jan 2007 16:42:43 +0000 (16:42 +0000)]
* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
* ld-elf/header.s: Adjust.
* ld-elf/header.t: Reduce initial offset.
corinna [Tue, 23 Jan 2007 15:56:10 +0000 (15:56 +0000)]
* include/netdb.h: Add AI_xxx flags available since Vista.
schwab [Tue, 23 Jan 2007 13:30:47 +0000 (13:30 +0000)]
* lib/ld-lib.exp (run_dump_test): Don't prematurely remove
assembler output.
vprus [Tue, 23 Jan 2007 13:12:59 +0000 (13:12 +0000)]
* value.c (value_primitive_field): Copy the full 'location'
contents, instead of assuming that copying ADDRESS will
bring over everything in the union. Remove obsolete comment.
drow [Tue, 23 Jan 2007 13:06:32 +0000 (13:06 +0000)]
* m32c-tdep.c (make_regs, m32c_analyze_prologue)
(m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
(m32c_m16c_pointer_to_address): Separate code from declarations.
drow [Tue, 23 Jan 2007 13:03:18 +0000 (13:03 +0000)]
From Nick Hudson:
* target.c (update_current_target): Correct typo.
* gdb.base/sigrepeat.exp: Correct error message.
corinna [Tue, 23 Jan 2007 09:23:54 +0000 (09:23 +0000)]
* net.cc (if_nametoindex): Free IP_ADAPTER_ADDRESSES memory.
(if_indextoname): Ditto.
(if_nameindex): Ditto. Remove duplicate indexed entries in result.
gdbadmin [Tue, 23 Jan 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 22 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update
hjl [Mon, 22 Jan 2007 19:27:04 +0000 (19:27 +0000)]
Corrent PR # for PR 3830.
hjl [Mon, 22 Jan 2007 19:19:24 +0000 (19:19 +0000)]
Mention bug #.
corinna [Mon, 22 Jan 2007 10:08:32 +0000 (10:08 +0000)]
* xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
declaration.
nickc [Mon, 22 Jan 2007 08:55:34 +0000 (08:55 +0000)]
* tc-score.c: Remove unnecessary uses of _().
Make the err_msg[] a file level local array in order to save storage space.
Remove unnecessary sprintf()s.
gdbadmin [Mon, 22 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 21 Jan 2007 23:00:37 +0000 (23:00 +0000)]
daily update
corinna [Sun, 21 Jan 2007 22:54:04 +0000 (22:54 +0000)]
* autoload.cc (WSAIoctl): Define.
(SendARP): Define.
* cygwin.din: Export if_freenameindex, if_indextoname, if_nameindex and
if_nametoindex.
* fhandler_procnet.cc: Drop including wchar.h. Drop definitions of
GAA_FLAG_INCLUDE_ALL_INTERFACES, IP_ADAPTER_UNICAST_ADDRESS_VISTA.
(fhandler_procnet::exists): Check for has_gaa_prefixes. Call
get_adapters_addresses here.
(fhandler_procnet::readdir): Ditto.
(prefix): Move to net.cc.
(fhandler_procnet::fill_filebuf): Call get_adapters_addresses here.
Simplify allocation. Use AdapterName rather than FriendlyName as
interface name. Use IfIndex if available, Ipv6IfIndex otherwise.
(in6_are_prefix_equal): Move to net.cc.
* fhandler_socket.cc: Define old SIOCGxxx values.
(CONV_OLD_TO_NEW_SIO): Convert old SIOCGxxx value to new one.
(struct __old_ifreq): Define old struct ifreq.
(fhandler_socket::ioctl): Handle old SIOCGxxx values. Handle new
SIOCGIFFRNDLYNAM command. Simplify copying ifreq data to user space.
Call get_ifconf with additional SOCKET parameter.
* net.cc (IP_ADAPTER_UNICAST_ADDRESS_LH): Define.
(IP_ADAPTER_ADDRESSES_LH): Define.
(SIO_GET_INTERFACE_LIST): Define.
(sockaddr_in6_old): Define.
(sockaddr_gen): Define.
(INTERFACE_INFO): Define.
(IN_LOOPBACK): Define.
(in_are_prefix_equal): New static function.
(ip_addr_prefix): New function, replaces prefix function, add AF_INET
handling.
(GAA_FLAG_INCLUDE_ALL_INTERFACES): Define.
(get_adapters_addresses): New function.
(WS_IFF_xxx): Define Winsock interface flag values.
(convert_ifr_flags): New function to convert Winsock interface flag
values to Cygwin interface flag values.
(get_xp_ifconf): New get_ifconf implementation for XP SP1 and above.
(get_2k_ifconf): Fix interface index. Fix formatting.
(get_nt_ifconf): Fix formatting.
(get_95_ifconf): Ditto.
(get_ifconf): Take additional SOCKET parameter. Call get_xp_ifconf
on XP SP1 and above.
(if_nametoindex): New function.
(if_indextoname): New function.
(if_nameindex): New function.
(if_freenameindex): New function.
(in6_are_prefix_equal): Moved here from fhandler_procnet.cc.
* wincap.cc (wincap_xp): Define has_gaa_prefixes as true by default.
(wincapc::init): Assume has_osversioninfoex by default. Call
GetVersionEx with OSVERSIONINFOEX first. Call with OSVERSIONINFO only
if that fails. Simplify NT4 case and try to avoid strcmp. Check XP
Service Pack using version.wServicePackMajor to avoid strcmp.
* include/asm/socket.h (SIOCGIFFRNDLYNAM): Define.
* include/cygwin/if.h: Fix formatting.
(IFF_POINTTOPOINT): Define.
(IFF_NOARP): Define.
(IFF_LOWER_UP): Define.
(IFF_DORMANT): Define.
(struct if_nameindex): Define.
(IFRF_FRIENDLYNAMESIZ): Define.
(struct ifreq_frndlyname): Define.
(IFNAMSIZ): Redefine as 44.
(IF_NAMESIZE): Define.
(struct ifreq): Redefine ifru_flags as int. Define ifru_data. Pad size
to sizeof sockaddr_in6 for further extensions.
(ifr_data): Define.
(ifr_frndlyname): Define.
(if_nametoindex): Declare.
(if_indextoname): Declare.
(if_nameindex): Declare.
(if_freenameindex): Declare.
* include/cygwin/version.h: Bump API minor number.
(CYGWIN_VERSION_CHECK_FOR_OLD_IFREQ): Define check for old vs. new
ifreq structure.
jkratoch [Sun, 21 Jan 2007 22:42:09 +0000 (22:42 +0000)]
* dwarf2-frame.c (execute_cfa_program): New support of
`DW_CFA_GNU_negative_offset_extended'.
jkratoch [Sun, 21 Jan 2007 22:41:41 +0000 (22:41 +0000)]
* gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
gdb.arch/i386-gnu-cfi-asm.S: New files.
jkratoch [Sun, 21 Jan 2007 22:25:33 +0000 (22:25 +0000)]
* lib/gdb.exp: Abort on missing `site.exp'.
drow [Sun, 21 Jan 2007 17:48:53 +0000 (17:48 +0000)]
* NEWS: Mention flash support for "load" and new remote packets.
drow [Sun, 21 Jan 2007 17:43:12 +0000 (17:43 +0000)]
2007-01-21 Markus Deuling <deuling@de.ibm.com>
* breakpoint.c (delete_command): Skip redundant loop iterations.
drow [Sun, 21 Jan 2007 17:37:50 +0000 (17:37 +0000)]
* gdbarch.sh (register_type): Update comment.
* gdbarch.h: Regenerated.
* arch-utils.c (generic_register_size): Call register_type.
* ia64-tdep.c (ia64_extract_return_value): Likewise.
* m32c-tdep.c (check_for_saved): Likewise.
* mips-tdep.c (mips_print_register, print_gp_register_row)
(mips_print_registers_info): Likewise.
* sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
Likewise.
* sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
(sh64_do_register, sh64_print_register)
(sh64_media_print_registers_info): Likewise.
* tui/tui-regs.c (tui_register_format): Likewise.
drow [Sun, 21 Jan 2007 16:55:49 +0000 (16:55 +0000)]
* objfiles.h (ALL_PRIMARY_SYMTABS): Define.
* ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
(ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
* cp-support.c (make_symbol_overload_list_qualified): Likewise.
* symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
(basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
(make_symbol_completion_list): Likewise.