Annotation of XNU/osfmk/ddb/db_aout.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
                      3:  *
                      4:  * @APPLE_LICENSE_HEADER_START@
                      5:  * 
                      6:  * The contents of this file constitute Original Code as defined in and
                      7:  * are subject to the Apple Public Source License Version 1.1 (the
                      8:  * "License").  You may not use this file except in compliance with the
                      9:  * License.  Please obtain a copy of the License at
                     10:  * http://www.apple.com/publicsource and read it before using this file.
                     11:  * 
                     12:  * This Original Code and all software distributed under the License are
                     13:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     14:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     15:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     16:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
                     17:  * License for the specific language governing rights and limitations
                     18:  * under the License.
                     19:  * 
                     20:  * @APPLE_LICENSE_HEADER_END@
                     21:  */
                     22: /*
                     23:  * @OSF_COPYRIGHT@
                     24:  */
                     25: /*
                     26:  * Symbol table routines for a.out format files.
                     27:  */
                     28: 
                     29: #ifndef        _DDB_DB_AOUT_H_
                     30: #define        _DDB_DB_AOUT_H_
                     31: 
                     32: #include <machine/db_machdep.h>                /* data types */
                     33: #include <ddb/db_sym.h>                        /* db_symtab_t */
                     34: 
                     35: boolean_t aout_db_sym_init(
                     36:        char *  symtab,
                     37:        char *  esymtab,
                     38:        char *  name,
                     39:        char *  task_addr);
                     40: 
                     41: db_sym_t aout_db_lookup(
                     42:        db_symtab_t     *stab,
                     43:        char *          symstr);
                     44: 
                     45: int aout_db_lookup_incomplete(
                     46:        db_symtab_t     *stab,
                     47:        char *          symstr,
                     48:        char **         name,
                     49:        int             *len,
                     50:        int             *toadd);
                     51: 
                     52: int aout_db_print_completion(
                     53:        db_symtab_t     *stab,
                     54:        char *          symstr);
                     55: 
                     56: db_sym_t aout_db_search_symbol(
                     57:        db_symtab_t     *symtab,
                     58:        db_addr_t       off,
                     59:        db_strategy_t   strategy,
                     60:        db_expr_t       *diffp);                /* in/out */
                     61: 
                     62: void aout_db_symbol_values(
                     63:        db_sym_t        sym,
                     64:        char            **namep,
                     65:        db_expr_t       *valuep);
                     66: 
                     67: db_sym_t aout_db_search_by_addr(
                     68:        db_symtab_t     *stab,
                     69:        db_addr_t       addr,
                     70:        char            **file,
                     71:        char            **func,
                     72:        int             *line,
                     73:        db_expr_t       *diff,
                     74:        int             *args);
                     75: 
                     76: boolean_t aout_db_line_at_pc(
                     77:        db_symtab_t     *stab,
                     78:        db_sym_t        sym,
                     79:        char            **file,
                     80:        int             *line,
                     81:        db_expr_t       pc);
                     82: 
                     83: int aout_db_qualified_print_completion(
                     84:        db_symtab_t     *stab,
                     85:        char            *sym);
                     86: 
                     87: void aout_db_init(void);
                     88: 
                     89: #endif /* !_DDB_DB_AOUT_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.