X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/d07734e31fb134371b9bea71fc2736f7c28f4433..28f851f93a24640360f41dc544d346d33428336c:/gdb/buildsym.h diff --git a/gdb/buildsym.h b/gdb/buildsym.h index f8831151c4..e034863f39 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -59,6 +59,7 @@ struct subfile char *dirname; struct linetable *line_vector; int line_vector_length; + enum language language; }; EXTERN struct subfile *subfiles; @@ -70,7 +71,11 @@ EXTERN struct subfile *current_subfile; EXTERN unsigned char processing_gcc_compilation; -/* When set, we are processing a .o file compiled by sun acc */ +/* When set, we are processing a .o file compiled by sun acc. This is + misnamed; it refers to all stabs-in-elf implementations which use + N_UNDF the way Sun does, including Solaris gcc. Hopefully all + stabs-in-elf implementations ever invented will choose to be + compatible. */ EXTERN unsigned char processing_acc_compilation; @@ -216,6 +221,9 @@ really_free_pendings PARAMS ((int foo)); extern void start_subfile PARAMS ((char *, char *)); +extern void +patch_subfile_names PARAMS ((struct subfile *subfile, char *name)); + extern void push_subfile PARAMS ((void)); @@ -223,7 +231,7 @@ extern char * pop_subfile PARAMS ((void)); extern struct symtab * -end_symtab PARAMS ((CORE_ADDR, int, int, struct objfile *)); +end_symtab PARAMS ((CORE_ADDR, int, int, struct objfile *, int)); extern void scan_file_globals PARAMS ((struct objfile *)); @@ -243,18 +251,6 @@ record_line PARAMS ((struct subfile *, int, CORE_ADDR)); extern void start_symtab PARAMS ((char *, char *, CORE_ADDR)); -extern struct partial_symtab * -start_psymtab PARAMS ((struct objfile *, struct section_offsets *, char *, - CORE_ADDR, int, struct partial_symbol *, - struct partial_symbol *)); - -extern void -end_psymtab PARAMS ((struct partial_symtab *, char **, int, int, CORE_ADDR, - struct partial_symtab **, int)); - -extern void -process_one_symbol PARAMS ((int, int, CORE_ADDR, char *, - struct section_offsets *, struct objfile *)); extern int hashname PARAMS ((char *));