aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-07-19* gdb.base/ending-run.exp: Don't expect to see the program end inJim Blandy2-1/+10
some orderly fashion when we're running on a real stand-alone board.
2002-07-19*** empty log message ***gdbadmin1-1/+1
2002-07-18* gdb.base/interrupt.exp: Correct logic for skipping tests onJim Blandy2-5/+8
targets that don't support interrupts.
2002-07-182002-07-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-214/+267
* aix-thread.c: Shorten some long lines. Bring comments into line with code spec.
2002-07-18 * infrun.c: Re-indent using gdb_indent.sh.Joel Brobecker2-1527/+1513
2002-07-18 * infrun.c (handle_inferior_event): Remove unneeded extra brace.Joel Brobecker2-4/+5
Leave the indentation temporarily untouched, to minimize the diffs.
2002-07-182002-07-18 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-84/+131
* stabsread.c: Make os9k sections of the code obsolete, for real this time. * stabsread.h: Make os9k sections of the code obsolete.
2002-07-182002-07-18 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-4/+9
* linux-low.c (regsets_store_inferior_registers): Add free() at the end of a loop to prevent memory leak. * linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers. (X86_64_NUM_GREGS): Count it from the size of x86_64_regmap.
2002-07-18* Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.hMichal Ludvig2-1/+2
2002-07-182002-07-18 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-2/+7
* config/sparc/tm-sp64linux.h: Make the rest of #endif line a comment.
2002-07-18*** empty log message ***gdbadmin1-1/+1
2002-07-17* macrocmd.c (info_macro_command): Remove newline from errorJim Blandy2-1/+6
message.
2002-07-17include/gdb:Joern Rennecke2-0/+48
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp, renumbering the sh-dsp registers to use distinct numbers. sim/sh: * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h. * interp.c: Include "gdb/sim-sh.h". (sim_store_register, sim_fetch_register): Use constants defined there. gdb: * sh-tdep.c (sh_dsp_register_sim_regno): New function. (sh_gdbarch_init): Use it for sh-dsp.
2002-07-17*** empty log message ***gdbadmin1-1/+1
2002-07-16 * dwarf2read.c (read_initial_length): Handle older, non-standard,Kevin Buettner2-4/+38
64-bit DWARF2 format.
2002-07-16 * proc-api.c: use HAVE_SYS_PROC_H macro to avoid includingJoel Brobecker2-0/+7
<sys/proc.h> when not available.
2002-07-16Obsolete i[3456]86-*-os9k.Andrew Cagney7-2873/+2888
2002-07-16Obsolete fr30.Andrew Cagney7-845/+853
2002-07-162002-07-16 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-0/+7
* blockframe.c (get_pc_function_start): return 0 if the minimal symbol found is not inside a section.
2002-07-16 * aix-thread.c (ptrace_check): Use safe_strerror() instead ofKevin Buettner2-2/+8
strerror(). (pdc_realloc): Use xrealloc() instead of realloc().
2002-07-16*** empty log message ***gdbadmin1-1/+1
2002-07-15 * aix-thread.c (PD_ERROR, CALL_BASE): Delete.Kevin Buettner2-25/+36
(ops_resume, ops_wait, fetch_regs_lib, store_regs_lib) (ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE macros.
2002-07-15 * aix-thread.c (ptrace_check): Eliminate goto.Kevin Buettner2-32/+50
(sync_threadlists): Eliminate gotos. Also, fix array overrun problem.
2002-07-15 * aix-thread.c (gdbcmd.h): Include.Kevin Buettner2-75/+83
(DEBUG, DBG, DBG2, dbg): Eliminate. (debug_aix_thread): New static global. (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs) (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc) (fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite invocations to DBG and DBG2 macros to test against ``debug_aix_thread'' and call fprintf_unfiltered(). (_initialize_aix_thread): Add new command "set debug aix-thread".
2002-07-15From Gerhard Tonn <TON@de.ibm.com>:Andrew Cagney2-12/+32
* s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect instead of supply_register.
2002-07-15* dwarf2cfi.c: Include "gdb_assert.h".Andrew Cagney2-22/+26
(frame_state_for): Use gdb_assert to check that fde->cie_ptr is non-NULL. (update_context): Do not use __func__. Add missing ``break''. (update_context): Do not use __func__.
2002-07-152002-07-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-6/+19
* rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn and its setting. Set gdbarch instruction printing functions directly. For non-rs6000 case use new function gdb_print_insn_powerpc. (gdb_print_insn_powerpc): New function.
2002-07-15*** empty log message ***gdbadmin1-1/+1
2002-07-14Mention d30v obsolete in news file.Andrew Cagney2-0/+3
2002-07-14Obsolete the d30v.Andrew Cagney6-1697/+1703
2002-07-14*** empty log message ***gdbadmin1-1/+1
2002-07-13 * ada-tasks.c (add_task_entry): replace calls toAidan Skinner3-11/+21
malloc() with xmalloc * ada-tasks.c (init_task_list): replace calls to free with xfree() * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype, ada_finish_decode_line_1, all_sals_for_line ada_breakpoint_rewrite): replace calls to free() with xfree()
2002-07-13 From Nicholas Duffek (with minor changes by Martin Hunt,Kevin Buettner2-0/+1498
Louis Hamilton, and Kevin Buettner): * aix-thread.c: New file.
2002-07-13*** empty log message ***gdbadmin1-1/+1
2002-07-122002-07-12 Petr Sorfa <petrs@caldera.com>Petr Sorfa2-9/+132
* dwarf2read.c (dwarf2_invalid_attrib_class): New complaint for invalid attribute class or form. (read_func_scope): DW_AT_frame_base better handling of DW_AT_block*. (dwarf2_add_member_fn): DW_AT_vtable_elem_location better handling of DW_AT_block*. (read_common_block): DW_AT_location better handling of DW_AT_block*. (read_partial_die): DW_AT_location better handling of DW_AT_block*. (new_symbol): DW_AT_external better handling of DW_AT_block*. Proper initialization of variable "addr". (attr_form_is_block): New function that returns true if the attribute's form is of DW_FORM_block*.
2002-07-122002-07-12 Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>Daniel Jacobowitz2-2/+6
* valops.c (find_method_list): Remove comment about removed STATIC_MEMFUNCP argument. (value_find_oload_method_list): Likewise.
2002-07-12 From Nicholas Duffek:Kevin Buettner2-0/+14
* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call target_new_objfile_hook.
2002-07-12 From Nicholas Duffek:Kevin Buettner2-0/+7
* xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage csect.
2002-07-12* MAINTAINERS: Mention --enable-sim-build-warnings.Andrew Cagney2-7/+20
(m68hc11-elf): Disable sim build warnings. (m32r-elf): Mark as broken obsolete candidate. (x86_64-linux-gnu): Mark as buildable with -Werror. (arm-elf): Change -w to ``,'' which enables warnings but not -Werror.
2002-07-12* bcache.h: Update copyright.Andrew Cagney9-93/+154
(struct bstring, struct bcache): Move definition to "bcache.c". Replaced by opaque declaration. (bcache_xfree): Replace free_bcache. (bcache_xmalloc, bcache_memory_used): Declare. * bcache.c: Update copyright. (struct bstring, struct bcache): Moved to here from "bcache.h". Update comments. (bcache_xmalloc, bcache_memory_used): New functions. (bcache_xfree): Replace function free_bcache. * Makefile.in (objfiles.o): Add $(bcache_h). (objfiles_h): Remove $(bcache_h). (symfile.o): Add $(bcache_h). * symmisc.c: Update copyright. (print_symbol_bcache_statistics): Pass psymbol_cache by value. (print_objfile_statistics): Use bcache_memory_used. * symfile.c: Include "bcache.h". (reread_symbols): Use bcache_xfree. (reread_symbols): Use bcache_xmalloc and bcache_xfree. (add_psymbol_to_list): Pass psymbol_cache by value. (add_psymbol_with_dem_name_to_list): Ditto. * objfiles.h: Update copyright. (struct bcache): Declare opaque. Do not include "bcache.h". (struct objfile): Change psymbol_cache and macro_cache to ``struct bcache'' pointers. * dwarf2read.c (macro_start_file): Pass macro_cache by value. * objfiles.c: Include "bcache.h". Update copyright. (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and macro_cache. (free_objfile): Use bcache_xfree.
2002-07-12*** empty log message ***gdbadmin1-1/+1
2002-07-11* monitor.c (monitor_fetch_register): Make name a constant.Grace Sainsbury2-2/+7
(monitor_store_register): Same.
2002-07-112002-07-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz12-143/+291
Based on patch from Daniel Berlin <dberlin@dberlin.org>. * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME. (finish_block) For non-function blocks, hash the symbol table. For function blocks, mark the symbol table as unhashed. * minsyms.c (msymbol_hash): Return hash value without taking modulus. (msymbol_hash_iw): Likewise. (add_minsym_to_hash_table): Take modulus of msymbol_hash's return value. (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw. (lookup_minimal_symbol): Likewise for both. * symtab.h (struct block): Add `hashtable' flag. Comment the hashtable. (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro. (ALL_BLOCK_SYMBOLS): Update. (BLOCK_SHOULD_SORT): Do not sort hashed blocks. (struct symbol): Add `hash_next' pointer. * symtab.c (lookup_block_symbol): Search using the hash table when possible. (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. (search_symbols, find_addr_symbol): Likewise. * dstread.c (process_dst_block): Clear hashtable bit for new block. (read_dst_symtab): Likewise. * jv-lang.c (get_java_class_symtab): Likewise. * mdebugread.c: Include "gdb_assert.h". (shrink_block): Assert that the block being modified is not hashed. * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS. * symmisc.c (free_symtab_block): Walk the hash table when freeing symbols. (dump_symtab): Recognize hashed blocks. * printcmd.c (print_frame_args): Assert that function blocks do not have hashed symbol tables. * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS. (fill_in_ada_prototype, debug_print_block): Likewise. (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables.
2002-07-11 * stack.c (print_frame): Use result of frame_address_in_block()Corinna Vinschen2-4/+10
instead of fi->pc when evaluating symbols. (backtrace_command_1): Ditto.
2002-07-11* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.Andrew Cagney3-3/+10
Make static. * arm-tdep.c (arm_register_name): Make return type constant.
2002-07-11Fix some K&R isms.Andrew Cagney26-57/+91
2002-07-11 * gdb.base/attach.exp: Add patterns to match output from /proc-basedJoel Brobecker2-5/+26
systems. Move comments in expect statements to inside the actions, so that they don't get matched against.
2002-07-11*** empty log message ***gdbadmin1-1/+1
2002-07-10* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "callMark Kettenis2-1/+6
function when asleep" test.
2002-07-10* wince.c (_initialize_wince): Rename _initialize_inftarg.Andrew Cagney4-3/+8
* win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.