DWARF_ADD_FDE_INST(3) BSD Library Functions Manual DWARF_ADD_FDE_INST(3)NAME
dwarf_add_fde_inst -- add a call frame instruction to a DWARF frame descriptor
LIBRARY
DWARF Access Library (libdwarf, -ldwarf)
SYNOPSIS
#include <libdwarf.h>
Dwarf_P_Fde
dwarf_add_fde_inst(Dwarf_P_Fde fde, Dwarf_Small op, Dwarf_Unsigned val1, Dwarf_Unsigned val2, Dwarf_Error *err);
DESCRIPTION
Function dwarf_add_fde_inst() adds a call frame instruction to the DWARF frame descriptor referenced by argument fde.
Argument fde should reference a frame descriptor allocated using dwarf_new_fde(3).
Argument op specifies the operator for the frame instruction. The DWARF standard defines the set of legal values for this argument.
Argument val1 specifies the first operand of the frame instruction.
Argument val2 specifies the second operand of the frame instruction.
If argument err is not NULL, it will be used to store error information in case of an error.
RETURN VALUES
On success, function dwarf_add_fde_inst() returns the frame descriptor given in argument fde. In case of an error, function
dwarf_add_fde_inst() returns DW_DLV_BADADDR and sets the argument err.
ERRORS
Function dwarf_add_fde_inst() can fail with:
[DW_DLE_ARGUMENT] Argument fde was NULL.
[DW_DLE_FRAME_INSTR_EXEC_ERROR] The frame instruction operator specified in argument op was invalid.
[DW_DLE_MEMORY] An out of memory condition was encountered during the execution of the function.
SEE ALSO dwarf(3), dwarf_add_frame_fde(3), dwarf_add_frame_fde_b(3), dwarf_add_frame_cie(3), dwarf_fde_cfa_offset(3), dwarf_new_fde(3)
The DWARF Debugging Information Format, Version 4, http://www.dwarfstd.org/.
BSD September 26, 2011 BSD
Check Out this Related Man Page
DWARF_ADD_EXPR_GEN(3) BSD Library Functions Manual DWARF_ADD_EXPR_GEN(3)NAME
dwarf_add_expr_gen -- add an operator to a location expression descriptor
LIBRARY
DWARF Access Library (libdwarf, -ldwarf)
SYNOPSIS
#include <libdwarf.h>
Dwarf_Unsigned
dwarf_add_expr_gen(Dwarf_P_Expr expr, Dwarf_Small opcode, Dwarf_Unsigned val1, Dwarf_Unsigned val2, Dwarf_Error *err);
DESCRIPTION
Function dwarf_add_expr_gen() adds a location expression operator to the location expression descriptor referenced by argument expr.
Argument expr should reference a location expression descriptor allocated using the function dwarf_new_expr(3).
Argument opcode specifies the operation code of the location expression operator. Valid values for this argument are those denoted by the
DW_OP_* constants defined in <libdwarf.h>.
To generate a DW_OP_addr operation, application code should instead use dwarf_add_expr_addr_b(3).
Argument val1 specifies the first operand of the location expression operator.
Argument val2 specifies the second operand of the location expression operator.
If argument err is not NULL, it will be used to store error information in case of an error.
RETURN VALUES
On success, function dwarf_add_expr_gen() returns the size in bytes of the location expression byte stream generated. In case of an error,
function dwarf_add_expr_gen() returns DW_DLV_NOCOUNT and sets the argument err.
ERRORS
Function dwarf_add_expr_gen() can fail with:
[DW_DLE_ARGUMENT] Argument expr was NULL.
[DW_DLE_LOC_EXPR_BAD] The operation code specified in argument opcode was invalid.
[DW_DLE_MEMORY] An out of memory condition was encountered during the execution of the function.
SEE ALSO dwarf(3), dwarf_add_AT_location_expr(3), dwarf_add_expr_addr(3), dwarf_add_expr_addr_b(3), dwarf_expr_current_offset(3),
dwarf_expr_into_block(3), dwarf_new_expr(3)BSD September 9, 2011 BSD
hi friends,
I writing a script, one of the function there is:
###################################
########### Return 1 if has subfolders and 0 otherwise ##################
# Get one Argument - Folder name
Has_Subfolders()
{
count=0
cd $1
for zont in `ls -l | grep drw | awk... (1 Reply)
hi friends,
I writing a script, one of the function there is:
###################################
########### Return 1 if has subfolders and 0 otherwise ##################
# Get one Argument - Folder name
Has_Subfolders()
{
count=0
cd $1
for zont in `ls -l | grep drw | awk... (4 Replies)
Hi,
I am trying to do something which I thought was very simple but still being a beginner, has proved not to be.
Input:
val1 val2 val3 val4 val5 val6
.
.
.
etc
Desired Output:
Every row in which value of val6 is a number starting with 0.0 or contains a capital E. The input... (2 Replies)
Hi
for eg my file has:
val1 | val2 | val1 | val2 | val1 | val2 | val1 | val2 |
here i need to replace '|' with '|\n' where the occurence of '|' is divisble by 2
so that the output comes like this
val1 | val2 |
val1 | val2 |
val1 | val2 |
val1 | val2 |
Requesting suggestions in... (1 Reply)
I have a string containing /val1/val2/val3/... and want to get all the fields and determine how many there are, so that I can create the string
-k val1n -k val2n -k val3n
Example:
set str = "/5/6/7"
-k 5n -k 6n -k 7n
set str = "/7/8/9/23"
-k 7n -k 8n -k 9n -k 23n (7 Replies)
Hi all;
We have a table:
COL1 COL2 COL3 COL4 COL5 COL6 COL7
val1 val2 val3 val4 val5 1 val7
val1 val2 val3 val4 val5 3 val7
val1 val2 val3 val4 val5 5 val7
val1 val2 val3 val4 val5 2 val7
...
As you see, 6th columns are filled with numbers as, 1, 2, 3, 4, etc... and I want to make a... (10 Replies)
Hi,
On ksh
I have to write a script tha I will run like this:
./myscript.ksh -param1 val1 val2 val3 .. -param2 xxx -param3 hgf
Param1 will be an array:
param1= ( val1 val2 val3 ..... )
How can I do that?
It is not a homework!!
Thank you. (1 Reply)