mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-04-12 08:22:18 +02:00
Correct assignments, remove unneeded includes.
This commit is contained in:
parent
4de09a9c15
commit
63ae8ca894
1 changed files with 3 additions and 4 deletions
|
@ -26,9 +26,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <sys/user.h>
|
||||
#include <dlfcn.h>
|
||||
#include <unistd.h>
|
||||
#include <libutil.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "libunwind_i.h"
|
||||
|
||||
|
@ -50,8 +49,8 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
|
|||
free(freep);
|
||||
return (-1);
|
||||
}
|
||||
segbase = kve->kve_start;
|
||||
mapoff = kve->kve_offset;
|
||||
*segbase = kve->kve_start;
|
||||
*mapoff = kve->kve_offset;
|
||||
rc = elf_map_image(ei, kve->kve_path);
|
||||
free(freep);
|
||||
return (rc);
|
||||
|
|
Loading…
Add table
Reference in a new issue