Andrew Cagney
d0df847233
* i387-tdep.c: Include "gdb_assert.h".
...
(print_i387_value): Use extract_floating to extract the FP value
from a zero padded local buffer.
2001-07-04 19:19:58 +00:00
Andrew Cagney
291903b139
* TODO: Delete all thread items. The thread code was overhauled.
2001-07-04 18:51:51 +00:00
Elena Zannoni
2ed3d0b5f1
2001-07-04 Elena Zannoni <ezannoni@redhat.com>
...
* memattr.c (create_mem_region): Move n to next memory region,
to avoid infinite loop.
2001-07-04 18:06:02 +00:00
Elena Zannoni
80629b1b75
2001-07-04 Elena Zannoni <ezannoni@redhat.com>
...
* memattr.h: Add copyright statement.
* memattr.c: Ditto.
2001-07-04 17:59:02 +00:00
Jim Blandy
0b010bcc00
* dwarf2read.c (struct partial_die_info): New member: has_pc_info.
...
(read_partial_die): Delete fourth argument; we return this info in
the struct partial_die_info object itself now.
(dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
has_pc_info field of the partial die struct, rather than passing a
variable by reference to read_partial_die.
2001-07-04 16:08:20 +00:00
Jim Blandy
9faef8a7c5
Doc fix.
2001-07-04 16:00:35 +00:00
Jim Blandy
2541c7cf08
* dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
...
code in loop condition. This seemed to be trying to round
info_ptr up to the next four-byte boundary, but that's not what it
actually did. If we discover the problem the old code was really
trying to address, we can fix it properly.
2001-07-04 16:00:08 +00:00
gdbadmin
3231403007
*** empty log message ***
2001-07-04 00:00:02 +00:00
Michael Snyder
5d12882f43
2001-07-03 Michael Snyder <msnyder@redhat.com>
...
* thread_db (find_new_threads_callback, thread_db_thread_alive,
attach_thread): Update comments.
2001-07-03 21:04:49 +00:00
Michael Snyder
00783ba94c
2001-06-29 Ken Whaley <ken@believe.com>
...
* thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
to TD_THR_UNKNOWN when looking for defunct zombie threads.
(thread_db_thread_alive): Ditto.
(find_new_threads_callback): Ditto.
2001-07-03 21:01:59 +00:00
Michael Snyder
4970cb0f38
2001-07-03 Michael Snyder <msnyder@redhat.com>
...
* gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command.
2001-07-03 19:52:46 +00:00
gdbadmin
d81420d233
*** empty log message ***
2001-07-03 00:00:03 +00:00
Michael Snyder
d85da69f69
2001-07-02 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/corefile.exp: Quote the curly braces in regexp.
2001-07-02 21:54:14 +00:00
Daniel Jacobowitz
2740bf6ca5
MAINTAINERS: Add myself to the write-after-approval list
2001-07-02 19:40:47 +00:00
Daniel Jacobowitz
f7856c8f27
2001-07-02 Daniel Jacobowitz <drow@mvista.com>
...
* solib-svr4.c: Include "elf/mips.h".
(elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
2001-07-02 19:37:59 +00:00
Jim Blandy
f9aca02d5a
* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
...
dump_die_list, store_in_ref_table, follow_die_ref): Make these
static; they're private functions.
2001-07-02 17:43:07 +00:00
gdbadmin
c233c2d21d
*** empty log message ***
2001-07-02 00:00:01 +00:00
Eli Zaretskii
42a076f06f
* coffread.c (coff_symfile_read): Parse DWARF2 info if present.
2001-07-01 10:04:58 +00:00
gdbadmin
b9f83eaa83
*** empty log message ***
2001-07-01 00:00:02 +00:00
gdbadmin
18ea51df51
*** empty log message ***
2001-06-30 00:00:02 +00:00
Elena Zannoni
7746781066
2001-06-28 Elena Zannoni <ezannoni@redhat.com>
...
* TODO: Add import of readline 4.2 as a gdb 5.2 task.
2001-06-29 20:32:48 +00:00
Andrew Cagney
83aa8bc680
* gdbint.texinfo (Target Architecture Definition): Update
...
EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P.
The latter has been changed to a true predicate.
2001-06-29 16:21:45 +00:00
Andrew Cagney
855931793f
Sort file.
2001-06-29 16:17:34 +00:00
Andrew Cagney
cde2d0fbc4
* config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
...
mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
2001-06-29 15:53:36 +00:00
Andreas Jaeger
37965979b4
2001-06-29 Andreas Jaeger <aj@suse.de>
...
* MAINTAINERS: Add myself to the write-after-approval list.
2001-06-29 15:13:03 +00:00
Andrew Cagney
a1337894c1
* remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
...
(get_hex_word): Don't use HOST_BYTE_ORDER.
(array_fetch_registers): Add variable ``reg''. Use
store_unsigned_integer to byte-swap the register. Delete unused
local ``regs''.
2001-06-29 04:41:20 +00:00
Andrew Cagney
aa8aac6823
Per Bothner as Java maintainer (joint).
2001-06-29 03:01:33 +00:00
Andrew Cagney
a80163397d
* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
...
* rdi-share/hostchan.h (__unix): Hack, provide a default value.
* rdi-share/host.h (__unix): Hack, define when __NetBSD__.
* TODO: Update.
* MAINTAINERS: Update. arm-elf builds.
2001-06-29 01:19:23 +00:00
gdbadmin
461b96748f
*** empty log message ***
2001-06-29 00:00:02 +00:00
Jim Blandy
bf93dfed85
* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
2001-06-28 23:12:18 +00:00
Jim Blandy
f5e1cf12f7
* d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,
...
d10v_breakpoint_from_pc, d10v_register_byte,
d10v_register_raw_size, d10v_register_virtual_size,
d10v_register_virtual_type, d10v_register_convertible,
d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
d10v_store_struct_return, d10v_store_return_value,
d10v_extract_struct_value_address, d10v_frame_saved_pc,
d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
d10v_frame_chain, d10v_frame_init_saved_regs,
d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address, d10v_push_arguments,
d10v_extract_return_value): Make these functions static.
2001-06-28 22:10:41 +00:00
Andrew Cagney
8afc772b05
* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
...
of files to delete.
From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
* gdb.disasm/h8300s.exp: New file.
gdb.disasm/h8300s.s: Likewise.
2001-06-28 22:01:22 +00:00
Andrew Cagney
100a02e1de
From Fernando Nasser:
...
* infrun.c (handle_inferior_event): Handle "nexti" inside function
prologues.
2001-06-28 21:48:41 +00:00
Michael Snyder
80b34fabd3
2001-06-28 Michael Snyder <msnyder@redhat.com>
...
* infrun.c (handle_inferior_event): Replace prev_pc test in all
calls to bpstat_stop_status (removed in 1999-09-24). This test
helps distinguish stepping over a breakpoint trap from stepping
thru a jump to the instruction after a breakpoint trap.
(handle_inferior_event): Don't bother writing the PC if
DECR_PC_AFTER_BREAK is zero (optimization).
* breakpoint.c (bpstat_stop_status): Add comment explaining the
purpose and usage of the "not_a_breakpoint" argument in computing
the breakpoint address.
2001-06-28 21:34:03 +00:00
Andrew Cagney
1456ad8e67
From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
...
* monitor.c (setmem_resp_delim_pattern): New regexp pattern.
(setreg_resp_delim_pattern): Likewise.
(setmem_resp_delim_fastmap): New buffer.
(setreg_resp_delim_fastmap): Likewise.
(monitor_open): Initialize above regexp if they are defined.
(monitor_write_memory): Use regexp to check the result of write.
(monitor_store_register): Likewise to check result of register set.
2001-06-28 20:03:10 +00:00
Andrew Cagney
399371f6c0
From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
...
* coff-solib.c: Include symfile.h and objfiles.h to make
OBJF_SHARED visible.
2001-06-28 19:54:41 +00:00
Andrew Cagney
d6ba65f6c1
Some how this never got removed when ChangeLog was created :-(
2001-06-28 19:14:22 +00:00
Andrew Cagney
b0e2e90ab4
Build MI by default.
2001-06-28 19:04:10 +00:00
Joel Brobecker
ad98fdaf51
Add entry for change in solib-osf.c (osf_in_dynsym_resolve_code).
2001-06-28 10:38:12 +00:00
Joel Brobecker
b184b2876a
(osf_in_dynsym_resolve_code): Add a comment explaining the consequences of
...
always returning zero. No code change.
2001-06-28 10:36:19 +00:00
Andrew Cagney
49dd83ba17
From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
...
* defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
to TARGET_SIGNAL_REALTIME_127.
* target.c (struct signals): Add SIG63 to SIG127.
(target_signal_from_host): Handle up to 127 signals.
(do_target_signal_to_host): Likewise.
2001-06-28 04:31:36 +00:00
Andrew Cagney
29372230ea
* remote-sds.c (sds_start_remote): Change type of ``c'' to int
...
from possibly unsigned char.
2001-06-28 03:40:27 +00:00
Andrew Cagney
a196c81c19
Exterminate ser-ocd.c.
2001-06-28 03:33:26 +00:00
Andrew Cagney
f4c100a72c
Dan Berlin stepped down as C++ maintainer.
2001-06-28 02:40:39 +00:00
Andrew Cagney
e7745bde5c
Sort write after approval.
2001-06-28 02:37:02 +00:00
gdbadmin
64fc7bdd68
*** empty log message ***
2001-06-28 00:00:05 +00:00
Andrew Cagney
cff22675c6
For MI>0, output full breakpoint table header information. Output the
...
breakpoint table body as a list.
2001-06-27 17:27:08 +00:00
Andrew Cagney
d7faa9e713
Always send the breakpoint table headers to ui-out. MI/CLI can
...
internally decide if they should be displayed.
2001-06-27 00:09:01 +00:00
gdbadmin
605121c0ec
*** empty log message ***
2001-06-27 00:00:02 +00:00
Andrew Cagney
8eb6914741
delete reference to query output
2001-06-26 19:11:48 +00:00
Andrew Cagney
dc61bc6d40
* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
...
"locals" entries.
* gdbmi.texinfo (stack-list-locals, stack-list-arguments)
(exec-interrupt, target-select, thread-select): Update
documentation.
* mi-stack.exp: Update. Output for args=... and
locals=... changed to a list.
2001-06-26 18:50:51 +00:00
Andrew Cagney
d5e5643b98
* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
...
"stack" entries.
(mi_cmd_stack_list_args): Ditto for "stack-args".
* gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
documentation.
(GDB/MI Stack Manipulation Commands): Fix section title. Was
Stack Manipulation Commands in GDB/MI.
* mi-stack.exp: Update. Output for stack=..., args=... and
stack-args=... changed to a list.
2001-06-26 18:13:46 +00:00
Andrew Cagney
42a74a599a
Unscramble two merged patches. This puts memory lists back to normal.
2001-06-26 05:12:37 +00:00
Andrew Cagney
68c81b5495
* stack.c (print_frame): For ui_out, output a list of arguments.
...
Update all tests. Update doco.
2001-06-26 04:48:49 +00:00
Kevin Buettner
834091c8e9
Update paper trail entry.
2001-06-26 00:41:44 +00:00
Michael Snyder
ef5cf84e21
2001-06-25 Michael Snyder <msnyder@redhat.com>
...
* infrun.c: Eliminate the "thread_step_needed" state variable,
and replace it with a relatively simple test in resume.
(resume): Replace thread_step_needed logic with a test for
stepping, breakpoint_here_p and breakpoints_inserted.
Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
(proceed): Discard thread_step_needed logic.
(wait_for_inferior, fetch_inferior_event, handle_inferior_event):
Discard thread_step_needed logic.
2001-06-26 00:26:42 +00:00
gdbadmin
36d4f36439
*** empty log message ***
2001-06-26 00:00:03 +00:00
Andrew Cagney
45399be4ec
Update data-read-memory so that it outputs lists.
2001-06-25 21:05:11 +00:00
Andrew Cagney
80f43b40c5
For data-list-register-values output a list of register values.
2001-06-25 20:08:53 +00:00
Andrew Cagney
173d689456
Output register-names as a list.
2001-06-25 19:02:18 +00:00
Andrew Cagney
40d5d7e983
data-list-changed-registers outputs a list of registers.
2001-06-25 18:34:25 +00:00
gdbadmin
d14c409db3
*** empty log message ***
2001-06-25 00:00:02 +00:00
Fernando Nasser
cb90e81a8b
2001-06-24 Fernando Nasser <fnasser@redhat.com>
...
* remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
* rdi-share/host.h: Add missing parenthesis in conditional.
2001-06-22 J.T. Conklin <jtc@redback.com>
* configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.
2001-06-24 13:46:09 +00:00
gdbadmin
78586f06cb
*** empty log message ***
2001-06-24 00:00:02 +00:00
Andrew Cagney
2dd627049d
Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything.
2001-06-23 21:47:09 +00:00
Andrew Cagney
70242e8df5
Change mi/data-disassemble command output to a list ([]) instead of
...
({}).
2001-06-23 20:43:56 +00:00
Michael Chastain
b4127474dc
2001-06-22 Michael Chastain <chastain@redhat.com>
...
* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
This is operationally compatible with the previous version.
2001-06-23 05:22:46 +00:00
gdbadmin
06ed0087a3
*** empty log message ***
2001-06-23 00:00:01 +00:00
J.T. Conklin
39812cebba
* configure.in: include nlist.h when checking for member som_addr
...
in struct so_map.
* configure: regenerate.
2001-06-22 16:01:31 +00:00
gdbadmin
4772d57e2a
*** empty log message ***
2001-06-22 00:00:02 +00:00
Keith Seitz
8d2139f30c
* cli-out.c (cli_out_new): Initialize new structure member
...
"suppress_output".
2001-06-21 22:54:06 +00:00
Andrew Cagney
76fe6b98e8
* mi-out.c (struct ui_out_data): Replace field first_header with
...
suppress_output.
(mi_begin, mi_end): Check suppress_header.
(mi_field_int, mi_field_skip): Ditto.
(mi_field_string, mi_field_fmt): Ditto.
(mi_table_begin): When nr_rows is zero, set suppress_header else,
output the start of the header.
(mi_table_body): Clear suppress header.
2001-06-21 19:27:50 +00:00
Andrew Cagney
a7c14aa534
Output ``[]'' when a list.
2001-06-21 16:15:20 +00:00
Andrew Cagney
b25959ec59
* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
...
(table_header_ftype): Ditto.
* cli-out.c (cli_table_header): Update.
* ui-out.c (ui_out_table_header): Update.
(uo_table_header): Update.
(default_table_header): Update.
(append_header_to_list): Update.
(struct ui_out_header): Add field ``col_name''.
(append_header_to_list): Use xstrdup. Initialize col_name.
* breakpoint.c (breakpoint_1): Pass COL_NAME to
ui_out_table_header.
2001-06-21 15:39:54 +00:00
gdbadmin
afe5040c4c
*** empty log message ***
2001-06-21 00:00:05 +00:00
gdbadmin
1fe213d941
*** empty log message ***
2001-06-20 00:00:06 +00:00
Andrew Cagney
698384cd69
* cli-out.c: Include "gdb_assert.h'.
...
(struct ui_out_data): Add field ``suppress_output.
(cli_table_begin): When NR_ROWS is zero, suppress_output.
(cli_table_end): Clear suppress_output.
(cli_table_body): Check suppress_output.
(cli_table_header, cli_begin): Ditto.
(cli_end, cli_field_int, cli_field_skip): Ditto.
(cli_field_string, cli_field_fmt, cli_spaces): Ditto.
(cli_text, cli_message, cli_wrap_hint): Ditto.
* breakpoint.c (breakpoint_1): Close the ui_out table before
printing the breakpoint not found message.
2001-06-19 20:30:11 +00:00
Andrew Cagney
d63f1d40c6
* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
...
(default_table_begin): Ditto.
* breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
ui_out_table_begin.
Update everything.
2001-06-19 16:19:16 +00:00
gdbadmin
1c41510302
*** empty log message ***
2001-06-19 00:00:02 +00:00
Andrew Cagney
7f3b047364
* breakpoint.c (breakpoint_1): Restructure. Compute the
...
nr_printable_breakpoints. Move the header output to before the
main print breakpoints loop.
(user_settable_breakpoint): New function.
2001-06-18 18:48:06 +00:00
Andrew Cagney
b30bf9ee99
Recognize -i=mi0, -i=mi1 and -i=mi.
2001-06-18 17:57:43 +00:00
Andrew Cagney
83905903c9
* gdbarch.sh: Generate an error when conflicting macro
...
definitions. Generate an error when both pure multi-arch and
"tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
2001-06-18 13:14:40 +00:00
Andrew Cagney
b85045e00b
Clone the mi-*.exp tests into mi0-*.exp.
2001-06-18 12:55:07 +00:00
gdbadmin
f6eb6cffba
*** empty log message ***
2001-06-18 00:00:03 +00:00
Andrew Cagney
c2202abf19
Solaris native is only multi-arch partial.
2001-06-17 16:57:28 +00:00
Fernando Nasser
0d70f41b68
2001-06-17 Fernando Nasser <fnasser@redhat.com>
...
From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
* cli/cli-script.c (free_command_lines): Reset list pointer.
2001-06-17 15:16:12 +00:00
Eli Zaretskii
cb51c4e04d
* annotate.texi: Add @noindent where needed. From Dmitry
...
Sivachenko <dima@Chg.RU>.
* gdb.texinfo: Indexing fix. From Dmitry Sivachenko.
2001-06-17 07:00:34 +00:00
gdbadmin
9733f989bb
*** empty log message ***
2001-06-17 00:00:02 +00:00
Andrew Cagney
7824d2f224
* arch-utils.c (init_frame_pc_default): New function
...
* arch-utils.h (init_frame_pc_default): Declare.
* gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
not init_frame_pc_noop.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (INIT_FRAME_PC): Delete macro definition.
* mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
init_frame_pc_noop.
2001-06-16 20:00:24 +00:00
Andrew Cagney
1622c8f764
regenerate gdbarch.c.
2001-06-16 19:48:01 +00:00
Andrew Cagney
656db9b087
Fix typo.
2001-06-16 19:42:35 +00:00
Andrew Cagney
163e6d2d75
* gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
...
syntax.
(GDB/MI Draft Changes to Output Syntax): Delete section.
2001-06-16 18:57:56 +00:00
gdbadmin
a2e50ba75e
*** empty log message ***
2001-06-16 00:00:01 +00:00
Andrew Cagney
01fb743397
Multi-arch CANNOT_FETCH_REGISTER() and CANNOT_STORE_REGISTER().
2001-06-15 23:50:46 +00:00
Andrew Cagney
10312cc4d2
Multi-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().
2001-06-15 23:10:55 +00:00
Michael Snyder
dd80620e6b
2001-06-15 Michael Snyder <msnyder@redhat.com>
...
* infrun.c (context_switch): New function. Abstract the operation
of saving and restoring infrun's state when switching threads.
(handle_inferior_event): Normalize the handling of the 'thread hop'
event (when the wrong thread hits a thread-specific breakpoint,
and we need to solo-step that thread past the breakpoint).
Call keep_going, instead of target_resume. Handle the subsequent
singlestep-trap as a normal event instead of just resuming.
2001-06-15 22:44:20 +00:00
Andrew Cagney
875e176797
multi-arch ADDR_BITS_REMOVE.
2001-06-15 22:10:21 +00:00
Andrew Cagney
4009c67702
Recognise the s390 host and target.
2001-06-15 19:23:45 +00:00
Andrew Cagney
d6dd581ead
* gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
...
(EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* values.c (value_being_returned): Change the reference to
EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
2001-06-15 19:19:23 +00:00
Joel Brobecker
09843d7f0c
Add Paul Hilfinger and Joel Brobecker to the Write After Approval list.
2001-06-15 15:43:05 +00:00