addr2line.c (51dd214c84efceda87c2ac10d34b7e3ee5b6c28f) addr2line.c (71a0c925ce76a304c25bf6d8d8035720f82941bd)
1/*-
2 * Copyright (c) 2009 Kai Wang
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 26 unchanged lines hidden (view full) ---

35#include <libelftc.h>
36#include <libgen.h>
37#include <stdio.h>
38#include <stdlib.h>
39#include <string.h>
40
41#include "_elftc.h"
42
1/*-
2 * Copyright (c) 2009 Kai Wang
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 26 unchanged lines hidden (view full) ---

35#include <libelftc.h>
36#include <libgen.h>
37#include <stdio.h>
38#include <stdlib.h>
39#include <string.h>
40
41#include "_elftc.h"
42
43ELFTC_VCSID("$Id: addr2line.c 2185 2011-11-19 16:07:16Z jkoshy $");
43ELFTC_VCSID("$Id: addr2line.c 3148 2015-02-15 18:47:39Z emaste $");
44
45static struct option longopts[] = {
46 {"target" , required_argument, NULL, 'b'},
47 {"demangle", no_argument, NULL, 'C'},
48 {"exe", required_argument, NULL, 'e'},
49 {"functions", no_argument, NULL, 'f'},
50 {"section", required_argument, NULL, 'j'},
51 {"basename", no_argument, NULL, 's'},

--- 361 unchanged lines hidden ---
44
45static struct option longopts[] = {
46 {"target" , required_argument, NULL, 'b'},
47 {"demangle", no_argument, NULL, 'C'},
48 {"exe", required_argument, NULL, 'e'},
49 {"functions", no_argument, NULL, 'f'},
50 {"section", required_argument, NULL, 'j'},
51 {"basename", no_argument, NULL, 's'},

--- 361 unchanged lines hidden ---