summaryrefslogtreecommitdiff
path: root/gdb/bcache.h
Commit message (Collapse)AuthorAgeFilesLines
* * bcache.h: Update copyright.Andrew Cagney2002-07-121-51/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Indicate that the bcache functions don't change the stringsJim Blandy2002-02-231-2/+2
| | | | | | they're passed. * bcache.h (bcache, hash): Add `const' keywords to declarations. * bcache.c (bcache, hash): Add `const' keywords to definitions.
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+1
|
* C++ improvementsgdb-premipsmulti-2000-06-06-branchpointDaniel Berlin2000-06-051-1/+2
|
* Clean up compiler warnings:Jim Kingdon2000-02-081-2/+2
| | | | | | | | | | | | | * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c, stack.c, valprint.c: Change variables to unsigned. * bcache.c: Rearrange to avoid warnings about variables not being set. * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h rather than declaring print_max and repeat_count_threashold ourselves (incorrectly). * valprint.h: Do declare repeat_count_threashold. * ch-exp.c: Use default case for internal error. * findvar.c: Don't omit argument type. * symtab.c: Remove unused variable.
* import gdb-1999-12-06 snapshotJason Molenda1999-12-071-48/+104
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-29/+34
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-4/+0
|
* Initial revisionStan Shebs1999-04-161-0/+72