aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-11daily updateAlan Modra1-1/+1
2002-01-112002-01-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gdb.texinfo (Choosing files): Change @samp to @file.
2002-01-11* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudoRichard Earnshaw6-22/+106
op that can be translated into a mvn instruction. * gas/arm/ldconst.s gas/arm/ldconst.d: New files. Test ldr with immediate pseudo-operations. * gas/arm/arm.exp: Run it.
2002-01-111) Handling of the DW_AT_byte_size attribute when processing aPetr Sorfa2-3/+31
DW_TAG_string_type (this is acceptable under the current DWARF 2.1/3.0 standard.) 2) In read_tag_string_type(), a fix for FORTRAN that propagates the first string length to all string types. This is important as FORTRAN strings are not delimited as in C/C++. 3) Handling of the DW_LANG_Fortran95.
2002-01-11Added Self to Write After ApprovalPetr Sorfa1-0/+1
2002-01-11* armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->Richard Earnshaw2-4/+12
GETPID(inferior_ptid). (store_inferior_registers): Likewise.
2002-01-11 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.Jason Merrill2-1/+46
Fix DW_OP_minus.
2002-01-11Add ia64-hpux target. LD and GDB are not currently supported.Nick Clifton2-0/+9
2002-01-11Add support for ia64-hpux target.Nick Clifton3-22/+79
2002-01-11[cgen/ChangeLog]Matthew Green12-341/+395
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ... (gr-Rb-names): ... to this. (h-Rb): New hardware peice. (h-Rbj): Use gr-Rb-names. (Rb): Use h-Rb. (holdx): New instruction. [opcodes/ChangeLog] * xstormy16-asm.c: Regenerate. * xstormy16-desc.c: Likewise. * xstormy16-desc.h: Likewise. * xstormy16-dis.c: Likewise. * xstormy16-opc.c: Likewise. * xstormy16-opc.h: Likewise. [gas/testsuite/ChangeLog] * gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update. * gas/xstormy16/allinsn.d: Regenerate. * gas/xstormy16/allinsn.s: Regenerate. [sid/component/cgen-cpu/xstormy16/ChangeLog] * xstormy16.cxx (do_holdx): Define. * xstormy16.h (do_holdx): Declare.
2002-01-112002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+19
* NEWS: Mention --pid and corefile/proc-id behavior change.
2002-01-11* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001Andrew Cagney2-0/+7
and bfd/elf32-sh-nbsd.c.
2002-01-11*** empty log message ***gdbadmin1-1/+1
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder3-2/+11
* Makefile.in: Add rules for gcore.o and linux-proc.o. * gcore.c: Include cli/cli-decode.h instead of command.h.
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder3-4/+10
* elf.c (elfcore_write_prstatus): Use long instead of pid_t; (elfcore_write_pstatus): Use long instead of pid_t; * elf-bfd.h: Change prototypes to use long instead of pid_t;
2002-01-102002-01-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-9/+22
* gdb.texinfo (--pid): Document new command line option (attach).
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder2-7/+31
* main.c (captured_main): Add new command line option "--pid". If the second command line argument (following the symbol-file) begins with a digit, try to attach to it before trying to open it as a corefile. (print_gdb_help): Document the "--pid" argument.
2002-01-10daily updateAlan Modra1-1/+1
2002-01-10 * gdb.c++/namespace.exp: Accept trailing const for 'this'.Jason Merrill6-63/+69
* gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy constructors. * gdb.c++/derivation.exp: Likewise. * gdb.c++/templates.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2002-01-10update copyrightJason Merrill1-1/+1
2002-01-10 * gdb.c++/namespace.exp: '\0', not '\000'.Jason Merrill2-1/+5
2002-01-10* tc-arm.c (struct reg_entry): Move before prototypes.Richard Earnshaw2-468/+770
(int_register, cp_register, fp_register): Delete. (reg_table): Delete. Replaced with ... (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) (mav_dspsc_table): ... one table per register set. (arm_reg_hsh): Delete. (struct reg_map): New structure. (all_reg_maps): New array. (enum arm_reg_type): New enums. (build_reg_hsh): New function. (insert_reg_alias): Use hash table passed by caller. Adjust all callers. (create_register_alias): New function, split out from ... (md_assemble): ... here. (md_begin): Build new register hash tables. (arm_reg_parse): New argument for the hash table to search. Adjust all callers. (arm_reg_parse_any): New function. (co_proc_number): Look up the processor number in the processor hash table. (cirrus_regtype): Delete. (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) (ARM_EXT_MAVERICKsc_register): Delete. (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New functions. (do_c_triple_4, do_c_triple_5): Delete. (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. (do_c_quad_6): Delete. (do_c_quad_6[ab]): New functions. (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework arguments to use new register parsing methods. (cirrus_reg_required_here): Likewise. (insns): Reclassify cirrus maverick worker functions. (cirrus_valid_reg): Delete.
2002-01-10Add myself as ARM sim maintainerNick Clifton2-0/+6
2002-01-10Fix parameters passed to CPRead[13] and CPRead[14].Nick Clifton4-423/+478
2002-01-10 * completer.c (command_completer): New function.Eli Zaretskii4-1/+21
* completer.h <command_completer>: Add prototype. * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the completer for the "help" command.
2002-01-10 * c-typeprint.c (is_type_conversion_operator): Fix thinko.Jason Merrill3-1/+8
2002-01-10*** empty log message ***gdbadmin1-1/+1
2002-01-09daily updateAlan Modra1-1/+1
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+6
* i386-linux-nat.c (fill_fpxregset): Make global. (store_fpxregset): Ditto.
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+19
* gregset.h (gdb_fpxregset_t): Define. (supply_fpxregset): Prototype. (fill_fpxregset): Prototype.
2002-01-09include/elf:Jason Thorpe6-17/+47
* common.h: Update copyright years. (NT_NETBSDCORE_PROCINFO): Define. (NT_NETBSDCORE_FIRSTMACH): Define. bfd: * elf.c: Update copyright years. (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH. Improve a comment. bintuils: * readelf.c (get_netbsd_elfcore_note_type): Use NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2002-01-092002-01-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-26/+5
* exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2002-01-09* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.Richard Earnshaw4-3/+9
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2002-01-09Update target section.Andrew Cagney2-5/+14
2002-01-09Fix formatting of ChangeLog entry in previous commit.Richard Earnshaw1-2/+2
2002-01-09MAINTAINERS (write-after-approval): Add myself.Richard Earnshaw3-1/+9
arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to IN_SIGTRAMP.
2002-01-09* readelf.c: Update copyright years.Jason Thorpe2-4/+91
(get_note_type): Return a const char *. (get_netbsd_elfcore_note_type): New function. (process_note): Use get_netbsd_elfcore_note_type to get the note type string for NetBSD ELF core files.
2002-01-09* gas/arm/float.s: Don't use VFP register names in fpa instructions.Richard Earnshaw2-11/+15
2002-01-09General format tidy upsNick Clifton2-45/+51
2002-01-09Fix bug detected by GDB testsuite - when fetching registers more than 4Nick Clifton2-5/+19
bytes wide return 0 for the other bytes.
2002-01-092002-01-08 H.J. Lu <hjl@gnu.org>H.J. Lu4-16/+60
* gas/mips/elf-rel.s: New tests for nested (). * gas/mips/elf-rel.d: Modified for nested () tests. * gas/mips/elfel-rel.d: Likewise.
2002-01-092002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+17
* linux-proc.c (child_pid_to_exec_file): Use readlink to get the real name of the executable, rather than the /proc name.
2002-01-092002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+464
* gdb.base/gcore.exp: New test for generate-core-file command. * gdb.base/gcore.c: Testcase for above. * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2002-01-092002-01-03 Michael Snyder <msnyder@redhat.com>Michael Snyder20-59/+1148
Implement a "generate-core-file" command in gdb, save target state. * gcore.c: New file. Implement new command 'generate-core-file'. Save a corefile image of the current state of the inferior. * linux-proc.c: Add linux-specific code for saving corefiles. * target.h (struct target_ops): Add new target vectors for saving corefiles; to_find_memory_regions and to_make_corefile_notes. (target_find_memory_regions): New macro. (target_make_corefile_notes): New macro. * target.c (update_current_target): Inherit new target methods. (dummy_find_memory_regions): New place-holder method. (dummy_make_corefile_notes): New place-holder method. (init_dummy_target): Initialize new dummy target vectors. * exec.c (exec_set_find_memory_regions): New function. Allow the exec_ops vector for memory regions to be taken over. (exec_make_note_section): New function, target vector method. * defs.h (exec_set_find_memory_regions): Export prototype. * procfs.c (proc_find_memory_regions): New function, corefile method. (procfs_make_note_section): New function, corefile method. (init_procfs_ops): Set new target vector pointers. (find_memory_regions_callback): New function. (procfs_do_thread_registers): New function. (procfs_corefile_thread_callback): New function. * sol-thread.c (sol_find_memory_regions): New function. (sol_make_note_section): New function. (init_sol_thread_ops): Initialize new target vectors. * inftarg.c (inftarg_set_find_memory_regions): New function. Allow to_find_memory_regions vector to be taken over. (inftarg_set_make_corefile_notes): New function. Allow to_make_corefile_notes vector to be taken over. * thread-db.c (thread_db_new_objfile): Don't activate thread-db interface layer if not target_has_execution (may be a corefile). * config/i386/linux.mh: Add gcore.o to NATDEPFILES. * config/sparc/sun4sol2.mh: Ditto. * config/alpha/alpha-linux.mh: Ditto. * config/arm/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-09*** empty log message ***gdbadmin1-1/+1
2002-01-08daily updateAlan Modra1-1/+1
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-12/+17
* arm-linux-nat.c: Remove references to regcache.c internal data (registers[] and register_valid[]).
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder13-11/+67
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-08Fix typo.Michael Snyder1-1/+1