aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-13daily updateAlan Modra1-1/+1
2002-01-132002-01-13 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+12
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2002-01-13Rewrite target_signal_to_name().Andrew Cagney2-6/+10
2002-01-13From Petr Ledvina <ledvinap@kae.zcu.cz>:Andrew Cagney2-1/+10
* signals.c (target_signal_to_name): Verify that SIG is within the bounds of the signals array.
2002-01-13* MAINTAINERS: Remove arm-coff and arm-pe from target list.Andrew Cagney2-1/+5
2002-01-13 * stack.c (print_frame_info_base): Print the frame's pcKeith Seitz2-9/+25
only if when print_frame_info_listing_hook is not defined.
2002-01-13 * varobj.c (varobj_set_value): Make sure that there were noKeith Seitz2-62/+94
errors evaluating the object before attempting to set its value. value_cast now properly adjusts VALUE_ADDRESS for baseclasses, so this offset adjustment is no longer necessary. (create_child): Don't set the error flag if the child is a CPLUS_FAKE_CHILD. (value_of_child): If value_fetch_lazy fails, return NULL so that callers will be notified that an error occurred. (c_value_of_variable): Delay check of variable's validity until later. We actually want all structs and unions to have the value "{...}". Do not return "???" for variables which could not be evaluated. This error condition must be returned to the caller so that it can get the error condition from gdb. (cplus_name_of_child): Adjust index for vptr before figuring out the name of the child. (cplus_value_of_child): If a child's (real) parent is not valid, don't even bother trying to give a value for it. Just return an error. Change all instances in this function. (cplus_type_of_child): If our parent is one of the "fake" parents, we need to get at the type of the real parent, and derive the child's true type using this information.
2002-01-13From 2002-01-09 John Marshall <johnm@falch.net>:Andrew Cagney4-7/+14
* CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to sources.redhat.com, and tweak some related URLs which had suffered from linkrot.
2002-01-13* hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byteAndrew Cagney2-1/+8
structures passed in registers.
2002-01-13 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneousEli Zaretskii2-8/+11
white space which prevented compilation. Reported by DSK <dsk@student.unsw.edu.au>.
2002-01-132002-01-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+48
* symfile.c (build_section_addr_info_from_section_tab): Use bfd access method instead of manipulating bfd directly. (syms_from_objfile): Ditto. (simple_overlay_update_1): Ditto. (simple_overlay_update): Ditto. (generic_load): Ditto. (overlay_unmapped_address): FIXME comment, bfd access methods. (sections_overlap): FIXME comment, bfd access methods. (pc_in_mapped_range): FIXME comment, bfd access methods. (pc_in_unmapped_range): FIXME comment, bfd access methods. (section_is_mapped): FIXME comment, bfd access methods. (section_is_overlay): FIXME comment, bfd access methods.
2002-01-13*** empty log message ***gdbadmin1-1/+1
2002-01-122002-01-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-29/+43
* symfile.c (generic_load): Whitespace and long line cleanups. Remove duplicate variable, change several local variables to more appropriate data types. (print_transfer_performance): Use %lu instead of %ld for ulongs.
2002-01-12daily updateAlan Modra1-1/+1
2002-01-12 * emulparams/avr1200.sh (DATA_START): Define as 0x60.Denis Chertykov10-1/+21
* emulparams/avr23xx.sh: Likewise. * emulparams/avr4433.sh: Likewise. * emulparams/avr44x4.sh: Likewise. * emulparams/avr85xx.sh: Likewise. * emulparams/avrmega103.sh: Likewise. * emulparams/avrmega161.sh: Likewise. * emulparams/avrmega603.sh: Likewise. * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
2002-01-12Use phex_nz() not printfAndrew Cagney2-13/+8
2002-01-12Update Copyright year.Elena Zannoni2-1/+2
2002-01-122002-01-12 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in the function.
2002-01-12* Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.Matthew Green8-27/+211
* igen.c (main): Change -I to add include paths for :include: files. Implement -G as per sim/igen, with just gen-icache=N support. Call load_insn_table() with the built include path. * ld-insn.c (parse_include_entry): New. Load an :include: file. (load_insn_table): New `includes' argument. Look for :include: entries and call parse_include_entry() for them. (main): Adjust load_insn_table() call. * ld-insn.h (model_include_fields): New enum. (load_insn_table): Update prototype. * table.c (struct _open_table, struct _table): Rework structures to handle included files. (table_push): Move the guts of table_open() here. * table.c (struct _open table, struct table): Make table object an indirect ptr to the current table file. (current_line, new_table_entry, next_line): Make file arg type open_table. (table_open): Use table_push. (table_entry_read): Point variable file at current table, at eof, pop last open table. * misc.h (NZALLOC): New macro. From sim/igen. * table.h, table.c (table_push): New function.
2002-01-12* language.c (longest_raw_hex_string): Delete unused function.Andrew Cagney2-23/+4
2002-01-12*** empty log message ***gdbadmin1-1/+1
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