Commit Graph

16852 Commits

Author SHA1 Message Date
gdbadmin c32688fb1a *** empty log message *** 2004-07-09 00:00:02 +00:00
Jim Blandy 61ce229a50 * rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted. 2004-07-08 23:43:47 +00:00
Jeff Johnston 935c276026 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmain.exp: Fix expected line number for main to
        break at.  Set XFAIL for break at main test since gcj does not
        provide line number info for first statement in main.
2004-07-08 21:00:45 +00:00
Andrew Cagney 1279f4ffe5 2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Cleanup copyright.  Re-indent.
2004-07-08 20:04:47 +00:00
Andrew Cagney 1544280f1d 2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp: Make the common part of each test name a
	prefix instead of suffix.
2004-07-08 14:19:21 +00:00
Bob Rossi 09bcec8017 Fix crash in symtab.c. 2004-07-08 11:18:27 +00:00
Bob Rossi bcc82369d2 I added the testcase for -file-list-exec-source-files to mi2-file.exp.
It should have been added to mi-file.exp. So, here it is.
2004-07-08 01:57:51 +00:00
gdbadmin b0e0c09da0 *** empty log message *** 2004-07-08 00:00:32 +00:00
Jeff Johnston 23f4b0aa1b 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmisc.exp: Fix expected output of ptype to look for
        the jmisc() constructor instead of <init>.
        * gdb.java/jmisc1.exp: Ditto.
2004-07-07 20:08:03 +00:00
Andrew Cagney 56401cd585 2004-07-07 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp (stepi_out): Check for a single step
	corrupting the PC.
2004-07-07 17:30:10 +00:00
gdbadmin 5c02dc5924 *** empty log message *** 2004-07-07 00:00:32 +00:00
Michael Chastain 44ae2f6a11 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept whitespace change in demangler
	output.
2004-07-06 19:36:10 +00:00
Jeff Johnston 31c27f7773 2004-07-06 Jeff Johnston <jjohnstn@redhat.com>
* language.h (struct_language_defn): Add new function pointer:
        la_class_name_from_physname.  Also add new prototype for
        language_class_name_from_physname.
        * language.c (language_class_name_from_physname): New function.
        (unk_lang_class_name): Ditto.
        (unknown_language_defn, auto_language_defn): Change
        to add unk_lang_class_name function pointer for
        la_class_name_from_physname.
        (local_language_defn): Ditto.
        * dwarf2read.c (guess_structure_name): Change to call
        language_class_name_from_physname.
        (determine_class_name): Ditto.
        * cp-support.c (class_name_from_physname): Renamed.
        (cp_class_name_from_physname): New name of function.
        * cp-support.h: Ditto.
        * c-lang.c (c_language_defn): Change to add NULL
        for class_name_from_physname function pointer.
        (cplus_language_defn): Change to add cp_class_name_from_physname.
        * jv-lang.c (java_class_name_physname): New function.
        (java_find_last_component): New static routine.
        (java_language_defn): Add java_class_name_from_physname pointer.
        * ada-lang.c (ada_language_defn): Change to add NULL
        for class_name_from_physname function pointer.
        * f-lang.c (f_language_defn): Ditto.
        * m2-lang.c (m2_language_defn): Ditto.
        * objc-lang.c (objc_language_defn): Ditto.
        * p-lang.c (pascal_language_defn): Ditto.
        * scm-lang.c (scm_language_defn): Ditto.
2004-07-06 19:29:31 +00:00
Andrew Cagney 45a83408cd 2004-07-06 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2004-07-06 15:08:54 +00:00
Andrew Cagney ee28ca0fd6 2004-07-06 Andrew Cagney <cagney@gnu.org>
Patch from Bart Robinson.
	* corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
	(O_LARGEFILE): Define to 0, if not defined.
