OSDN Git Service
gdbadmin [Sat, 16 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Fri, 15 Aug 2003 23:02:03 +0000 (23:02 +0000)]
Further multiarching work mostly for hppa64-*-hpux11:
* hppa-tdep.h: New file.
* hppa-tdep.c: #include hppa-tdep.c.
(hppa32_num_regs): Renamed from hppa_num_regs.
(hppa64_num_regs): New constant.
(hppa64_call_dummy_breakpoint_offset): New constant.
(hppa32_call_dummy_length): New constant.
(hppa64_call_dummy_length): New constant.
(hppa32_stack_align): Make name 32bit explicit.
(hppa32_register_virtual_type): Likewise.
(hppa32_extract_return_value): Likewise.
(hppa32_use_struct_convention): Likewise.
(hppa32_store_return_value): Likewise.
(hppa64_register_virtual_type): New function.
(hppa64_extract_return_value): New function.
(hppa64_use_struct_convention): New function.
(hppa64_store_return_value): New function.
(hppa_frame_locals_address): Remove declaration, function does
not exist anymore.
(hppa_register_byte): Add support for PA64 ABI.
(hppa_gdbarch_init): Add support for PA64 ABI.
* hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp):
Make name 32bit explicit.
(hppa32_hpux_frame_base_before_sigtramp): Likewise.
(hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise.
(hppa64_hpux_frame_saved_pc_in_sigtramp): New function.
(hppa64_hpux_frame_base_before_sigtramp): New function.
(hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function.
* config/pa/tm-hppa64.h: Remove macros that are no longer
necessary now that the gdbarch vector is properly setup.
Transform some macros into function calls. Some minor cleanup.
* config/pa/tm-hppah.h: Update function calls in macros
following the function renaming in hppa-hpux-tdep.c.
* Makefile.in (hppa_tdep_h): New variable.
(hppa-tdep.o): Add dependency over hppa_tdep_h.
chastain [Fri, 15 Aug 2003 21:47:31 +0000 (21:47 +0000)]
Add 'src-release'. 'src-release' was carved out of 'Makefile.in',
so use the same policy for it.
corinna [Fri, 15 Aug 2003 20:26:11 +0000 (20:26 +0000)]
* cygcheck.cc (main): Fix some formatting and help text printing.
* cygcheck.cc (find_package,list_package): New global
variables.
(usage): Add "--find-package" and "--list-package" options,
reformat output.
(longopts, opts): Add "--find-package" and "--list-package"
options.
(main): Process the "--find-package" and "--list-package"
flags. Add new semantic checks. Add calls to find_package()
and list_package().
* dump_setup.cc: Fix header comment.
(match_argv): Change return type to int to distinguish
between real matches and default ones.
(open_package_list): New static function.
(check_package_files): Factor out opening the package list
file into open_package_list().
(get_packages): New static function.
(dump_setup): Factor out getting a list of packages into
get_packages().
(package_list, package_find): New global functions.
nickc [Fri, 15 Aug 2003 17:04:47 +0000 (17:04 +0000)]
* Makefile.am (GENSCRIPTS_EXTRA): New script definition which calls
genscripts_extra.sh.
Rearrange all msp430 depends using this script.
* Makefile.in: Regenerate.
* genscripts_extra.sh: New file: Similar to genscripts.sh, except that the
script to be run to generate the emulations can be passed
as an optional parameter instead of being computed from the
emulation name.
* emulparams/msp430all.sh: New file: Combine all msp430 subdevice definitions
into one file.
* emulparams/msp430x*.sh: Removed.
corinna [Fri, 15 Aug 2003 12:05:08 +0000 (12:05 +0000)]
* mmap.cc (mmap64): Avoid crash if file size is less than requested
map length.
nickc [Fri, 15 Aug 2003 09:42:16 +0000 (09:42 +0000)]
Put the keywords for the -z option into a table.
Add more text describing what the -z now option does.
corinna [Fri, 15 Aug 2003 08:58:54 +0000 (08:58 +0000)]
* regtool.cc (usage): Add missing linefeed. Move example to --help
text. Fix forward slash description.
dannysmith [Fri, 15 Aug 2003 03:04:25 +0000 (03:04 +0000)]
2003-08-15 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/shguid.h (CLSID_DragDropHelper, IID_IDropTargetHelper,
IID_IDragSourceHelper): Declare.
* lib/shell32.c (CLSID_DragDropHelper, IID_IDropTargetHelper,
IID_IDragSourceHelper): Define.
dannysmith [Fri, 15 Aug 2003 02:19:54 +0000 (02:19 +0000)]
2003-08-15 Andrew Greenwood <lists@silverblade.co.uk>
* include/wingdi.h (DEVMODE[AW]) Correct structure definition.
* include/ddk/ntapi.h (LPC_TYPE): Add LPC_CONNECTION_REFUSED.
* include/ddk/winddk.h (IRP_*): Add constants as anonymous enum.
amodra [Fri, 15 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 15 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Thu, 14 Aug 2003 21:39:05 +0000 (21:39 +0000)]
2003-08-14 Michael Snyder <msnyder@redhat.com>
* disasm.c (gdb_disassemble_info): Set info->insn_sets to zero.
dj [Thu, 14 Aug 2003 20:44:13 +0000 (20:44 +0000)]
* config-ml.in, symlink-tree: Add license.
chastain [Thu, 14 Aug 2003 19:11:09 +0000 (19:11 +0000)]
2003-08-06 Michael Chastain <mec@shout.net>
* gdb.java/jmisc1.exp: Add test for pr gdb/1322.
nickc [Thu, 14 Aug 2003 17:11:07 +0000 (17:11 +0000)]
Update regexp for destination address of unrelocated branch instructions so
that they point to themselves.
rsandifo [Thu, 14 Aug 2003 09:30:34 +0000 (09:30 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
code to work with 64-bit bfds.
amodra [Thu, 14 Aug 2003 08:05:43 +0000 (08:05 +0000)]
* config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER
code.
* config/tc-i386.c: Likewise.
(RELOC_ENUM): Don't define. Replace throughout with enum.
amodra [Thu, 14 Aug 2003 07:15:36 +0000 (07:15 +0000)]
* dep-in.sed: Remove libintl.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
amodra [Thu, 14 Aug 2003 07:06:45 +0000 (07:06 +0000)]
fix typo
amodra [Thu, 14 Aug 2003 07:04:57 +0000 (07:04 +0000)]
* dep-in.sed: Remove libintl.h.
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
* Makefile.in: Regenerate.
amodra [Thu, 14 Aug 2003 07:04:30 +0000 (07:04 +0000)]
* dep-in.sed: Remove libintl.h.
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
* Makefile.in: Regenerate.
amodra [Thu, 14 Aug 2003 07:04:09 +0000 (07:04 +0000)]
* dep-in.sed: Remove libintl.h. Ignore include/fpoen-*.h
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
Run "make dep-am".
* Makefile.in: Regenerate.
amodra [Thu, 14 Aug 2003 07:03:41 +0000 (07:03 +0000)]
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
* Makefile.in: Regenerate.
amodra [Thu, 14 Aug 2003 07:03:18 +0000 (07:03 +0000)]
* dep-in.sed: Remove libintl.h.
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
Run "make dep-am".
* Makefile.in: Regenerate.
amodra [Thu, 14 Aug 2003 07:02:59 +0000 (07:02 +0000)]
* dep-in.sed: Remove libintl.h.
* Makefile.am (SRC-POTFILES.in, BLD-POTFILES.in): Unset LC_COLLATE.
(POTFILES.in): Remove target.
* Makefile.in: Regenerate.
brobecke [Thu, 14 Aug 2003 00:23:51 +0000 (00:23 +0000)]
* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct
bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization
routine.
amodra [Thu, 14 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 14 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Wed, 13 Aug 2003 21:59:19 +0000 (21:59 +0000)]
2003-08-13 Michael Snyder <msnyder@redhat.com>
* frv-tdep.c (frv_push_arguments): Use deprecated ftype.
(frv_saved_pc_after_call): Use deprecated ftype.
(stupid_useless_init_extra_frame_info): Remove orphan prototype.
(frv_remote_translate_xfer_address): Remove.
(frv_gdbarch_init): Use generic_remote_translate_xfer_address.
corinna [Wed, 13 Aug 2003 19:37:40 +0000 (19:37 +0000)]
* dump_setup.cc (check_package_files): Fix extra '/' in filename.
Resize command buffer. Fix buffer overflow bug.
brobecke [Wed, 13 Aug 2003 18:57:01 +0000 (18:57 +0000)]
* hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch
initialization after the common gdbarch initialization, not before.
brobecke [Wed, 13 Aug 2003 18:05:39 +0000 (18:05 +0000)]
* config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
(ADDR_BITS_REMOVE): Remove, redundant.
jjohnstn [Wed, 13 Aug 2003 17:45:31 +0000 (17:45 +0000)]
2003-08-13 Aldy Hernandez <aldyh@redhat.com>
* libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
extern "C".
jjohnstn [Wed, 13 Aug 2003 17:36:09 +0000 (17:36 +0000)]
2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h: Add prototypes for __signbitf and
__signbitd.
corinna [Wed, 13 Aug 2003 17:28:00 +0000 (17:28 +0000)]
* path.cc (special_name): Add checks for some specials followed by
a "." and a FIXME comment.
brobecke [Wed, 13 Aug 2003 17:09:09 +0000 (17:09 +0000)]
* hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
gdbarch method to clear the 2 low bits of text addresses.
corinna [Wed, 13 Aug 2003 11:28:42 +0000 (11:28 +0000)]
* cygwin.din: Accomodate change from cygwin_lstat to lstat.
* syscalls.cc: Add defines to avoid declaration issues when
renaming cygwin_lstat back to lstat.
(lstat): Reverted name change from cygwin_lstat.
amodra [Wed, 13 Aug 2003 08:38:23 +0000 (08:38 +0000)]
* genscripts.sh (libpath.exp): Only generate for first emulation.
(LIB_PATH): Correct order of paths. Don't add $tool_lib when
already present or when LIB_PATH is set to ":".
amodra [Wed, 13 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 13 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Tue, 12 Aug 2003 22:27:19 +0000 (22:27 +0000)]
2003-08-12 Michael Snyder <msnyder@redhat.com>
* gdb.base/float.exp: Add test for SH.
cagney [Tue, 12 Aug 2003 19:34:19 +0000 (19:34 +0000)]
2003-08-12 Andrew Cagney <cagney@redhat.com>
* Makefile.in (dsrec.o): Update dependencies.
* dsrec.c: Include "gdb_assert.h".
(make_srec): Use snprintf instead of sprintf, use a literal format
string.
jjohnstn [Tue, 12 Aug 2003 18:06:01 +0000 (18:06 +0000)]
2003-08-12 Jeff Johnston <jjohnstn@redhat.com>
* i386/cygmon-salib.c (unlink): New stub.
cagney [Tue, 12 Aug 2003 17:45:10 +0000 (17:45 +0000)]
2003-08-12 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of
FRAME_OBSTACK_ZALLOC.
ian [Tue, 12 Aug 2003 16:46:17 +0000 (16:46 +0000)]
* ldmain.c (undefined_symbol): Change parameter name from `fatal'
to `error'. If only a warning, put warning in the reported
string. Consistently set failure flag when not a warning.
kevinb [Tue, 12 Aug 2003 16:12:32 +0000 (16:12 +0000)]
* i386-tdep.c (i386_gdbarch_init): Enable default support for
SSE registers.
dj [Tue, 12 Aug 2003 12:23:41 +0000 (12:23 +0000)]
merge from gcc
corinna [Tue, 12 Aug 2003 10:23:39 +0000 (10:23 +0000)]
* include/sys/param.h (NBBY): Define if not defined.
* include/sys/param.h (setbit): Add new bitmap related macro.
(clrbit): Likewise.
(isset): Likewise.
(isclr): Likewise.
(howmany): Add new counting/rounding macro.
(rounddown): Likewise.
(roundup): Likewise.
(roundup2): Likewise.
(powerof2): Likewise
(MIN): Add macro for calculating min.
(MAX): Add macro for calculating max.
amodra [Tue, 12 Aug 2003 05:58:10 +0000 (05:58 +0000)]
* elf64-ppc.c (ppc64_elf_next_input_section): Update comment.
(ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs,
use the function sym from the previous reloc.
amodra [Tue, 12 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 12 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Mon, 11 Aug 2003 23:20:05 +0000 (23:20 +0000)]
2003-07-22 Michael Snyder <msnyder@redhat.com>
* gdb.disasm/8300s.s: Fix syntax of bsr insn.
* gdb.disasm/h8300s.exp : Minor changes in disassembler output require
patterns to be more general, accepting old and new output.
Some output chars (such as '+') also must be quoted.
Some addresses are displayed numerically instead of
symbolically.
msnyder [Mon, 11 Aug 2003 19:36:23 +0000 (19:36 +0000)]
2003-08-11 Michael Snyder <msnyder@redhat.com>
* macl.s: New file.
* macw.s: New file.
* allinsn.exp: Add new tests for mac.w and mac.l.
msnyder [Mon, 11 Aug 2003 19:28:05 +0000 (19:28 +0000)]
2003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com>
* sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and
correction for MAC.W handler
* sim/sh/interp.c ( macl ): New Function. Implementation of
MAC.L handler.
kettenis [Mon, 11 Aug 2003 16:55:20 +0000 (16:55 +0000)]
* x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,
amd64fbsd_sc_reg_offset): Add extern declarations.
* amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern
declarations.
ian [Mon, 11 Aug 2003 16:34:18 +0000 (16:34 +0000)]
* readelf.c (process_archive): Fix error handling. Remove memory
leak.
jakub [Mon, 11 Aug 2003 14:26:10 +0000 (14:26 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Make undefined symbols
fatal if -pie.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
(ppc_elf_relocate_section) <case R_PPC_RELAX32>: Issue fatal error
on undefined symbols if -pie.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
amodra [Mon, 11 Aug 2003 11:31:00 +0000 (11:31 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o
branch to __libc_start_main.
nickc [Mon, 11 Aug 2003 09:15:55 +0000 (09:15 +0000)]
Add ability for readelf to parse archives
amodra [Mon, 11 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 11 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
bje [Sun, 10 Aug 2003 22:05:13 +0000 (22:05 +0000)]
* MAINTAINERS (write after approval): Update my mail address.
cagney [Sun, 10 Aug 2003 19:58:21 +0000 (19:58 +0000)]
2003-08-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (monitor.o): Do not build monitor.c with -Werror.
kettenis [Sun, 10 Aug 2003 18:32:09 +0000 (18:32 +0000)]
* i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386obsd_sigtramp_start, i386obsd_sigtramp_end,
i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset,
i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset,
i386bsd_sc_reg_offset): Add extern declarations.
* i386obsd-nat.c: Include "i386-tdep.h"
(_initialize_i386obsd_nat): Remove extern declarations.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern
declarations.
* i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern
declarations.
kettenis [Sun, 10 Aug 2003 18:06:05 +0000 (18:06 +0000)]
* i386-tdep.c (i386_register_to_value): Use get_frame_register
instead of frame_read_register.
(i386_fetch_pointer_argument): Use get_frame_register_unsigned
instead of frame_read_register. Use I386_ESP_REGNUM instead of
SP_REGNUM.
(i386_frame_prev_register): Use frame_unwind_register_unsigned
instead of frame_unwind_unsigned_register. Use
I386_EFLAGS_REGISTER instead of PS_REGNUM.
(i386_get_longjmp_target): Use regcache_read_unsigned_register
instead of read_register. Use builtin_type_void_data_ptr instead
of builtin_type_void_func_ptr when extracting the address of the
jmp_buf.
(i386_extract_return_value, i386_store_return_value,
i386_pseudo_register_read, i386_pseudo_register_write): Use
register_size instead REGISTER_RAW_SIZE.
(i387_print_float_info): Use get_frame_register and
get_frame_register_unsigned instead of frame_register_read.
cagney [Sun, 10 Aug 2003 17:19:22 +0000 (17:19 +0000)]
2003-08-10 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Use xstrprintf instead of
sprintf. Make "name" constant.
kettenis [Sun, 10 Aug 2003 17:01:31 +0000 (17:01 +0000)]
* i387-tdep.c (i387_register_to_value): Use get_frame_register
instead of frame_read_register.
kettenis [Sun, 10 Aug 2003 16:46:07 +0000 (16:46 +0000)]
* i386fbsd-nat.c: Include "i386-tdep.h".
(child_resume): Make `eflags' an ULONGEST. Use
regcache_cooked_read_unsigned and regcache_cooked_write_unsigned
instead of register_read and register_write.
kettenis [Sun, 10 Aug 2003 16:22:14 +0000 (16:22 +0000)]
* i386bsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Don't use && at the end of a line.
(_initialize_i386bsd_nat): Fix typo.
kettenis [Sun, 10 Aug 2003 14:56:22 +0000 (14:56 +0000)]
* frame.c (_initialize_frame): Add missing backslash.
kettenis [Sun, 10 Aug 2003 14:05:46 +0000 (14:05 +0000)]
* sol-thread.c (sol_thread_store_registers): Use regcache_collect
and supply_register instead of manipulating the register buffer
directly.
From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
kettenis [Sun, 10 Aug 2003 13:49:32 +0000 (13:49 +0000)]
From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
* config/i386/nm-i386sol2.h
(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.
kettenis [Sun, 10 Aug 2003 12:15:15 +0000 (12:15 +0000)]
Based on a patch from Michael Elizabeth Chastain (mec@shout.net):
* i386-tdep.c (i386_analyze_frame_setup): Recognize more
instructions that GCC likes to mingle into the prologue. Fixes
gdb/1253 and gdb/1255.
kettenis [Sun, 10 Aug 2003 11:55:58 +0000 (11:55 +0000)]
* gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
bje [Sun, 10 Aug 2003 10:42:21 +0000 (10:42 +0000)]
* MAINTAINERS: Update my mail address.
dannysmith [Sun, 10 Aug 2003 09:19:05 +0000 (09:19 +0000)]
* lib/uuid.c (CGID_Explorer, CGID_ShellDocView,
CGID_ShellServiceObject): Remove definitions.
* lib/shell32.c (CGID_ShellServiceObject): Add definition.
Correct last ChangeLog entry for lib/shell32.def.
cgf [Sun, 10 Aug 2003 01:07:04 +0000 (01:07 +0000)]
* dump_setup.cc (dump_setup): Check for the existence of the package list file.
Rework slightly to use static buffer for popen commands.
dannysmith [Sun, 10 Aug 2003 00:40:01 +0000 (00:40 +0000)]
2003-08-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/shlobj.h (SHELLSTATE): Add structure.
(SHGetSetSettings): Add prototype.
(SHGetSettings): Add prototype.
* lib/user32.def (SHGetSetSettings): Add stub.
2003-08-10 Phil Krylov <likewolf@users.sourceforge.net>
* include/commctrl.h (HDM_ORDERTOINDEX): Add define.
(Header_OrderToIndex): Add macro.
(Header_GetOrderArray): Add macro.
* include/commdlg.h (FR_MATCHALEFHAMZA,
FR_MATCHDIAC, FR_MATCHKASHIDA): Add defines.
2003-08-10 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/commctrl.h (TVM_GETSCROLLTIME,
TVM_SETSCROLLTIME): Add defines.
gdbadmin [Sun, 10 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 10 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Sat, 9 Aug 2003 16:32:22 +0000 (16:32 +0000)]
* dump_setup.cc (version_len): New static variable.
(could_not_access,directory_exists): New static function.
(file_exists): Ditto.
(check_package_files): Ditto.
(dump_setup): Check the contents of each package if check_files is true and
output the result in the "Status" column. Flush output after each package.
* dump_setup.cc (dump_setup): Remove redundant null check. Add informative
message if package info not found.
cgf [Sat, 9 Aug 2003 16:32:02 +0000 (16:32 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 3.
cagney [Sat, 9 Aug 2003 15:10:08 +0000 (15:10 +0000)]
2003-08-09 Andrew Cagney <cagney@redhat.com>
Fix GDB PR cli/926.
* cli/cli-decode.c (add_setshow_uinteger_cmd): New function.
* command.h (add_setshow_uinteger_cmd): Declare.
* frame.c (set_backtrace_cmd): New function.
(show_backtrace_cmd): New function.
* frame.c (_initialize_frame): Replace "set/show
backtrace-below-main" with "set/show backtrace past-main". Add
command "set/show backtrace limit".
(backtrace_past_main): Rename "backtrace_below_main".
(backtrace_limit): New variable.
(get_prev_frame): Update. Check the backtrace_limit.
2003-08-09 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main"
with "set/show backtrace past-main" and "set/show backtrace
limit".
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.174
diff -u -r1.174 gdb.texinfo
--- doc/gdb.texinfo 8 Aug 2003 01:58:00 -0000 1.174
+++ doc/gdb.texinfo 9 Aug 2003 14:57:10 -0000
@@ -3922,27 +3922,40 @@
value, indicating that your program has stopped at the beginning of the
code for line @code{993} of @code{builtin.c}.
-@kindex set backtrace-below-main
-@kindex show backtrace-below-main
+@kindex set backtrace past-main
+@kindex show backtrace past-main
+@kindex set backtrace limit
+@kindex show backtrace limit
-Most programs have a standard entry point---a place where system libraries
-and startup code transition into user code. For C this is @code{main}.
-When @value{GDBN} finds the entry function in a backtrace it will terminate
-the backtrace, to avoid tracing into highly system-specific (and generally
-uninteresting) code. If you need to examine the startup code, then you can
-change this behavior.
+Most programs have a standard user entry point---a place where system
+libraries and startup code transition into user code. For C this is
+@code{main}. When @value{GDBN} finds the entry function in a backtrace
+it will terminate the backtrace, to avoid tracing into highly
+system-specific (and generally uninteresting) code.
+
+If you need to examine the startup code, or limit the number of levels
+in a backtrace, you can change this behavior:
@table @code
-@item set backtrace-below-main off
+@item set backtrace past-main
+@itemx set backtrace past-main on
+Backtraces will continue past the user entry point.
+
+@item set backtrace past-main off
Backtraces will stop when they encounter the user entry point. This is the
default.
-@item set backtrace-below-main
-@itemx set backtrace-below-main on
-Backtraces will continue past the user entry point to the top of the stack.
+@item show backtrace past-main
+Display the current user entry point backtrace policy.
+
+@item set backtrace limit @var{n}
+@itemx set backtrace limit 0
+@cindex backtrace limit
+Limit the backtrace to @var{n} levels. A value of zero means
+unlimited.
-@item show backtrace-below-main
-Display the current backtrace policy.
+@item show backtrace limit
+Display the current limit on backtrace levels.
@end table
@node Selection
cagney [Sat, 9 Aug 2003 14:57:30 +0000 (14:57 +0000)]
2003-08-09 Andrew Cagney <cagney@redhat.com>
* defs.h (xstrprintf): Declare.
* utils.c (xstrprintf): New function.
* breakpoint.c (insert_breakpoints): Replace sprintf and
non-literal format strings, with xstrprintf and cleanups.
(delete_breakpoint,breakpoint_re_set): Ditto.
(commands_command, insert_breakpoints): Ditto.
(bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto.
(break_at_finish_command_1): Ditto.
cagney [Sat, 9 Aug 2003 14:38:53 +0000 (14:38 +0000)]
2003-08-09 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS (language support): List Adam Fedor as Objective C
maintainer.
cagney [Sat, 9 Aug 2003 14:10:49 +0000 (14:10 +0000)]
2003-08-09 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop
maintenance. List igen and sh maintainers. Mention that target
and global maintainers pick up the slack.
meissner [Sat, 9 Aug 2003 00:46:53 +0000 (00:46 +0000)]
fix typo in ChangeLog
meissner [Sat, 9 Aug 2003 00:39:21 +0000 (00:39 +0000)]
regenerate cgen files after prototype fix
gdbadmin [Sat, 9 Aug 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 9 Aug 2003 00:00:07 +0000 (00:00 +0000)]
daily update
meissner [Fri, 8 Aug 2003 23:01:28 +0000 (23:01 +0000)]
Fix typos in last change
brobecke [Fri, 8 Aug 2003 22:26:37 +0000 (22:26 +0000)]
* NEWS (Multi-arched targets): Document that all hppa-hpux targets
are now multiarched.
brobecke [Fri, 8 Aug 2003 22:10:48 +0000 (22:10 +0000)]
* config/pa/tm-hppa64.h: Remove lots of macros that are no
longer necessary now that hppa64 is partially multiarch'ed.
meissner [Fri, 8 Aug 2003 21:22:41 +0000 (21:22 +0000)]
fix changelog date
meissner [Fri, 8 Aug 2003 21:21:24 +0000 (21:21 +0000)]
Convert cgen to C-90
ciceron [Fri, 8 Aug 2003 21:02:24 +0000 (21:02 +0000)]
* dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
control the translation.
(m68hc11tim_print_timer): Update cycle_to_string conversion.
(m68hc11tim_timer_event): Fix handling of output
compare register with its interrupts.
(m68hc11tim_io_write_buffer): Check output compare
after setting M6811_TMSK1.
(m68hc11tim_io_read_buffer): Fix compilation warning.
* dv-m68hc11.c (m68hc11_option_handler): Likewise.
* dv-m68hc11spi.c (m68hc11spi_info): Likewise.
* dv-m68hc11sio.c (m68hc11sio_info): Likewise.
* interrupts.c (interrupts_info): Likewise.
(interrupts_reset): Recognize bootstrap mode.
* sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
(_sim_cpu): Add cpu_start_mode.
(cycle_to_string): Add flags member.
* m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
(cpu_options): Declare new option bootstrap.
(cpu_option_handler): Handle it.
(cpu_info): Update call to cycle_to_string.
ciceron [Fri, 8 Aug 2003 21:00:55 +0000 (21:00 +0000)]
* dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
control the translation.
(m68hc11tim_print_timer): Update cycle_to_string conversion.
(m68hc11tim_timer_event): Fix handling of output
compare register with its interrupts.
(m68hc11tim_io_write_buffer): Check output compare
after setting M6811_TMSK1.
(m68hc11tim_io_read_buffer): Fix compilation warning.
* dv-m68hc11.c (m68hc11_option_handler): Likewise.
* dv-m68hc11spi.c (m68hc11spi_info): Likewise.
* dv-m68hc11sio.c (m68hc11sio_info): Likewise.
* interrupts.c (interrupts_info): Likewise.
(interrupts_reset): Recognize bootstrap mode.
* sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
(_sim_cpu): Add cpu_start_mode.
(cycle_to_string): Add flags member.
* m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
(cpu_options): Declare new option bootstrap.
(cpu_option_handler): Handle it.
(cpu_info): Update call to cycle_to_string.
ciceron [Fri, 8 Aug 2003 20:42:21 +0000 (20:42 +0000)]
* sim-main.h (phys_to_virt): Use memory bank parameters to translate
the physical address in virtual address.
(struct _sim_cpu): Add memory bank members.
* m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
* interp.c (sim_hw_configure): Create memory bank according to memory
bank parameters.
(sim_get_bank_parameters): New function to obtain memory bank config
from the symbol table.
(sim_prepare_for_program): Call it to obtain the memory bank parameters.
(sim_open): Call sim_prepare_for_program.
* dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
to check if address is within bank window.
(m68hc11cpu_io_read_buffer): Likewise.
(attach_m68hc11_regs): Map the memory bank according to memory bank
parameters.
ciceron [Fri, 8 Aug 2003 20:31:10 +0000 (20:31 +0000)]
* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.