OSDN Git Service
brolley [Wed, 24 Sep 2003 19:05:38 +0000 (19:05 +0000)]
2003-09-24 Dave Brolley <brolley@redhat.com>
* profile.h (update_FR_ptime): New prototype.
(update_FRdouble_ptime): Ditto.
(update_SPR_ptime): Ditto.
(increase_ACC_busy): Ditto.
(enforce_full_acc_latency): Ditto.
(post_wait_for_SPR): Ditto.
* profile.c (update_FR_ptime): Moved here from profile-fr500.c.
(update_FRdouble_ptime): Ditto.
(update_SPR_ptime): New function.
(increase_ACC_busy): Ditto.
(enforce_full_acc_latency): Ditto.
(vliw_wait_for_fdiv_resource): Correct resource name.
(vliw_wait_for_fsqrt_resource): Ditto.
(post_wait_for_SPR): New function.
* profile-fr500.c (frvbf_model_fr500_u_commit): New function.
(frvbf_model_fr500_u_gr2fr): Pass out_FRk as output register to
adjust_float_register_busy.
(frvbf_model_fr500_u_gr_load): Record latency of SPR registers.
(frvbf_model_fr500_u_fr_load): Wait for and record latency of SPR
registers.
(frvbf_model_fr500_u_float_arith): Ditto.
(frvbf_model_fr500_u_float_dual_arith): Ditto.
(frvbf_model_fr500_u_float_div): Ditto.
(frvbf_model_fr500_u_float_sqrt): Ditto.
(frvbf_model_fr500_u_float_convert): Ditto.
(update_FR_ptime): Moved to profile.c
(update_FRdouble_ptime): Moved to profile.c
* profile-fr400.c (update_FR_ptime): Removed. Identical to functions
for other machines.
(update_FRdouble_ptime): Ditto.
* arch.h,cpu.h,sem.c,decode.[ch],model.c,sem.c: Regenerated.
brolley [Wed, 24 Sep 2003 19:04:54 +0000 (19:04 +0000)]
2003-09-24 Dave Brolley <brolley@redhat.com>
* frv.cpu (u-commit): New modelling unit for fr500.
(mwtaccg): Use frv_ref_SI to reference ACC40Sk as an input operand.
(commit-r): Use u-commit model for fr500.
(commit): Ditto.
(conditional-float-binary-op): Take profiling data as an argument.
Update callers.
(ne-float-binary-op): Ditto.
papadopo [Wed, 24 Sep 2003 13:47:46 +0000 (13:47 +0000)]
Remove test code.
papadopo [Wed, 24 Sep 2003 13:21:52 +0000 (13:21 +0000)]
* include/GL/glu.h (gluErrorUnicodeStringWIN): Add macro
function. MSDN suggests using gluErrorUnicodeStringWIN
instead of gluErrorString, as it allows both ANSI and Unicode
error strings.
* include/GL/glu.h (gluErrorUnicodeStringEXT): Make the
returned pointer const for consistency reasons.
papadopo [Wed, 24 Sep 2003 12:44:09 +0000 (12:44 +0000)]
* include/GL/glu.h (gluErrorUnicodeStringEXT): Add function.
Function exists in glu32.def but is undocumented on MSDN.
A Google search came up with this declaration.
papadopo [Wed, 24 Sep 2003 12:33:20 +0000 (12:33 +0000)]
* include/GL/glu.h: Rewritten from scratch. Started from GLU 1.3
headers from OpenGL Sample Implementation. Windows ships with
GLU 1.2 so some constants and functions were removed. Then some
typedef's and function declarations were reworked to look like
the previous GL/glu.h.
papadopo [Wed, 24 Sep 2003 10:03:38 +0000 (10:03 +0000)]
* include/uxtheme.h (PROPERTYORIGIN): the documentation of
PROPERTYORIGIN suggests it's `PROPERTYORIGIN' but experimentation
suggests it's actually `enum PROPERTYORIGIN'. Keep both.
* include/uxtheme.h (THEME_SIZE, THEMESIZE): MSDN suggests
it's either `THEME_SIZE' or `THEMESIZE' but experimentation
suggests it's actually `enum THEMESIZE'. Keep `THEME_SIZE'
and `enum THEMESIZE'.
papadopo [Wed, 24 Sep 2003 10:01:44 +0000 (10:01 +0000)]
Previous commit went wrong.
papadopo [Wed, 24 Sep 2003 09:29:19 +0000 (09:29 +0000)]
* include/uxtheme.h: New file.
* include/tmschema.h: New file.
* include/uxtheme.def: New file.
* lib/test.c: Include uxtheme.h, tmschema.h.
hilfingr [Wed, 24 Sep 2003 08:29:41 +0000 (08:29 +0000)]
* parser-defs.h (operator_length): Declare.
* parse.c (length_of_subexp): Use operator_length to get operator
lengths and arities for operators.
Move most code to new operator_length function.
(operator_length): New function absorbing most code from
length_of_subexp.
(prefixify_subexp): Remove large case and use operator_length instead.
(parse_exp_1): Use renamings:
dump_prefix_expression => dump_raw_expression and
dump_postfix_expression => dump_prefix_expression.
* expression.h (dump_prefix_expression): Rename to ...
(dump_raw_expression): New name.
(dump_postfix_expression): Rename to ...
(dump_prefix_expression): New name.
* expprint.c (dump_subexp): Make global. Add comment.
Move most existing code to dump_subexp_body.
(dump_subexp_body): New function.
(dump_prefix_expression): Rename to dump_raw_expression.
Remove attempt to print the expression via print_expression: it can't
work before the expression is prefixified.
(dump_raw_expression): Renamed from dump_prefix_expression.
(dump_postfix_expression): Rename to dump_prefix_expression, since
that's what it does.
Remove 'note' parameter, since this routine must be used on
prefixified expression.
(dump_prefix_expression): Renamed from dump_postfix_expression.
dannysmith [Wed, 24 Sep 2003 08:26:22 +0000 (08:26 +0000)]
* include/io.h (_fileno): Remove prototype.
(fileno): Likewise.
(FILENAME_MAX): Define, if needed.
Don't include <stdio.h>.
* include/stdio.h (FILENAME_MAX): Protect against
prior definition.
(_fileno): Define macro implementation.
(fileno): Likewise.
papadopo [Wed, 24 Sep 2003 08:02:42 +0000 (08:02 +0000)]
Didn't follow GNU standards in previous commits. Cleaning up.
dj [Wed, 24 Sep 2003 02:27:56 +0000 (02:27 +0000)]
* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
R_SH_LOOP_START,R_SH_LOOP_END): Move to "reserved" spaces.
(R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U,
R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U,
R_SH_PSHA, R_SH_PSHL): New.
* elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8,
R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces,
R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U,
R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U,
R_SH_PSHA, R_SH_PSHL added.
(sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8.
(sh_elf_relocate_section): Support new relocs.
dannysmith [Wed, 24 Sep 2003 01:06:09 +0000 (01:06 +0000)]
* include/inttypes.h: Include _mingw.h.
dannysmith [Wed, 24 Sep 2003 00:41:01 +0000 (00:41 +0000)]
* include/_mingw.h (__CRT_INLINE): Define.
* include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
throughout
* include/inttypes.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
gdbadmin [Wed, 24 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bwilson [Tue, 23 Sep 2003 20:23:54 +0000 (20:23 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
dynamic relocation offsets.
ezannoni [Tue, 23 Sep 2003 19:19:47 +0000 (19:19 +0000)]
2003-09-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/selftest.exp: Accomodate more instruction reordering
weirdness.
jimb [Tue, 23 Sep 2003 16:25:12 +0000 (16:25 +0000)]
* dwarf2read.c (read_array_type): When building the type for an
array of unspecified length, make sure to choose the upper bound
so that the array's total length comes out to be zero --- that's
how we represent such arrays.
papadopo [Tue, 23 Sep 2003 15:11:12 +0000 (15:11 +0000)]
This fixes regression in <winable.h> introduced by previous change.
papadopo [Tue, 23 Sep 2003 09:09:50 +0000 (09:09 +0000)]
New CHILDID_SELF constant.
More duplicates in <winuser.h> and <winable.h>.
papadopo [Tue, 23 Sep 2003 08:51:57 +0000 (08:51 +0000)]
Bring back OBJID_* and GUITHREADINFO constants in <winuser.h>.
Some constants and structures are duplicated in <winable.h> and <winuser.h>.
Add GUI_* and new KEYEVENTF_* constants.
papadopo [Tue, 23 Sep 2003 07:35:54 +0000 (07:35 +0000)]
add some missing constants
cgf [Tue, 23 Sep 2003 04:02:06 +0000 (04:02 +0000)]
* dcrt0.cc (do_exit): Eliminate "C" linkage. Call events_terminate early.
(exit_states): Move out of source file into header file.
* winsup.h: Move exit_states here. Remove "C" linkage from do_exit
declaration.
* debug.cc (lock_debug): Remove explicit (and incorrect) external for
exit_state.
* sigproc.cc (sig_dispatch_pending): Don't flush signals if exiting.
amodra [Tue, 23 Sep 2003 03:59:25 +0000 (03:59 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Free the
hash table using _bfd_generic_link_hash_table_free.
amodra [Tue, 23 Sep 2003 00:41:50 +0000 (00:41 +0000)]
o * ld-discard/exit.s: Correct .text.exit attributes.
* ld-discard/extern.s: Likewise.
* ld-discard/static.s: Likewise.
amodra [Tue, 23 Sep 2003 00:41:14 +0000 (00:41 +0000)]
* config/obj-elf.c (obj_elf_change_section): Adjust for
_bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS
to be set when defaults are not. Don't set attr from defaults if
old_sec.
amodra [Tue, 23 Sep 2003 00:40:48 +0000 (00:40 +0000)]
* elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change
type of prefix_length and suffix_length to int. Rename "attributes"
to "attr". Comment.
(_bfd_elf_get_sec_type_attr): Update prototype.
* elf.c (get_special_section): Rewrite.
(_bfd_elf_get_sec_type_attr): Return struct rather than passing in
attr and type pointers.
(_bfd_elf_new_section_hook): Adjust for above.
(special_sections): Merge suffix with prefix. Set
prefix_length for all entries. Set suffix_length appropriately.
* elf32-m32r.c (m32r_elf_special_sections): Likewise.
* elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise.
* elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise.
* elf32-mcore.c (mcore_elf_special_sections): Likewise.
* elf32-sh64.c (sh64_elf_special_sections): Likewise.
* elf32-v850.c (v850_elf_special_sections): Likewise.
* elf32-xtensa.c (elf_xtensa_special_sections): Likewise.
* elf64-alpha.c (elf64_alpha_special_sections): Likewise.
* elf64-hppa.c (elf64_hppa_special_sections): Likewise.
* elf64-ppc.c (ppc64_elf_special_sections): Likewise.
* elf64-sh64.c (sh64_elf64_special_sections): Likewise.
* elfxx-ia64.c (elfNN_ia64_special_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise.
* elf32-ppc.c (ppc_elf_special_sections): Likewise. Fix .plt flags.
gdbadmin [Tue, 23 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
chastain [Mon, 22 Sep 2003 23:20:54 +0000 (23:20 +0000)]
2003-09-22 Michael Chastain <mec@shout.net>
* gdbint.texinfo (Testsuite Organization): Change gdb.c++ to gdb.cp.
chastain [Mon, 22 Sep 2003 23:06:15 +0000 (23:06 +0000)]
2003-09-22 Michael Chastain <mec@shout.net>
* MAINTAINERS: Rename gdb.c++ to gdb.cp.
dannysmith [Mon, 22 Sep 2003 21:32:52 +0000 (21:32 +0000)]
2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
* mingwex/dirent.c (_topendir): Allocate enough memory for
DIR struct in UNICODE case too.
jjohnstn [Mon, 22 Sep 2003 17:46:28 +0000 (17:46 +0000)]
2003-09-22 Jeff Johnston <jjohnstn@redhat.com>
* top.c (quit_force): Fix indirect call to quit_target so
a struct qt_args pointer is passed.
cagney [Mon, 22 Sep 2003 17:45:00 +0000 (17:45 +0000)]
2003-09-22 Andrew Cagney <cagney@redhat.com>
* arch-utils.h (init_frame_pc_noop): Delete declaration.
* arch-utils.c (init_frame_pc_noop): Delete function.
* mn10300-tdep.c (mn10300_gdbarch_init): Do not set
"init_frame_pc".
* mips-tdep.c (mips_gdbarch_init): Ditto.
* i386-interix-tdep.c (i386_interix_init_abi): Ditto.
* config/sparc/tm-sparc.h (init_frame_pc_noop): Delete
declaration.
(DEPRECATED_INIT_FRAME_PC): Delete macro.
* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete
declaration.
(DEPRECATED_INIT_FRAME_PC): Delete macro.
cagney [Mon, 22 Sep 2003 17:41:02 +0000 (17:41 +0000)]
2003-09-22 Andrew Cagney <cagney@redhat.com>
* floatformat.h (struct floatformat): Add field "is_valid".
2003-09-22 Andrew Cagney <cagney@redhat.com>
* floatformat.c (floatformat_i387_ext_is_valid): New function.
(floatformat_always_valid): New function.
(floatformat_i387_ext): Initialize new "is_valid" field to
"floatformat_i387_ext_is_valid".
(floatformat_ieee_single_little): Initialize "is_valid" field to
floatformat_always_valid.
(floatformat_ieee_double_big): Ditto.
(floatformat_ieee_double_little): Ditto.
(floatformat_ieee_double_little): Ditto.
(floatformat_ieee_double_littlebyte_bigword): Ditto.
(floatformat_i960_ext): Ditto.
(floatformat_m88110_ext): Ditto.
(floatformat_m88110_harris_ext): Ditto.
(floatformat_arm_ext_big): Ditto.
(floatformat_arm_ext_littlebyte_bigword): Ditto.
(floatformat_ia64_spill_big): Ditto.
(floatformat_ia64_spill_little): Ditto.
(floatformat_ia64_quad_big): Ditto.
(floatformat_ia64_quad_little): Ditto.
(floatformat_ia64_quad_little): Ditto.
(floatformat_is_valid): Call "is_valid".
green [Mon, 22 Sep 2003 14:50:37 +0000 (14:50 +0000)]
Fix targ_ops declaration problem.
green [Mon, 22 Sep 2003 00:49:51 +0000 (00:49 +0000)]
Fix typos.
gdbadmin [Mon, 22 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
drow [Sun, 21 Sep 2003 19:31:18 +0000 (19:31 +0000)]
* configure.in: Pass a computed --program-transform-name
to subconfigures.
* configure: Regenerated.
drow [Sun, 21 Sep 2003 19:24:51 +0000 (19:24 +0000)]
* elf64-alpha.c (elf64_alpha_create_got_section): Initialize
->got if the section already exists.
kettenis [Sun, 21 Sep 2003 19:23:15 +0000 (19:23 +0000)]
* gdbint.texinfo (Target Architecture Definition): Document
stabs_argument_has_addr.
ths [Sun, 21 Sep 2003 16:40:29 +0000 (16:40 +0000)]
* ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure.
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n64.d: Likewise.
* ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
cagney [Sun, 21 Sep 2003 01:26:44 +0000 (01:26 +0000)]
2003-09-20 Andrew Cagney <cagney@redhat.com>
* breakpoint.c: Eliminate ARGSUSED.
* buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto.
* coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto.
* exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto.
* infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto.
* procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto.
* remote.c, sol-thread.c, source.c, stabsread.c: Ditto.
* stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto.
* utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto.
* wince.c, remote-vx.c: Ditto.
gdbadmin [Sun, 21 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
neroden [Sat, 20 Sep 2003 21:19:01 +0000 (21:19 +0000)]
* Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
* Makefile.in: Regenerate.
* Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc.
* Makefile.in: Regenerate.
cgf [Sat, 20 Sep 2003 20:24:33 +0000 (20:24 +0000)]
* kill.cc (main): Allow negative pids (indicates process groups).
cgf [Sat, 20 Sep 2003 19:51:48 +0000 (19:51 +0000)]
* spawn.cc (pthread_cleanup): New struct.
(do_cleanup): New function.
(spawn_guts): Initialize struct for pthread_cleanup handling to ensure proper
restoration of signals if/when thread is cancelled. Restore settings using
pthread_cancel_pop.
cagney [Sat, 20 Sep 2003 17:50:28 +0000 (17:50 +0000)]
2003-09-20 Andrew Cagney <cagney@redhat.com>
* cli/cli-script.c: Remove "register" attributes.
* config/pa/tm-hppa.h: Ditto.
* cli/cli-decode.c: Ditto.
* cli/cli-cmds.c: Ditto.
cagney [Sat, 20 Sep 2003 03:20:41 +0000 (03:20 +0000)]
2003-09-19 Andrew Cagney <cagney@redhat.com>
* sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to
DEPRECATED_NPC_REGNUM.
* sparc64nbsd-nat.c (getregs_supplies): Ditto.
cgf [Sat, 20 Sep 2003 03:15:56 +0000 (03:15 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 6.
cgf [Sat, 20 Sep 2003 02:43:18 +0000 (02:43 +0000)]
* thread.h (__reent_t::init_clib): Declare new function.
* thread.cc (__reent_t::init_clib): Define new function.
(pthread::thread_init_wrapper): Use __reent_t::init_clib to init local clib
storage and set std{in,out,err} appropriately.
cgf [Sat, 20 Sep 2003 02:39:31 +0000 (02:39 +0000)]
revert accidental checkin
cgf [Sat, 20 Sep 2003 02:38:39 +0000 (02:38 +0000)]
* win32-nat.c (mappings): Remove HAVE_SSE conditional.
cgf [Sat, 20 Sep 2003 00:43:33 +0000 (00:43 +0000)]
fix accidental checkin
cgf [Sat, 20 Sep 2003 00:31:12 +0000 (00:31 +0000)]
* syscalls.cc (system): Strip signal considerations from here so that they are
not inherited by a child process.
* spawn.cc (spawn_guts): Handle system() signal stuff here.
* winsup.h (_P_SYSTEM): Define.
amodra [Sat, 20 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 20 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
ths [Fri, 19 Sep 2003 23:34:15 +0000 (23:34 +0000)]
* gas/mips/elfel-rel.d: Add ABI specification.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel3.d: Likewise.
jimb [Fri, 19 Sep 2003 21:51:31 +0000 (21:51 +0000)]
* macrotab.c (macro_include): Use the correct comparison to find
the appropriate place for this inclusion in the list.
cagney [Fri, 19 Sep 2003 20:11:42 +0000 (20:11 +0000)]
Revert previous patch. Oops, didn't mean to yank the doco
cagney [Fri, 19 Sep 2003 20:09:43 +0000 (20:09 +0000)]
2003-09-19 Andrew Cagney <cagney@redhat.com>
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete.
(DEPRECATED_HPUX_TEXT_END): Define.
(deprecated_hpux_text_end): Declare.
(struct target_ops): Declare opaque.
* hppah-nat.c (text_end): Make static.
(deprecated_hpux_text_end): New function.
* exec.c (text_end): Delete global variable.
(NEED_TEXT_START_END): Do not define.
(exec_file_attach): Replace code computing "text_end" code with
call to DEPRECATED_HPUX_TEXT_END.
2003-09-19 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
documentation for NEED_TEXT_START_END.
msnyder [Fri, 19 Sep 2003 18:59:45 +0000 (18:59 +0000)]
2003-09-19 Michael Snyder <msnyder@redhat.com>
* sim/frv/nldqi.cgs: Remove. This insn was never implemented
by Fujitsu.
msnyder [Fri, 19 Sep 2003 18:59:13 +0000 (18:59 +0000)]
2003-09-19 Michael Snyder <msnyder@redhat.com>
* frv.cpu (nldqi): Delete unimplemented instruction.
brolley [Fri, 19 Sep 2003 17:38:56 +0000 (17:38 +0000)]
2003-09-19 Dave Brolley <brolley@redhat.com>
* sim/frv/rstqf.cgs: Use nldq instead of nldqi.
* sim/frv/rstq.cgs: Use nldq instead of nldqi.
cagney [Fri, 19 Sep 2003 16:22:38 +0000 (16:22 +0000)]
2003-09-19 Andrew Cagney <cagney@redhat.com>
* utils.c (align_up, align_down): New functions.
* defs.h (align_up, align_down): Declare.
* ppc-sysv-tdep.c (align_up, align_down): Delete functions.
* s390-tdep.c: Replace "round_up" and "round_down" with "align_up"
and "align_down".
(round_up, round_down): Delete functions.
* mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
"align_down".
(ROUND_DOWN, ROUND_UP): Delete macros.
(mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN".
* h8300-tdep.c: Replace "round_up" and "round_down" with
"align_up" and "align_down".
(round_up, round_down): Delete macros.
* frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
"align_down".
(ROUND_UP, ROUND_DOWN): Delete macros.
ths [Fri, 19 Sep 2003 15:39:42 +0000 (15:39 +0000)]
* gas/mips/rm7000.s: Let objdump print trailing dots.
ths [Fri, 19 Sep 2003 15:32:25 +0000 (15:32 +0000)]
* gas/mips/empic3_e.s: Fix typo.
nathan [Fri, 19 Sep 2003 09:01:52 +0000 (09:01 +0000)]
* dwarf2.c (decode_line_info): Cope with an initially empty
filename table.
brobecke [Fri, 19 Sep 2003 06:14:27 +0000 (06:14 +0000)]
* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
hard-coded constant. Use the proper machine name instead.
hjl [Fri, 19 Sep 2003 03:55:39 +0000 (03:55 +0000)]
2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
* acinclude.m4: Include ../config/accross.m4.
* aclocal.m4: Regenerated.
* configure.host (HOST_64BIT_TYPE): Remove if it is set to long
or long long.
(HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long.
(host64): Remove if HOST_64BIT_TYPE is set to long.
* configure.in (HOST_64BIT_TYPE): Set according to the size of
long and long long.
(HOST_U_64BIT_TYPE): Likewise.
(host64): Likewise.
* configure: Regenerated.
amodra [Fri, 19 Sep 2003 02:08:35 +0000 (02:08 +0000)]
* elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)
since some ABIs round up the size of the struct.
amodra [Fri, 19 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 19 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Thu, 18 Sep 2003 22:39:20 +0000 (22:39 +0000)]
2003-09-17 Andrew Cagney <cagney@redhat.com>
* sparc-tdep.c (legacy_register_name): Delete function.
* mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME.
(mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments.
* infcmd.c (gdb_register_name): Delete variable.
* gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to
REGISTER_NAME and "tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* dpx2-nat.c (regmap): Refer to REGISTER_NAME and not
REGISTER_NAMES in comments.
* remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto.
* m68klinux-nat.c (regmap): Ditto.
2003-09-18 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
documentation on REGISTER_NAMES.
hjl [Thu, 18 Sep 2003 19:01:46 +0000 (19:01 +0000)]
2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_merge_symbol): Allow type change if
the old symbol is undefined and the new symbol is defined.
corinna [Thu, 18 Sep 2003 18:54:46 +0000 (18:54 +0000)]
* fhandler_tty.cc (fhandler_pty_master::process_slave_output):
Handle buf == NULL as flushing the buffer.
(fhandler_tty_slave::read): Handle ptr == NULL as flushing the buffer.
(fhandler_tty_slave::tcflush): Implement input queue flushing by
calling read with NULL buffer.
(fhandler_pty_master::tcflush): Ditto, calling process_slave_output.
* termios.cc (tcflush): Check for legal `queue' value. Return
EINVAL otherwise.
schwab [Thu, 18 Sep 2003 09:10:40 +0000 (09:10 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Use
_bfd_generic_link_hash_table_create instead of
bfd_link_hash_table_create.
ths [Thu, 18 Sep 2003 05:20:03 +0000 (05:20 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
truncate values which won't fit im 32 bits.
(load_register): Likewise.
(macro): Likewise.
cgf [Thu, 18 Sep 2003 01:46:18 +0000 (01:46 +0000)]
* parse_pe.cc (exclusion::sort_and_check): Make error message a little more
explicit and ignore (hopefully) harmless region overlap.
chastain [Thu, 18 Sep 2003 00:04:39 +0000 (00:04 +0000)]
2003-09-17 Michael Chastain <mec@shout.net>
* gdb.cp/gdb1355.exp: New file.
* gdb.cp/gdb1355.c: New file.
amodra [Thu, 18 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 18 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 17 Sep 2003 21:47:12 +0000 (21:47 +0000)]
* syscalls.cc (gethostid): Add lpFreeBytesAvailable argument to
GetDiskFreeSpaceEx call since NT4 requires it.
jimb [Wed, 17 Sep 2003 21:34:28 +0000 (21:34 +0000)]
* Makefile.in (dis_asm_h): Note that this #includes "bfd.h".
dannysmith [Wed, 17 Sep 2003 20:41:53 +0000 (20:41 +0000)]
* include/winuser.h (UpdateLayeredWindow): Protect against NOGDI.
Thanks to Will Levine <willll@users.sourceforge.net>
carlton [Wed, 17 Sep 2003 20:40:15 +0000 (20:40 +0000)]
Fix ChangeLog entry to read 'gdb.cp' instead of 'gdb.c++'.
cagney [Wed, 17 Sep 2003 20:10:48 +0000 (20:10 +0000)]
2003-09-17 Andrew Cagney <cagney@redhat.com>
* ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function.
(ppcnbsd_init_abi): Set "use_struct_convention" to
"ppcnbsd_use_struct_convention".
drow [Wed, 17 Sep 2003 20:03:04 +0000 (20:03 +0000)]
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
quoting.
* configure: Regenerated.
kettenis [Wed, 17 Sep 2003 19:48:42 +0000 (19:48 +0000)]
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
* gdbarch.h, gdbarch.c: Regenerate.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.
cagney [Wed, 17 Sep 2003 15:42:16 +0000 (15:42 +0000)]
2003-09-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM.
* gdbarch.h, gdbarch.c: Regenerate.
* core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update.
* regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update.
* sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update.
* sparcnbsd-tdep.c: Update.
cagney [Wed, 17 Sep 2003 14:24:29 +0000 (14:24 +0000)]
2003-09-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update.
* d10v-tdep.c, frame.c: Update.
* hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
* hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
* ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update.
* mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update.
* mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update.
* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update.
* remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update.
* sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update.
* v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update.
* config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update.
* config/pa/nm-hppah.h: Update.
2003-09-17 Andrew Cagney <cagney@redhat.com>
* mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE.
amodra [Wed, 17 Sep 2003 11:27:39 +0000 (11:27 +0000)]
* config/tc-msp430.c (MAX_OP_LEN): Set to 256.
(msp430_operands): Remove redundant l2[16] within switch-case.
cgf [Wed, 17 Sep 2003 02:10:12 +0000 (02:10 +0000)]
* fhandler_process.cc (fhandler_process::fill_filebuf): Open pinfo with
PID_MAP_RW.
* sigproc.cc (talktome): Ditto for winpids.
cgf [Wed, 17 Sep 2003 01:43:27 +0000 (01:43 +0000)]
fix stupid typo
cgf [Wed, 17 Sep 2003 01:15:55 +0000 (01:15 +0000)]
* pinfo.h (winpids::pid_access): New element.
(winpids::winpids): Rejigger to set pinfo_access.
* pinfo.cc (winpids::add): Try to open shared memory region with supplied
pinfo_access first, then default to readonly.
* fhandler_termios.cc (tty_min::kill_pgrp): When getting list of pids to work
with, suggest opening with PID_MAP_RW.
* signal.cc (kill_pgrp): Ditto.
* sigproc.cc (sig_send): Perform a write check on todo prior to attempting to
increment it. Return EACCES if we can't write to it.
gdbadmin [Wed, 17 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 17 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update
cagney [Tue, 16 Sep 2003 23:33:17 +0000 (23:33 +0000)]
2003-09-16 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit
"use_struct_convention" to "ppc_linux_use_struct_convention".
(ppc_linux_use_struct_convention): New function.
* rs6000-tdep.c (rs6000_use_struct_convention): New function.
(rs6000_gdbarch_init): For AIX, set "use_struct_convention" to
"rs6000_use_struct_convention".
* ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete
declaration.
* ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
Delete function.
cagney [Tue, 16 Sep 2003 18:56:34 +0000 (18:56 +0000)]
2003-09-16 Andrew Cagney <cagney@redhat.com>
* buildsym.c: Remove more occurances of "register".
* coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto.
* environ.c, eval.c, f-valprint.c, findvar.c: Ditto.
* gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto.
* infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto.
* printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto.
* sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto.
* standalone.c, symfile.c, symmisc.c, symtab.c: Ditto.
* utils.c, valops.c, values.c, xcoffread.c: Ditto.
corinna [Tue, 16 Sep 2003 15:56:02 +0000 (15:56 +0000)]
* sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
numbers to enumeration values.
* sh-tdep.c: Accomodate above change.
(SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
(NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
(NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
(IS_ADD_IMM_SP): Rename from IS_ADD_SP.
(IS_FPUSH): Rename from IS_FMOV.
(sh_extract_struct_value_address): Remove useless comment.
(sh_dsp_register_sim_regno): Use register values from sh-tdep.h
instead of own local values.
(sh_dump_tdep): Remove.
(_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
* sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.