2004-07-06 14:24:06 +00:00
gdbadmin b8b50ea9bd *** empty log message *** 2004-07-06 00:00:33 +00:00
Mark Kettenis 7561d4504f * gdb.texinfo (BSD libkvm Interface): New node (section)
(Native): Add it to the menu.
2004-07-05 15:31:35 +00:00
gdbadmin cd65252a6c *** empty log message *** 2004-07-05 00:00:32 +00:00
gdbadmin 2405c5d661 *** empty log message *** 2004-07-04 00:00:33 +00:00
Mark Kettenis cb162ff6d2 * m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
(m68kbsd_supply_pcb): New function.
(_initialize_m68kbsd_nat): New prototype and function.
* Makefile.in (m68kbsd-nat.o): Update dependencies.
* config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2004-07-03 15:14:48 +00:00
Mark Kettenis fdb1bf9d27 * bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization. 2004-07-03 13:17:33 +00:00
Mark Kettenis 963c417494 * bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
(bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
(bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
command and "kvm proc" command.
* Makefile.in (bsd-kvm.o): Update dependencies.
2004-07-03 13:11:39 +00:00
gdbadmin 9dab8cf230 *** empty log message *** 2004-07-03 00:00:04 +00:00
Mark Kettenis 533f1d8fc5 * osabi.c: Update copyright year.
(generic_elf_osabi_sniffer): Tweak comment.  Look for OS-specific
notes if EI_OSABI is set to ELFOSABI_HPUX.
2004-07-02 21:27:17 +00:00
Joel Brobecker 6e0cdd28ec Fix ChangeLog entry for the last change to i386-cygwin-tdep.c. 2004-07-02 21:09:45 +00:00
Michael Chastain d205ad70f2 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
	* lib/compiler.cc: Likewise.
2004-07-02 04:18:17 +00:00
gdbadmin c721be7224 *** empty log message *** 2004-07-02 00:00:02 +00:00
Michael Snyder 6780dcde86 2004-07-01 Michael Snyder <msnyder@redhat.com>
* win32-nat.c (core_dll_symbols_add): Re-indent a small section
        that seems to have gotten whacked out of line.
2004-07-01 21:34:02 +00:00
Mark Kettenis 67bebe794b * dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
code.
2004-07-01 20:25:54 +00:00
Paul N. Hilfinger 0b5d887791 * ada-lang.c (decode_packed_array): Minor change to comment.
(ada_value_slice_ptr): New function.
(ada_value_slice): New function.
(ada_evaluate_subexp): Remove XVS-suffix code from subscripting
test.  Don't know why it is there.
Change slice code to use ada_value_slice_ptr and ada_value_slice, and
to avoid dereferencing huge arrays from which one is slicing.
(empty_array): Correct to return an array rather than
a subrange value.
* ada-valprint.c (print_optional_low_bound): Don't print lower bound
on empty arrays (let'em use 'FIRST instead).
2004-07-01 10:30:57 +00:00
Paul N. Hilfinger 19c1ef65d7 Address complaints from gdb_ari.sh:
* ada-exp.y: Include gdb_string.h rather than string.h.
(convert_char_literal): Reformat declaration.
* ada-lang.h: Include opaque struct declaration for struct frame_info.
* ada-lex.l: Change use of free to xfree (the macro would do so
anyway, but this is harmless).
Include gdb_string.h rather than string.h.
* ada-valprint.c (ada_val_print_stub): Change PTR => void*.

* ada-lang.c (parse): Remove K&Rism in parameter list.
(is_name_suffix): Correct Linux => GNU/Linux in comment.
2004-07-01 10:11:11 +00:00
gdbadmin cc83d33996 *** empty log message *** 2004-07-01 00:00:33 +00:00
Mark Kettenis 1a6923e031 * gdbint.texinfo (Target Architecture Definition): Remove
SUN_FIXED_LBRAC_BUG.
2004-06-30 20:01:23 +00:00
Mark Kettenis d81cbc94d2 * dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
dead code.
2004-06-30 19:44:22 +00:00
Mark Kettenis 076817596d * alphabsd-nat.c: Update copyright year.
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
2004-06-30 19:23:21 +00:00
Michael Chastain 06ea1a610f 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Work around string preprocessing problem
	with old hp c++ compiler.
	* lib/compiler.c: Likewise.
2004-06-30 08:01:33 +00:00
gdbadmin 2a79e10f2b *** empty log message *** 2004-06-30 00:00:33 +00:00
Joel Brobecker f7948b5f30 * i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
(i386_cygwin_in_solib_call_trampoline): New function.
        (i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
        and skip_trampoline_code gdbarch methods.
2004-06-29 18:17:41 +00:00
Corinna Vinschen daab125139 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
directives to conditionalize symbol prefixing.
	* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
	additional_flags handling.  Add underscore prefix for Cygwin.
	* gdb.arch/i386-unwind.c: Use preprocessor directives to
	conditionalize symbol prefixing.
	* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
	additional_flags handling.  Add underscore prefix for Cygwin.
2004-06-29 17:52:49 +00:00
Jim Blandy 8f113c9aba * Makefile.in (gdb_callback_h): Renamed from callback_h to the
name actually used in the dependency lists.
2004-06-29 17:19:47 +00:00
Randolph Chung 97dc871c11 2004-06-29 Randolph Chung <tausq@debian.org>
* NEWS (New native configurations): Mention GNU/Linux/hppa.
2004-06-29 16:13:07 +00:00
Corinna Vinschen 47216e5118 * win32-nat.c (child_pid_to_exec_file): New function.
(init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
	functionality.
2004-06-29 15:37:31 +00:00
Andrew Cagney f03b584349 fix scrambled changelog 2004-06-29 15:22:28 +00:00
Andrew Cagney e623b5041f 2004-06-28 Andrew Cagney <cagney@gnu.org>
* defs.h (xstrvprintf): Declare.
	* utils.c (xstrvprintf): New function.
	(internal_vproblem, xstrprintf, xasprintf)
	(vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
	* serial.c (serial_printf): Ditto.
	* complaints.c (vcomplaint): Ditto.
2004-06-29 14:57:39 +00:00
Corinna Vinschen 79acc9b3cc * infcmd.c (attach_command): Move call to target_terminal_inferior
behind loading symbol table.
2004-06-29 06:39:06 +00:00
Corinna Vinschen cc98411666 * gdb.base/bigcore.exp: Skip test on Cygwin. 2004-06-29 06:34:50 +00:00
Andrew Cagney 1daf35d984 2004-06-28 Andrew Cagney <cagney@gnu.org>
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
	change - add back extern deprecated_ui_loop_hook declaration.
2004-06-29 01:01:32 +00:00
gdbadmin 37ab888827 *** empty log message *** 2004-06-29 00:00:03 +00:00
Andrew Cagney b435e160dd 2004-06-26 Andrew Cagney <cagney@gnu.org>
* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
	xstrprintf.
	* varobj.c (varobj_gen_name, create_child, c_name_of_child)
	(c_value_of_variable): Ditto.
	* utils.c (internal_vproblem): Ditto.
	* solib-aix5.c (build_so_list_from_mapfile): Ditto.
	* remote.c (add_packet_config_cmd): Ditto.
	* remote-rdp.c (rdp_set_command_line): Ditto.
	* regcache.c (regcache_dump): Ditto.
	* frv-tdep.c (new_variant, new_variant): Ditto.
	* fbsd-proc.c (child_pid_to_exec_file): Ditto.
	(fbsd_find_memory_regions): Ditto.
	* breakpoint.c (create_thread_event_breakpoint)
	(create_breakpoints): Ditto.
	* aix-thread.c (aix_thread_pid_to_str): Ditto.
	* ada-lang.c (is_package_name): Ditto.  Also delete xmalloc call.

Index: doc/ChangeLog
2004-06-26  Andrew Cagney  <cagney@gnu.org>

	* gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.
2004-06-28 23:59:29 +00:00
Joel Brobecker 06d5cf63af * ada-lang.c: Re-indent file, with some massaging to help indent
a bit when the result is otherwise really too ugly.
2004-06-28 18:59:14 +00:00