freebsd-skq/contrib
Ed Maste 69dcf941a4 lldb: propagate error to user if memory read fails
Previously, an attempt to read an unreadable access reported zeros:

(lldb) memory read -format hex -size 8 0
0x00000000: 0x0000000000000000 0x0000000000000000
0x00000010: 0x0000000000000000 0x0000000000000000
...

Now, if DoReadMemory encounters error then return 0 (bytes read) so we
report the error to the user:

(lldb) memory read -format hex -size 8 0
error: Bad address

LLVM PR:	37190

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2018-04-21 00:34:46 +00:00
..
amd amd: correct formatting of 'SEE ALSO' 2018-04-14 21:54:22 +00:00
apr
apr-util
atf atf-sh(3): document atf_init_test_cases(3) fully 2017-06-30 05:49:12 +00:00
binutils Fix clang 6.0.0 compiler warnings in binutils 2017-12-24 16:51:59 +00:00
blacklist blacklist: Fix minor memory leak in configuration parsing error case 2018-03-20 00:16:24 +00:00
bmake Update to bmake-201802222 2018-03-02 01:53:50 +00:00
bsnmp Don't put multiple names on a single .Nm line. This fixes apropos(1) 2018-04-17 09:05:46 +00:00
byacc MFV: r319352 2017-05-31 19:37:23 +00:00
bzip2
com_err
compiler-rt Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
cortex-strings Work around a bug in QEMU when loading data with a load pair instruction 2017-08-26 15:08:27 +00:00
dialog
diff
dma Split body of mails not respecting RFC2822 2017-12-06 22:08:35 +00:00
dtc
ee
elftoolchain elftoolchain nm(1): Initialize allocated memory before use 2018-03-16 22:25:33 +00:00
expat
file MFV r323678: file 5.32 2017-09-17 19:14:38 +00:00
flex
gcc Use a workaround to compile the crt init functions correctly with clang. 2018-02-06 17:01:10 +00:00
gcclibs
gdb Commit forgotten change in gdb allowing to use libedit 2018-02-06 12:17:03 +00:00
gdtoa
gperf
hyperv/tools hyperv: Add VF bringup scripts and devd rules. 2017-07-31 07:18:15 +00:00
ipfilter loadpoolfile() implements a -R (NORESOLVE) option which is not listed 2017-08-05 06:46:06 +00:00
jemalloc Account for the fact that jemalloc 5.0.0 dropped STATIC_PAGE_SHIFT 2018-01-31 21:56:23 +00:00
ldns
ldns-host
less MFV r329552: less v530. 2018-02-19 05:10:22 +00:00
libarchive MFV r328323,328324: 2018-01-24 14:24:17 +00:00
libbegemot
libc-pwcache
libc-vis Update vis(3) the latest from NetBSD. 2017-11-28 01:35:28 +00:00
libc++ Pull in r321963 from upstream libc++ trunk (by me): 2018-01-07 18:33:19 +00:00
libcxxrt Import libcxxrt master 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92. 2017-03-25 13:17:48 +00:00
libdivsufsort
libexecinfo
libgnuregex
libpcap Clear clang warning: 2017-07-03 19:49:25 +00:00
libstdc++ libstdc++: fix symbol version script for LLD 2017-04-19 19:06:47 +00:00
libucl
libxo Update from libxo-0.8.1 to 0.8.4: 2017-08-03 15:47:42 +00:00
llvm lldb: propagate error to user if memory read fails 2018-04-21 00:34:46 +00:00
lua When the LUA_FLOAT_TYPE != LUA_FLOAT_INT64, we can't reference float 2018-02-23 04:04:18 +00:00
mdocml mdoc(7): Update .Dd for previous commit 2017-12-05 23:06:15 +00:00
mknod
mtree
ncurses
netbsd-tests Fix build post r330299 2018-03-02 23:31:55 +00:00
netcat
ngatm
ntp MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
nvi
ofed ofed: Define barriers for mips and arm. 2017-12-11 11:59:45 +00:00
one-true-awk Don't display empty error context. 2017-09-24 05:04:06 +00:00
openbsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
opencsd/decoder Import OpenCSD -- an ARM CoreSight(tm) Trace Decode Library. 2018-04-04 12:55:31 +00:00
openpam Upgrade to OpenPAM Resedacea. 2017-05-05 13:31:25 +00:00
openresolv
opie Revert r328492: 2018-01-28 03:16:54 +00:00
pam_modules/pam_passwdqc
pf
pjdfstest Pull down pjdfstest 0.1 2017-06-28 09:22:45 +00:00
pnpinfo
processor-trace Import Intel Processor Trace decoder library from 2018-03-19 18:59:15 +00:00
sendmail Don't declare union semun in userspace unless _WANT_SEMUN is defined. 2018-03-02 22:32:53 +00:00
serf
smbfs Fix SMBFS when saved passwords are greater than 18 characters 2017-06-08 00:48:26 +00:00
sqlite3 Update from sqlite3-3.14.1 to sqlite3-3.20.0. This is a private lib. 2017-08-11 00:00:01 +00:00
subversion Add Pull Request to the Subversion commit template 2018-01-09 21:02:39 +00:00
tcp_wrappers remove bogus declaration of malloc from tcp_wrappers 2017-06-20 16:40:31 +00:00
tcpdump Update tcpdump to 4.9.2 2017-12-06 02:21:11 +00:00
tcsh MFV r315950: 2017-03-25 14:14:11 +00:00
telnet telnetd(8): Fix dereference of uninitialized value 'IF' 2018-03-16 20:59:56 +00:00
tnftp ftp(1): Use closefrom() instead of individual close()s. 2018-01-29 01:05:57 +00:00
top top: fix warnings from clang/gcc 2018-04-18 13:17:14 +00:00
traceroute When using SCTP for sending probe packets, use INIT chunks for payloads 2018-01-27 19:23:42 +00:00
tzcode
tzdata Import tzdata 2018d 2018-03-24 04:52:29 +00:00
unbound Merge upstream r4302 to support multiple concurrently valid anchors. 2017-08-31 12:02:14 +00:00
unvis
vis
wpa Update wpa_supplicant/hostapd for 2017-01 vulnerability release. 2017-10-17 17:22:36 +00:00
xz xz: set noexec stack flag on FreeBSD 2017-06-03 02:42:49 +00:00
zlib MFV: r323381 2017-09-10 01:25:15 +00:00