Mark Kettenis
2747183e55
* gnu-nat.c: Include <ctype.h>.
...
(gnu_pid_to_exec_file): Add PID parameter.
(set_sig_thread_cmd): Use PIDGET on return value from
thread_id_to_pid.
(proc_string): Use MERGEPID to construct argument to
pid_to_thread_id.
2001-05-24 20:05:07 +00:00
Michael Snyder
0816a3e5d5
2001-05-24 Michael Snyder <msnyder@redhat.com>
...
* gdb.threads/pthreads.exp (all_threads_running): Add an explicit
test for (full_coverage == 0). This makes the test run faster,
and prevents dejagnu getting out of step.
2001-05-24 19:54:41 +00:00
Michael Snyder
2caa35cb88
2001-05-21 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Allow for targets with 4-byte short.
2001-05-24 18:30:10 +00:00
Kevin Buettner
f6dc23a931
* gdb.base/finish.exp (finish_void): Revise pattern for
...
stopping on the call statement to not permit stopping at
the start of the instructions comprising the call sequence.
2001-05-24 01:14:15 +00:00
Michael Chastain
7dbd117d87
2001-05-19 Michael Chastain <chastain@redhat.com>
...
* gdb.base/callfuncs.exp: Make all test names unique.
* gdb.base/commands.exp: Make all test names unique.
* gdb.base/condbreak.exp: Make all test names unique.
* gdb.base/dbx.exp: Make all test names unique.
* gdb.base/default.exp: Make all test names unique.
* gdb.base/define.exp: Make all test names unique. Conform some FAIL
and TIMEOUT messages to their corresponding PASS message.
* gdb.base/ending-run.exp: Make all test names unique.
* gdb.base/long_long.exp: Remove duplicate test.
2001-05-23 19:04:13 +00:00
Kevin Buettner
e4f237da05
* breakpoint.c (breakpoint_address_is_meaningful): New function.
...
(check_duplicates): Don't compare non-meaningful addresses.
2001-05-23 00:52:44 +00:00
Michael Snyder
5fd913cc66
2001-05-22 Michael Snyder <msnyder@redhat.com>
...
* thread-db.c: Allow for defunct zombie threads.
(attach_thread): Do not attempt to attach zombie thread.
(thread_db_thread_alive): Return false for defunct zombie thread.
(find_new_threads_callback): Don't add defunct zombie thread to list.
2001-05-23 00:06:15 +00:00
Jim Blandy
7ed49443c2
Add support for the GNU V3 C++ ABI.
...
(Includes changes by Dan Berlin.)
* gnu-v3-abi.c: New file.
* minsyms.c: #include "value.h" and "cp-abi.h".
(install_minimal_symbols): Check the minimal symbol table for
symbols that look mangled in the V3 style, and select the V3 ABI
if we find any.
* Makefile.in (SFILES): Add gnu-v3-abi.c.
(COMMON_OBS): Add gnu-v3-abi.o.
(gnu-v3-abi.o): Add new rule.
(minsyms.o): Depend on $(cp_abi_h) and $(value_h).
2001-05-22 21:02:41 +00:00
Kevin Buettner
6b0b0a9efb
* gdb.base/finish.exp (finish_void): Allow "finish" command to
...
stop on the call statement as well as the statement after the
call.
2001-05-22 00:25:27 +00:00
Jim Blandy
8d65888a44
* values.c (value_primitive_field): If we're extracting a base
...
class, then the type of the result should be the base class being
extracted, not the type of which it is a base class.
2001-05-21 20:08:59 +00:00
Jim Blandy
a44999d56d
* value.h (struct value): Doc fix, and rearrange members to place
...
them near their explanations.
2001-05-21 20:02:22 +00:00
Michael Snyder
6c3f2dbfeb
2001-05-21 Michael Snyder <msnyder@redhat.com>
...
* remote.c (remote_async_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.
2001-05-21 18:48:26 +00:00
Jim Blandy
984e377c92
Formatting tweak.
2001-05-21 05:30:59 +00:00
Stephane Carrez
b4fa4770b8
* m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
...
(m68hc11_analyze_instruction): Update the pc correctly.
(m68hc11_guess_from_prologue): Take into account the stack correction
for the saving address.
2001-05-20 11:53:42 +00:00
Daniel Berlin
2b12787743
2001-05-07 Daniel Berlin <dan@cgsoftware.com>
...
Changes by Jim Ingham:
* values.c (value_change_enclosing_type): New function. If the
new enclosing type is larger than the old one, we need to allocate
more space.
* value.h: Add value_change_enclosing_type prototype.
* valops.c (value_cast): Use it.
(value_assign): Use it.
(value_addr): Use it.
(value_ind): Use it.
(value_full_object): Use it.
2001-05-07 Daniel Berlin <dan@cgsoftware.com>
* values.c (value_static_field): Handle static fields that have a constant value.
2001-05-19 15:20:14 +00:00
Michael Snyder
736d0890a9
2001-05-17 Michael Snyder <msnyder@redhat.com>
...
* blockframe.c (create_new_frame): Zero all the fields via memset,
rather than zeroing them one by one.
2001-05-17 20:04:46 +00:00
Eli Zaretskii
a577b05c32
* top.c (user_args): Remove unused declaration.
2001-05-17 15:05:32 +00:00
Michael Snyder
9734519825
2001-05-15 John S Kallal <jskallal@home.com>
...
* remote.c (remote_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.
2001-05-16 20:10:52 +00:00
Michael Snyder
b8adfa9f55
2001-05-16 Michael Snyder <msnyder@redhat.com>
...
* infcmd.c (do_registers_info): Move alloca outside of loop.
2001-05-16 20:05:49 +00:00
Mark Kettenis
aca21d9a80
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
...
info.bfd_arch_info.
2001-05-15 11:38:26 +00:00
Kevin Buettner
b08cfdb65e
Fix warnings resulting from fact that GET_LWP() now returns a long rather
...
than an int.
2001-05-15 00:13:47 +00:00
Kevin Buettner
ca6724c16a
Redefine ptid_t to be a struct rather than an int.
2001-05-15 00:03:38 +00:00
Andrew Cagney
a5d7c4910b
Remove stray @item's.
2001-05-14 20:24:23 +00:00
Michael Snyder
234fa6d16b
2001-05-14 Michael Snyder <msnyder@redhat.com>
...
* remote.c (hex2bin): Make first argument const.
Require explicit count, don't accept null-terminated str.
(remote_resume, remote_async_resume): White space fix-up.
2001-05-14 19:02:00 +00:00
Mark Kettenis
caadab2cfa
* symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
...
basename (NAME). The FreeBSD basename returns a pointer to a
static buffer, even if it's simply returning a string identical to
its argument.
(lookup_partial_symtab): Likewise.
2001-05-14 18:49:54 +00:00
Michael Snyder
cb0ba49e37
2001-05-14 Michael Snyder <msnyder@redhat.com>
...
* solib.c, solib.h: Add comment for function no_shared_libraries.
2001-05-14 18:45:45 +00:00
Michael Snyder
2644f3936c
2001-05-14 Michael Snyder <msnyder@redhat.com>
...
* remote.c (remote_write_bytes): Set nr_bytes to return value of
bin2hex.
2001-05-14 18:31:35 +00:00
Kevin Buettner
183a2f1a42
Fix no_shared_libraries() declaration.
2001-05-14 18:09:05 +00:00
Andrew Cagney
5a9aa5dc6f
Output ``[...]'' when a list.
2001-05-14 16:59:49 +00:00
Andrew Cagney
1dd1751e96
* remote.c (remote_write_bytes): Set nr_bytes before returning it.
...
* solib.h (no_shared_libraries): Declare.
2001-05-14 16:48:01 +00:00
Andrew Cagney
b732d07d86
Fix logic selecting a new architecture. Use the sequence:
...
o provided by INFO
o hard-wired by (gdb) set ...
o reversed engineered from INFO.abfd
o default to previous architecture
2001-05-14 16:43:35 +00:00
Andrew Cagney
05a54c4ffa
* Makefile.in (GDBvn.texi): Set GDBVN from ../version.in.
2001-05-14 16:18:50 +00:00
Michael Chastain
fb18ec4a20
Add missing entry for change committed on 2001-01-28.
2001-05-12 21:56:04 +00:00
Fernando Nasser
67dd5ca691
2001-05-12 Fernando Nasser <fnasser@redhat.com>
...
* remote-e7000.c (e7000_open): Check for bad baud rate.
* remote-st.c (st2000_open): Ditto.
2001-05-12 21:05:59 +00:00
Jim Blandy
f8e42d245c
* thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
...
and ui_out_tuple_end instead of ui_out_list_begin and
ui_out_list_end.
2001-05-12 05:04:01 +00:00
Jim Blandy
529acb4893
* Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
...
dependencies. Reorder dependencies to match #includes in file,
for easier verification.
2001-05-12 04:09:38 +00:00
Andrew Cagney
666547aa9e
s/ui_out_list/ui_out_tupple/
2001-05-12 04:08:24 +00:00
Jim Blandy
30c98d84cd
* gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
2001-05-12 04:01:16 +00:00
Andrew Cagney
1faa59a8b2
Tweeks from RDBrown to fix compiling on HP/UX using HP's compiler.
2001-05-12 03:18:34 +00:00
Andrew Cagney
5d6640b1ba
NEWS on version.in.
2001-05-12 01:34:09 +00:00
Jim Blandy
99567b1b4e
* mips-tdep.c (mips_store_return_value,
...
mips_extract_return_value): Pass arguments to
return_value_location in the proper order.
2001-05-12 00:38:11 +00:00
Andrew Cagney
d381488167
Replace Makefile.in:VERSION with the file version.in.
2001-05-12 00:31:09 +00:00
Elena Zannoni
a602d56b17
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Revamp test. Make it execute on all
platforms.
2001-05-11 19:53:38 +00:00
Elena Zannoni
40713331c5
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Revamp test. Make it execute on all
platforms.
2001-05-11 19:53:04 +00:00
Kevin Buettner
4d28f7a8fb
Add ``type'' parameter to set_raw_breakpoint().
2001-05-11 19:46:35 +00:00
Fernando Nasser
08b4f080d5
2001-05-11 Fernando Nasser <fnasser@redhat.com>
...
* ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
(hardwire_setbaudrate): Set errno to EINVAL and return with error
if the conversion of the baud rate to code fails.
2001-05-11 18:34:13 +00:00
Michael Snyder
3ac4495ac8
2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
...
* symtab.c (print_msymbol_info): Print addresses by portable method
longest_local_hex_string_custom. Allow for 64-bit addresses.
2001-05-11 17:48:31 +00:00
Fernando Nasser
e800833bdb
2001-05-11 Fernando Nasser <fnasser@redhat.com>
...
* mi-var-child.exp: Adjust for the fact that now (char *) can be
dereferenced.
2001-05-11 07:00:04 +00:00
Andrew Cagney
9a0f0643ee
Pass the tupple/list parameter.
2001-05-10 22:32:26 +00:00
Andrew Cagney
127431f9a7
2001-05-10 Andrew Cagney <ac131313@redhat.com>
...
* ui-out.h (make_cleanup_ui_out_begin_end): Declare.
* ui-out.c (struct ui_out_end_cleanup_data): Define.
(do_cleanup_end): New function. Replace do_list_end.
(make_cleanup_ui_out_end): New function.
(make_cleanup_ui_out_begin_end): New function.
(make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
2001-05-10 21:30:37 +00:00