Searched defs:dbg (Results 1 - 25 of 61) sorted by relevance

123

/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_finish.c48 dwarf_producer_finish(Dwarf_P_Debug dbg, Dwarf_Error * error) argument
50 if (dbg->de_version_magic_number != PRO_VERSION_MAGIC) {
51 DWARF_P_DBG_ERROR(dbg, DW_DLE_IA, DW_DLV_NOCOUNT);
54 /* this frees all blocks, then frees dbg. */
55 _dwarf_p_dealloc_all(dbg);
H A Ddwarf_stubs.c45 dwarf_nextglob(Dwarf_Debug dbg, argument
H A Dpro_error.c60 _dwarf_p_error(Dwarf_P_Debug dbg, argument
65 /* Allow NULL dbg on entry, since sometimes that can happen and we
72 _dwarf_p_get_alloc(dbg, sizeof(struct Dwarf_Error_s));
83 if (dbg != NULL && dbg->de_errhand != NULL) {
85 _dwarf_p_get_alloc(dbg, sizeof(struct Dwarf_Error_s));
92 dbg->de_errhand(errptr, dbg->de_errarg);
H A Dpro_funcs.c54 dwarf_add_funcname(Dwarf_P_Debug dbg, argument
59 _dwarf_add_simple_name_entry(dbg, die, function_name,
H A Dpro_pubnames.c56 dwarf_add_pubname(Dwarf_P_Debug dbg, argument
61 _dwarf_add_simple_name_entry(dbg, die, pubname_name,
H A Dpro_vars.c54 dwarf_add_varname(Dwarf_P_Debug dbg, argument
58 _dwarf_add_simple_name_entry(dbg, die, var_name,
H A Dpro_weaks.c54 dwarf_add_weakname(Dwarf_P_Debug dbg, argument
59 _dwarf_add_simple_name_entry(dbg, die, weak_name,
H A Ddwarf_string.c43 dwarf_get_str(Dwarf_Debug dbg, argument
50 if (dbg == NULL) {
55 if (offset == dbg->de_debug_str.dss_size) {
60 if (offset > dbg->de_debug_str.dss_size) {
61 _dwarf_error(dbg, error, DW_DLE_DEBUG_STR_OFFSET_BAD);
66 _dwarf_error(dbg, error, DW_DLE_STRING_PTR_NULL);
70 res = _dwarf_load_section(dbg, &dbg->de_debug_str,error);
75 *string = (char *) dbg->de_debug_str.dss_data + offset;
H A Ddwarf_error.c330 _dwarf_error(Dwarf_Debug dbg, Dwarf_Error * error, Dwarf_Sword errval) argument
335 Allow NULL dbg on entry, since sometimes that can happen and we
340 If dbg is NULL, use the alternate error struct. However,
342 if (dbg != NULL) {
344 (Dwarf_Error) _dwarf_get_alloc(dbg, DW_DLA_ERROR, 1);
352 /* We have no dbg to work with. dwarf_init failed. We hack
368 if (dbg != NULL && dbg->de_errhand != NULL) {
369 errptr = (Dwarf_Error) _dwarf_get_alloc(dbg, DW_DLA_ERROR, 1);
376 dbg
[all...]
H A Ddwarf_line2.c55 _dwarf_line_address_offsets(Dwarf_Debug dbg, argument
76 _dwarf_get_alloc(dbg, DW_DLA_ADDR, lcount);
78 dwarf_srclines_dealloc(dbg, linebuf, lcount);
79 _dwarf_error(dbg, err, DW_DLE_ALLOC_FAIL);
83 _dwarf_get_alloc(dbg, DW_DLA_ADDR, lcount);
85 dwarf_srclines_dealloc(dbg, linebuf, lcount);
89 dwarf_dealloc(dbg, laddrs, DW_DLA_ADDR);
90 _dwarf_error(dbg, err, DW_DLE_ALLOC_FAIL);
98 dwarf_srclines_dealloc(dbg, linebuf, lcount);
H A Dpro_alloc.c57 us to 'delete' a memory block without needing the dbg structure.
58 We still need the dbg structure on allocation so that we know which
61 Only the allocation of the dbg structure itself cannot use _dwarf_p_get_alloc.
72 dbg should be NULL only when allocating dbg itself. In that
77 _dwarf_p_get_alloc(Dwarf_P_Debug dbg, Dwarf_Unsigned size) argument
95 if (dbg == NULL) {
100 dbglp = BLOCK_TO_LIST(dbg);
136 The dbg structure is not needed here anymore.
140 _dwarf_p_dealloc(Dwarf_P_Debug dbg, Dwarf_Smal argument
166 _dwarf_p_dealloc_all(Dwarf_P_Debug dbg) argument
[all...]
H A Dpro_init.c50 static void common_init(Dwarf_P_Debug dbg, Dwarf_Unsigned flags);
74 Dwarf_P_Debug dbg; local
75 dbg = (Dwarf_P_Debug) _dwarf_p_get_alloc(NULL,
78 if (dbg == NULL) {
79 DWARF_P_DBG_ERROR(dbg, DW_DLE_DBG_ALLOC,
82 memset((void *) dbg, 0, sizeof(struct Dwarf_P_Debug_s));
85 DWARF_P_DBG_ERROR(dbg, DW_DLE_NO_CALLBACK_FUNC,
88 dbg->de_callback_func_b = func;
89 dbg->de_errhand = errhand;
90 dbg
103 Dwarf_P_Debug dbg; local
127 common_init(Dwarf_P_Debug dbg, Dwarf_Unsigned flags) argument
[all...]
H A Ddwarf_funcs.c46 dwarf_get_funcs(Dwarf_Debug dbg, argument
50 int res = _dwarf_load_section(dbg, &dbg->de_debug_funcnames,error);
55 return _dwarf_internal_get_pubnames_like_data(dbg,
56 dbg->de_debug_funcnames.dss_data,
57 dbg->de_debug_funcnames.dss_size,
73 dwarf_funcs_dealloc(Dwarf_Debug dbg, Dwarf_Func * dwgl, argument
76 _dwarf_internal_globals_dealloc(dbg, (Dwarf_Global *) dwgl,
H A Ddwarf_pubtypes.c47 dwarf_get_pubtypes(Dwarf_Debug dbg, argument
51 int res = _dwarf_load_section(dbg, &dbg->de_debug_pubtypes,error);
56 return _dwarf_internal_get_pubnames_like_data(dbg,
57 dbg->de_debug_pubtypes.dss_data,
58 dbg->de_debug_pubtypes.dss_size,
75 dwarf_pubtypes_dealloc(Dwarf_Debug dbg, Dwarf_Type * dwgl, argument
78 _dwarf_internal_globals_dealloc(dbg,
H A Ddwarf_types.c45 dwarf_get_types(Dwarf_Debug dbg, argument
49 int res = _dwarf_load_section(dbg, &dbg->de_debug_typenames,error);
54 return _dwarf_internal_get_pubnames_like_data(dbg,
55 dbg->de_debug_typenames.dss_data,
56 dbg->de_debug_typenames.dss_size,
73 dwarf_types_dealloc(Dwarf_Debug dbg, Dwarf_Type * dwgl, argument
76 _dwarf_internal_globals_dealloc(dbg, (Dwarf_Global *) dwgl,
H A Ddwarf_vars.c46 dwarf_get_vars(Dwarf_Debug dbg, argument
50 int res = _dwarf_load_section(dbg, &dbg->de_debug_varnames,error);
55 return _dwarf_internal_get_pubnames_like_data(dbg,
56 dbg->de_debug_varnames.dss_data,
57 dbg->de_debug_varnames.dss_size,
74 dwarf_vars_dealloc(Dwarf_Debug dbg, Dwarf_Var * dwgl, argument
77 _dwarf_internal_globals_dealloc(dbg, (Dwarf_Global *) dwgl,
H A Ddwarf_weaks.c46 dwarf_get_weaks(Dwarf_Debug dbg, argument
50 int res = _dwarf_load_section(dbg, &dbg->de_debug_weaknames,error);
55 return _dwarf_internal_get_pubnames_like_data(dbg,
56 dbg->de_debug_weaknames.dss_data,
57 dbg->de_debug_weaknames.dss_size,
74 dwarf_weaks_dealloc(Dwarf_Debug dbg, Dwarf_Weak * dwgl, argument
77 _dwarf_internal_globals_dealloc(dbg, (Dwarf_Global *) dwgl,
H A Ddwarf_harmless.c66 int dwarf_get_harmless_error_list(Dwarf_Debug dbg, argument
71 struct Dwarf_Harmless_s *dhp = &dbg->de_harmless_errors;
122 void dwarf_insert_harmless_error(Dwarf_Debug dbg, argument
125 struct Dwarf_Harmless_s *dhp = &dbg->de_harmless_errors;
154 unsigned dwarf_set_harmless_error_list_size(Dwarf_Debug dbg, argument
157 struct Dwarf_Harmless_s *dhp = &dbg->de_harmless_errors;
172 dwarf_insert_harmless_error(dbg,oldarray.dh_errors[i]);
H A Ddwarf_original_elf_init.c60 #define DWARF_DBG_ERROR(dbg,errval,retval) \
61 _dwarf_error(dbg, error, errval); return(retval);
184 saving the binary interface in 'ret-dbg' */
200 was used to init 'dbg'.
203 dwarf_finish(Dwarf_Debug dbg, Dwarf_Error * error) argument
205 dwarf_elf_object_access_finish(dbg->de_obj_file);
207 return dwarf_object_finish(dbg, error);
H A Ddwarf_ranges.c54 int dwarf_get_ranges_a(Dwarf_Debug dbg, argument
74 res = _dwarf_load_section(dbg, &dbg->de_debug_ranges,error);
78 if(rangesoffset >= dbg->de_debug_ranges.dss_size) {
79 _dwarf_error(dbg, error, DW_DLE_DEBUG_RANGES_OFFSET_BAD);
83 address_size = _dwarf_get_address_size(dbg, die);
84 section_end = dbg->de_debug_ranges.dss_data +
85 dbg->de_debug_ranges.dss_size;
86 rangeptr = dbg->de_debug_ranges.dss_data + rangesoffset;
92 _dwarf_error(dbg, erro
151 dwarf_get_ranges(Dwarf_Debug dbg, Dwarf_Off rangesoffset, Dwarf_Ranges ** rangesbuf, Dwarf_Signed * listlen, Dwarf_Unsigned * bytecount, Dwarf_Error * error) argument
165 dwarf_ranges_dealloc(Dwarf_Debug dbg, Dwarf_Ranges * rangesbuf, Dwarf_Signed rangecount) argument
[all...]
H A Dpro_arange.c59 dwarf_add_arange(Dwarf_P_Debug dbg, argument
64 return dwarf_add_arange_b(dbg, begin_address, length, symbol_index,
77 dwarf_add_arange_b(Dwarf_P_Debug dbg, argument
86 if (dbg == NULL) {
92 _dwarf_p_get_alloc(dbg, sizeof(struct Dwarf_P_Arange_s));
94 _dwarf_p_error(dbg, error, DW_DLE_ALLOC_FAIL);
104 if (dbg->de_arange == NULL)
105 dbg->de_arange = dbg->de_last_arange = arange;
107 dbg
117 _dwarf_transform_arange_to_disk(Dwarf_P_Debug dbg, Dwarf_Error * error) argument
[all...]
/illumos-gate/usr/src/cmd/oawk/
H A Dmain.c42 int dbg = 0; variable
130 dbg = 1;
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dmain.c97 static int dbg = 0; variable
122 return mi_opensocket(conn, backlog, dbg, rmsocket, smfi);
139 dbg = odbg;
242 if (mi_listener(conn, dbg, smfi, timeout, backlog) != MI_SUCCESS)
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c68 int dbg = 0; variable
186 dbg = atoi(&argv[1][2]);
187 if (dbg == 0)
188 dbg = 1;
201 if (dbg)
/illumos-gate/usr/src/cmd/eqn/
H A Dglob.c20 int dbg; /* debugging print if non-zero */ variable

Completed in 281 milliseconds

123