Commit | Line | Data |
---|---|---|
3e1d3d67 DT |
1 | Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com> |
2 | ||
97bff53b DT |
3 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete, |
4 | already defined in tm.h. | |
5 | ||
3e1d3d67 DT |
6 | * inftarg.c: change <sys/unistd.h> to <unistd.h> and |
7 | conditionalize its inclusion. | |
8 | * infttrace.c: ditto. | |
9 | ||
4c49748e SS |
10 | Thu Dec 31 15:26:13 1998 Stan Shebs <shebs@andros.cygnus.com> |
11 | ||
12 | * corelow.c (core_ops): Don't initialize statically. | |
13 | (init_core_ops): New function, fills in core_ops. | |
14 | (_initialize_corelow): Use it. | |
15 | ||
65b07ddc DT |
16 | Thu Dec 31 16:54:30 1998 David Taylor <taylor@texas.cygnus.com> |
17 | ||
18 | The following changes were made by | |
19 | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
20 | Edith Epstein <eepstein@sophia.cygnus.com> | |
21 | David Taylor <taylor@texas.cygnus.com> | |
22 | ||
b5c7e122 | 23 | * config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Change to read |
65b07ddc DT |
24 | nullify instruction bit from IPSW only when we are not in a system |
25 | call. | |
b5c7e122 | 26 | (STRCAT_REGISTER, pa_do_strcat_registers_info): Additional |
65b07ddc DT |
27 | parameter -- precision. |
28 | ||
b5c7e122 | 29 | * Makefile.in (BUILD_TUI): To build the tui, only when configured |
65b07ddc | 30 | with --enable-tui. |
b5c7e122 SS |
31 | (YLWRAP): Use ylwrap to avoid problems on systems w/o bison. |
32 | (gdb$(EXEEXT)): Make it dependent on BUILD_TUI. | |
33 | (all-tui): Remove dependency from phony target. | |
34 | (c-exp.tab.c): Use ylwrap instead of bison. | |
35 | (jv-exp.tab.c): Ditto. | |
36 | (f-exp.tab.c): Ditto. | |
37 | (m2-exp.tab.c): Ditto. | |
38 | ||
39 | * configure.in (ENABLE_CFLAGS): Define and export BUILD_TUI. | |
65b07ddc | 40 | |
b5c7e122 | 41 | * configure: Regenerated. |
65b07ddc | 42 | |
b5c7e122 | 43 | * c-typeprint.c (c_type_print_base): Get to the method name by |
65b07ddc DT |
44 | skipping over all the namespaces, classes and '::'. |
45 | ||
b5c7e122 | 46 | * infcmd.c (run_command): Only call SOLIB_RESTART if it's |
65b07ddc | 47 | defined. |
b5c7e122 | 48 | (detach_command): Ditto. |
65b07ddc | 49 | |
b5c7e122 | 50 | * infptrace.c (call_ptrace): Add some debugging code. |
65b07ddc | 51 | |
b5c7e122 SS |
52 | * infrun.c (follow_inferior_fork): Only define on HP. |
53 | (wait_for_inferior): Only call SOLIB_IN_DYNAMIC_LINKER if we have | |
65b07ddc DT |
54 | shared libraries; restore test of IN_SOLIB_DYNSYM_RESOLVE_CODE |
55 | removed by HP. | |
56 | ||
b5c7e122 | 57 | * Makefile.in (ALLDEPFILES): Add somread.c, hp-psymtab-read.c, |
65b07ddc | 58 | hp-symtab-read.c. |
b5c7e122 SS |
59 | (SFILES): Remove the above files |
60 | (COMMON_OBS): Remove somread.o | |
61 | (SFILES): Add the tui files to this, so they get | |
65b07ddc | 62 | included in etags tables. |
b5c7e122 | 63 | (all-tui): New rule, which does a recursive make in the tui |
65b07ddc | 64 | subdir. |
b5c7e122 SS |
65 | (gdb$(EXEEXT)): Add tui-all to the list of |
66 | dependencies, and add tui/libtui.a to the link list. | |
67 | (tui/libtui.a): When recursing, pass down | |
65b07ddc DT |
68 | ${FLAGS_TO_PASS}. And don't echo the make command. This is |
69 | closer to what the other recursions do. | |
b5c7e122 SS |
70 | (HFILES_NO_SRCDIR) add hpread.h. |
71 | (COMMON_OBS): Add hp-psymtab-read.o, hp-symtab-read.o | |
72 | Allow the TUI code to be conditionally enabled. | |
65b07ddc DT |
73 | (TUI_TARGET, TUI_LIBRARY): New variables, whose values are set by |
74 | the configuration script. They're set to the empty string when | |
75 | the TUI isn't enabled. | |
76 | (gdb$(GDBEXT)): Use those, instead of referring to tui-all and | |
77 | tui/libtui.a directly. | |
78 | ||
79 | * Makefile.in: Avoid spurious relinking. | |
80 | (gdb$(EXEEXT)): Depend on the actual tui library, not on a | |
81 | fictitious target. Since the fictitious target never existed, make | |
82 | would always relink. | |
83 | (tui/libtui.a): Renamed from all-tui. Always recurse to make sure | |
84 | the library is up to date. | |
85 | (TUI_TARGET): Variable removed; there's no need for it any more. | |
86 | ||
b5c7e122 | 87 | * Makefile.in: Look for tui include files in the tui source dir. |
65b07ddc DT |
88 | |
89 | * Use automake's `aclocal' program to generate aclocal.m4, to allow | |
90 | us to use automake macros in configure.in with impunity. | |
91 | ||
92 | * acconfig.h: Add an entry for the `TUI' symbol. | |
93 | ||
94 | * acinclude.m4: New file, containing the code from the old | |
95 | aclocal.m4. Incorporate (by reference) ../bfd/acinclude.m4, not | |
96 | ../bfd/aclocal.m4, since we only want bfd's local macros. | |
97 | ||
98 | * aclocal.m4: Now automagically generated. Just run aclocal! | |
99 | ||
b5c7e122 | 100 | * annotate.c (annotate_catchpoint): New function. |
65b07ddc | 101 | |
b5c7e122 | 102 | * annotate.h: Taking the new includes (symtab.h and gdbtypes.h). |
65b07ddc | 103 | not taking the ansic C build fix. |
b5c7e122 | 104 | (annotate_catchpoint): Declare. |
65b07ddc | 105 | |
b5c7e122 | 106 | * blockframe.c (blockvector_for_pc_sect): Check that the end of |
65b07ddc | 107 | the block is >= to the pc, not just >. |
65b07ddc | 108 | |
b5c7e122 | 109 | * breakpoint.c (create_temp_exception_breakpoint): #If it out -- |
65b07ddc | 110 | nothing calls it. |
b5c7e122 | 111 | (bpstat_stop_status): Don't call SOLIB_HAVE_LOAD_EVENT if it's not |
65b07ddc | 112 | defined; don't call SOLIB_HAVE_UNLOAD_EVENT if it's not defined. |
b5c7e122 | 113 | (bpstat_get_triggered_catchpoints): If we don't have shared |
65b07ddc DT |
114 | library support, then don't call SOLIB_LOADED_LIBRARY_PATHNAME nor |
115 | SOLIB_UNLOADED_LIBRARY_PATHNAME. | |
b5c7e122 | 116 | (watch_command_1): Don't require a run before a watch command |
65b07ddc | 117 | unless we're on HP [it's an HP OS bug, not a generic limitation] |
b5c7e122 SS |
118 | (catch_load_command_1): Don't define if no shared libraries. |
119 | (catch_command_1): Don't claim to support fork catchpoints unless | |
65b07ddc DT |
120 | CHILD_INSERT_FORK_CATCHPOINT is defined, don't claim to support |
121 | vfork catchpoints unless CHILD_INSERT_VFORK_CATCHPOINT is defined, | |
122 | don't clain to support shared library load catchpoints if shared | |
123 | libraries aren't supported, and don't claim to support exec | |
124 | catchpoints unless CHILD_INSERT_EXEC_CATCHPOINT is defined | |
b5c7e122 SS |
125 | |
126 | (bpstat_do_actions): If we just set cmd to NULL, don't then try to | |
127 | set it to cmd->next as we'll SEGV. | |
128 | (bpstat_do_actions): Simplify significantly. It's | |
65b07ddc DT |
129 | now almost as simple as before the merge and it no longer has the |
130 | HP bug that breakpoint commands are executed repeatedly. | |
131 | ||
b5c7e122 | 132 | (break_at_finish_command_1): Rewrite and make sure |
65b07ddc DT |
133 | selected_frame points to a frame before using it. Fix string |
134 | termination error. | |
b5c7e122 | 135 | (break_at_finish_at_depth_command_1): Ditto. |
65b07ddc | 136 | |
b5c7e122 SS |
137 | (can_use_hw_watchpoints): New static variable. |
138 | (read_memory_nobpt): Test for breakpoint type bp_none. | |
139 | (insert_breakpoints): Test for breakpoint type bp_catch_exec; | |
65b07ddc | 140 | insure have a current frame before getting the frame address. |
b5c7e122 | 141 | (remove_breakpoints): Check for breakpoints of types bp_none, |
65b07ddc | 142 | bp_catch_fork, bp_catch_vfork, and bp_catch_exec. |
b5c7e122 SS |
143 | (bpstat_stop_status): Fix updates of b->hit_count. |
144 | (bpstat_have_active_hw_watchpoints): New function. | |
145 | (create_exec_event_watchpoint): New function. | |
146 | (watch_command_1): Use can_use_hw_watchpoints. | |
147 | (catch_fork_command_1): Change name of function to call from | |
65b07ddc | 148 | target_create_catch_(v)fork_hook to create_(v)fork_even_catchpoint. |
b5c7e122 | 149 | (delete_breakpoint): Test for already deleted breakpoints; add |
65b07ddc DT |
150 | support for bp_catch_fork, bp_catch_vfork, and bp_catch_exec |
151 | breakpoints. | |
b5c7e122 | 152 | (_initialize_breakpoint): Add can-use-hw-watchpoints to list of |
65b07ddc DT |
153 | user settable debugger variables. |
154 | ||
155 | (clear_command): When there is no argument | |
156 | to the clear command, delete all breakpoints that are hit at | |
157 | default line. This will include a breakpoint whose line number | |
158 | does not correspond to the default line, but has been set at | |
159 | the default address. | |
160 | ||
b5c7e122 | 161 | (delete_breakpoint): Don't call bpstat_clear_actions, instead |
65b07ddc DT |
162 | clear things explicitly; if clearing breakpoint_at, then also |
163 | clear any associated actions so that bpstat_do_actions won't try | |
164 | to execute them. | |
b5c7e122 | 165 | (_initialize_breakpoint): Fix function name for bx command. |
65b07ddc | 166 | |
b5c7e122 SS |
167 | (tbreak_command): Remove static from declaration. |
168 | (maintenance_info_breakpoints): Ditto. | |
65b07ddc | 169 | |
b5c7e122 | 170 | (reattach_breakpoints): New funct definition, used with with |
65b07ddc | 171 | hardware watchpoints |
b5c7e122 SS |
172 | (breakpoint_1): Change format and add entries to bptypes[] |
173 | (maintenance_info_breakpoints): Function is no longer static | |
65b07ddc | 174 | |
b5c7e122 | 175 | (_initialize_breakpoint): Removed a comment. |
65b07ddc | 176 | (exception_catchpoints_are_fragile, |
b5c7e122 SS |
177 | exception_support_initialized): Define. |
178 | (breakpoint_here_p): Fixed syntax error in conditional | |
179 | (disable_watchpoints_before_interactive_call_start): Fixed call to | |
65b07ddc | 180 | check_duplicates. Need a section parameter. |
b5c7e122 | 181 | (enable_watchpoints_after_interactive_call_stop): Fixed call to |
65b07ddc | 182 | check_duplicates. Need a section parameter. |
b5c7e122 | 183 | (breakpoint_re_set_one): Fixed call to check_duplicates. Need a |
65b07ddc | 184 | section parameter. |
b5c7e122 SS |
185 | (delete_command): Fixed syntax error in conditional |
186 | (breakpoint_re_set): Fixed some typos. | |
65b07ddc DT |
187 | |
188 | (args_for_catchpoint_enable): New type for handling exceptions. | |
189 | (current_exception_event): New variable for handling exceptions. | |
b5c7e122 | 190 | (insert_breakpoints): Check for additional breakpoint types -- |
65b07ddc DT |
191 | bp_catch_throw, bp_catch_catch, call_disabled. Also, do some |
192 | additional work to handle an exception catchpoint. | |
b5c7e122 SS |
193 | (remove_breakpoint): There are additional breakpoint types to |
194 | check for: Bp_catch_throw, bp_catch_catch, call_disabled. Also do | |
65b07ddc | 195 | some additional work to remove the exception catchpoints |
b5c7e122 | 196 | (breakpoint_init_inferior): New input parameter. If there are |
65b07ddc | 197 | exception catchpoints delete them. |
b5c7e122 SS |
198 | (breakpoint_here_p): There are additional breakpoint enable |
199 | settings to check for: Shlib_disabled, call_disabled | |
200 | (breakpoint_thread_match): There are additional breakpoint enable | |
201 | settings to check for: Call_disabled | |
202 | (ep_is_catchpoint): There are additional breakpoint types to check | |
203 | for: Bp_catch_throw, bp_catch_catch | |
204 | (ep_is_exception_catchpoint): New function | |
205 | (bpstat_find_step_resume_breakpoint): New function | |
206 | (bpstat_do_actions): Introduce a local copy of the bpstat | |
65b07ddc | 207 | structure. |
b5c7e122 SS |
208 | (print_it_normal): There are additional breakpoint types to check |
209 | for: Bp_catch_throw, bp_catch_catch Changeing the control | |
65b07ddc DT |
210 | structure a bit (adding else ifs) Add code to print out info about |
211 | exceptions. | |
b5c7e122 SS |
212 | (bpstat_stop_status): There are additional breakpoint enable |
213 | settings to check for: Call_disabled. there are additional | |
214 | breakpoint types to chack for: Bp_catch_catch and bp_catch_throw. | |
65b07ddc DT |
215 | Check to see if stopped due to an exception. Minor fixes to the |
216 | catch_errors calls. Make sure to count all encountered | |
217 | breakpoints. There was something funky going on previously with | |
218 | the counting. | |
b5c7e122 | 219 | (bpstat_what): Add cases for new breakpoint types: |
65b07ddc DT |
220 | bp_catch_catch, bp_catch_throw. |
221 | (bpstat_get_triggered_catchpoints): Check for new breakpoint types | |
b5c7e122 SS |
222 | : Bp_catch_catch, bp _catch_throw. |
223 | (breakpoint_1): Account for new breakpoint types. | |
224 | (describe_other_breakpoints): Account for new breakpoint enable | |
65b07ddc | 225 | setting (call_disabled) |
b5c7e122 | 226 | (check_duplicates): Account for new breakpoint enable setting |
65b07ddc | 227 | (call_disabled) |
b5c7e122 SS |
228 | (disable_breakpoints_in_shlibs): New function |
229 | (disable_watchpoints_before_interactive_call_start): New function | |
230 | (mention): Account for new breakpoint types. | |
231 | (break_command_1): Some additional checking for a valid PC. | |
232 | (watch_command_1): Some dditional checking to prevent a watch | |
65b07ddc | 233 | before a run command. |
b5c7e122 SS |
234 | (ep_parse_optional_filename): Simplified for loop. |
235 | (create_exception_catchpoint): New function | |
236 | (cover_target_enable_exception_callback): New function | |
237 | (handle_gnu_4_16_catch_command): This used to be thcatch_command_1 | |
65b07ddc | 238 | function.e |
b5c7e122 SS |
239 | (create_temp_exception_breakpoint): New function |
240 | (catch_command_1): Differs from gdb 4.16 and gdb 4.17. Is now | |
65b07ddc DT |
241 | calling catch_exception_command_1 using the EX_EVENT_CATCH and |
242 | EX_EVENT_THROW values as parameters. | |
b5c7e122 SS |
243 | (clear_command): Additional comments |
244 | (delete_breakpoint): Handle exceptions. Check for additional | |
245 | breakpoint enable settings: Shlib_disabled, call_disabled. | |
246 | (delete_command): Hp folks are claiming that we should not delete | |
65b07ddc | 247 | shlib_event breakpoints |
b5c7e122 | 248 | (breakpoint_re_set_one): Moved call to check_duplicates. Add new |
65b07ddc | 249 | breakpoint types to switch statement. |
b5c7e122 SS |
250 | (breakpoint_re_set_thread): New function |
251 | (enable_command): Account for new breakpoint types. | |
252 | ||
253 | (insertion_state_t): New enumerated type. | |
254 | (remove_breakpoint): New param in funct prototype. | |
255 | (insert_breakpoints): Check for bp_catch_fork and bp_catch_vfork. | |
256 | (remove_breakpoints): Changed call to remove_breakpoint. | |
257 | (detach_breakpoints): New function. | |
65b07ddc DT |
258 | (remove_breakpoint): New parameter, is. Also changed the |
259 | way b->inserted is set. | |
260 | (ep_is_catchpoint): New function. | |
261 | (ep_is_shlib_catchpoint): New function. | |
b5c7e122 | 262 | (print_it_normal): Check for bp_catch_load, bp_catch_unload, |
65b07ddc DT |
263 | bp_catch_fork, bp_catch_vfork, bp_catch_exec. Also new code |
264 | to print out catchpoints properly. | |
b5c7e122 | 265 | (bpstat_stop_status): Check for bp_catch_fork, bp_catch_vfork, |
65b07ddc DT |
266 | and bp_catch_exec. Also, some code to check for catching a |
267 | shared library load/unload. | |
268 | (bpstat_what): Added catch_shlib_event to class enumeration. | |
269 | Defined new macro, shlr. Expanded the bpstat_what_main_action | |
270 | table. Add cases for bp_catch_load, bp_catch_unload, | |
271 | bp_catch_fork, bp_catch_vfork, and bp_catch_exec. | |
272 | (bpstat_get_triggered_catchpoints): New function. | |
b5c7e122 | 273 | (breakpoint_1): Changes to bptypes definition. Also check for |
65b07ddc DT |
274 | bp_catch_load, bp_catch_unload, bp_catch_fork, bp_catch_vfork, |
275 | bp_catch_exec. Similar changes to the switch statement. | |
b5c7e122 | 276 | (set_raw_breakpoint): Initialize new breakpoint structure fields. |
65b07ddc DT |
277 | dll_pathname, triggered_dll_pathname, forked_inferior_pid, |
278 | exec_pathname. | |
279 | (create_solib_load_unload_event_breakpoint): New function. | |
280 | (create_solib_load_event_breakpoint): New function. | |
281 | (create_solib_unload_event_breakpoint): New function. | |
282 | (create_fork_vfork_event_catchpoint): New function. | |
283 | (create_fork_event_catchpoint): New function. | |
284 | (create_vfork_event_catchpoint): New function. | |
b5c7e122 | 285 | (mention): New cases for bp_catch_load, bp_catch_unload, |
65b07ddc DT |
286 | bp_catch_fork, bp_catch_vfork, bp_catch_exec. |
287 | (ep_skip_leading_whitespace): New function. | |
288 | (ep_find_event_name_end): New function. | |
289 | (ep_parse_optional_if_clause): New function. | |
290 | (ep_parse_optional_filename): New function. | |
291 | (catch_fork_kind): New enumerated type. | |
292 | (catch_fork_command_1): New function. | |
b5c7e122 SS |
293 | (catch_exec_command_1): New function. |
294 | (catch_load_command_1): New function. | |
295 | (catch_unload_command_1): New function. | |
296 | (catch_throw_command_1): New function. | |
297 | (catch_command_1): Now calls catch_throw_command_1. | |
298 | (tcatch_command): New function. | |
299 | (delete_breakpoint): Changed call to remove_breakpoint. | |
65b07ddc | 300 | Also free the new fields in the breakpoint structure. |
b5c7e122 | 301 | (breakpoint_re_set_one): Handle bp_catch_load, bp_catch_unload, |
65b07ddc | 302 | bp_catch_fork, bp_catch_vfork, bp_catch_exec. |
b5c7e122 | 303 | (disable_command): Handle bp_catch_load, bp_catch_unload, |
65b07ddc | 304 | bp_catch_fork, bp_catch_vfork, bp_catch_exec. |
b5c7e122 | 305 | (enable_command): Handle bp_catch_load, bp_catch_unload, |
65b07ddc DT |
306 | bp_catch_fork, bp_catch_vfork, bp_catch_exec. |
307 | (_initialize_breakpoint): Alter add_com call for catchpoints, | |
308 | add add_com call for watchpoints. | |
309 | ||
b5c7e122 | 310 | * breakpoint.h (enum bptype): New entries bp_catch_catch, |
65b07ddc DT |
311 | bp_catch_throw, and bp_none, bp_catch_load, bp_catch_unload, |
312 | bp_catch_fork, bp_catch_vfork,bp_catch_exec. Add declarations for | |
313 | new functions bpstat_have_active_hw_watchpoints and | |
314 | create_exec_event_catchpoint. | |
b5c7e122 SS |
315 | (tbreak_command): Add prototype. |
316 | (update_breakpoints_after_exec): Add prototype; update comments. | |
317 | (reattach_breakpoints): New funct prototype declaration. | |
318 | (enable): New enumerated value call_disabled. | |
319 | (bpstat_find_step_resume_breakpoint): New funct decl. | |
320 | (inf_context): New enumerated type. | |
321 | (breakpoint_re_set_thread): New funct decl. | |
322 | (breakpoint_init_inferior): New parameter. | |
323 | (disable_watchpoints_before_interactive_call_start): New funct decl. | |
324 | (enable_watchpoints_after_interactive_call_stop): New funct decl. | |
325 | (disable_breakpoints_in_shlibs): New funct decl. | |
326 | (struct breakpoint): New fields, dll_pathname,triggered_dll_pathname, | |
65b07ddc DT |
327 | forked_inferior_pid,exec_pathname BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. |
328 | (bpstat_get_triggered_catchpoints): New function. | |
329 | (detach_breakpoints): New function. | |
330 | (create_solib_load_event_breakpoint): New function. | |
331 | (create_solib_unload_event_breakpoint) New function. | |
332 | (create_fork_event_catchpoint): New function. | |
333 | (create_vfork_event_catchpoint): New function. | |
334 | (ep_is_catchpoint): New function. | |
335 | (ep_is_shlib_catchpoint) New function. | |
b5c7e122 | 336 | (enum bpstat_what_main_action): New entry. |
65b07ddc | 337 | |
b5c7e122 | 338 | * buildsym.c (finish_block): Get rid of processing_hp_compilation; |
65b07ddc DT |
339 | handle LOC_INDIRECT case. Set the BLOCK_GCC_COMPILED to the right |
340 | compiler. | |
b5c7e122 SS |
341 | (push_context): Add symbols for parameters to the context_stack. |
342 | (merge_symbol_lists): New function. Merges two symbol lists. | |
343 | (struct context_stack): Add new field param. | |
65b07ddc | 344 | |
b5c7e122 | 345 | (processing_hp_compilation): New external var. |
65b07ddc | 346 | |
b5c7e122 | 347 | * c-exp.y: Use external flag hp_som_som_object_present to decide |
65b07ddc DT |
348 | whether code was compiled by HP's compilers. Add two new C++ |
349 | tokens for true and false. | |
b5c7e122 | 350 | (yylex): Check for template name is done differently for the |
65b07ddc DT |
351 | HP/aCC compiler case; change some of the template processing code |
352 | for handling HP aCC templates. | |
353 | ||
b5c7e122 | 354 | * c-lang.c (c_create_fundamental_type): Added case to handle |
65b07ddc DT |
355 | template args. Handle FT_BOOLEAN type. Set no sign flag for |
356 | FT_CHAR. | |
b5c7e122 SS |
357 | (cplus_builtin_types): New structure for c++ builtin types. |
358 | (cplus_language_defn): Use cplus_builtin_types instead of | |
65b07ddc DT |
359 | c_builtin_types. |
360 | ||
b5c7e122 | 361 | * c-typeprint.c (c_type_print_base): Don't print 'privete' label |
65b07ddc DT |
362 | for a class if all members are private, similarly don't print |
363 | 'public' for a struct. Add support for sized enums (HP/aCC). get | |
364 | rid of the 'static' keyword printed by the demangler for member | |
365 | function, when printing the type of a class. 'static' will be | |
366 | added by this function. If the demangled name is null, and the | |
367 | method is not stubbed, get the signature by looking at the | |
368 | information stored in the symbol structure. Remove printing of | |
369 | 'const' and 'volatile' keywords for methods. This is now taken | |
370 | care as part of the demangled member names. | |
b5c7e122 | 371 | (cp_type_print_method_args): New function. To print a C++ method |
65b07ddc DT |
372 | arguments and name to the output stream. |
373 | ||
b5c7e122 | 374 | (c_type_print_cv_qualifier): New function. Print out "const" and |
65b07ddc | 375 | "volatile" attributes. |
b5c7e122 SS |
376 | (c_type_print_varspec_prefix): Print const or volatile qualifiers. |
377 | (c_type_print_args): Print 'void' for c++. | |
378 | (c_type_print_varspec_suffix): Print 'void' for a no argument | |
65b07ddc | 379 | function. |
b5c7e122 | 380 | (c_type_print_base): Print const or volatile qualifiers. Do not |
65b07ddc DT |
381 | print 'unnamed union' if HP aCC compiler used. Distinguish |
382 | between struct and class based on the DECLARED_TYPE. Handle | |
383 | HP/aCC compiler case for not printing vtable. Add Template | |
384 | support. | |
385 | ||
b5c7e122 | 386 | (cp_type_print_derivation_info): Print out 'protected' when |
65b07ddc DT |
387 | appropriate. This applies only to HP's compilers, not gcc. |
388 | ||
b5c7e122 | 389 | (c_val_print): Added parameter embedded_offset. Add |
65b07ddc DT |
390 | embedded_offset to valaddr in function calls; fix calls to |
391 | val_print and cp_print_value_fields. process TYPE_CODE_METHOD as | |
392 | well. moved call to check_typedef out of conditional. added | |
393 | embedded offset param to val_print call. | |
394 | ||
b5c7e122 | 395 | (c_value_print): Add new parameter to call to val_print. |
65b07ddc DT |
396 | handle pointer to class case. Attempt to |
397 | determine the real type of the object to be printed. | |
398 | ensure that const char *, const unsigned char * | |
b5c7e122 SS |
399 | come out without the type but the volatile variants |
400 | and the signed variants don't. | |
65b07ddc | 401 | |
b5c7e122 SS |
402 | * coff-solib.c (coff_solib_add): Add parameters to call |
403 | to symbol_file_add. | |
65b07ddc | 404 | |
b5c7e122 SS |
405 | * coff-solib.h: (Solib_REMOVE_INFERIOR_HOOK): New macro. defined |
406 | to 0. functionality not implemented for coff. | |
407 | (SOLIB_CREATE_CATCH_LOAD_HOOK): New macro, generate error message | |
65b07ddc | 408 | for coff. |
b5c7e122 SS |
409 | (SOLIB_CREATE_CATCH_UNLOAD_HOOK): Ditto. |
410 | (SOLIB_HAVE_LOAD_EVENT): Ditto. | |
411 | (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
412 | (SOLIB_HAVE_UNLOAD_EVENT): Ditto. | |
413 | (SOLIB_UNLOADED_LIBRARY_PATHNAME): Ditto. | |
414 | (SOLIB_IN_DYNAMIC_LINKER): Ditto. | |
415 | (SOLIB_RESTART): Ditto. | |
416 | ||
417 | * command.c (find_cmd): New function. (lookup_cmd_1): Call it, | |
65b07ddc | 418 | change parsing if tui_version or xdb_commands is set. |
b5c7e122 | 419 | (_initialize_command): Install new alias if xdb_commands is set. |
65b07ddc | 420 | |
b5c7e122 | 421 | * complaints.h: Add ifdef...endif pair at beginning and end of file. |
65b07ddc DT |
422 | |
423 | * config.in, configure: Regenerated. | |
424 | ||
b5c7e122 | 425 | * config/pa/hppabsd.mh (NATDEPFILES): Added new files |
65b07ddc | 426 | hp-psymtab-read.o and hp-symtab-read.o. |
b5c7e122 | 427 | * config/pa/hppahpux.mh (NATDEPFILES): Ditto. |
65b07ddc | 428 | |
b5c7e122 SS |
429 | * config/pa/hppahpux.mh (TERMCAP): Use -lHcurses. |
430 | * config/pa/hppaosf.mh (NATDEPFILES): Ditto. | |
65b07ddc | 431 | |
b5c7e122 SS |
432 | * config/pa/hpux1020.mh (TERMCAP): Use -lHcurses. |
433 | (MH_CFLAGS): New flag, -D__HP_CURSES, this define | |
434 | is used by HP's linker to find the correct curses library. | |
65b07ddc | 435 | |
b5c7e122 | 436 | * config/pa/hpux1020.mh: New file. |
65b07ddc | 437 | |
b5c7e122 | 438 | * config/pa/hpux1020.mt: New file. |
65b07ddc DT |
439 | |
440 | * config/pa/hpux1100.mh (TERMCAP): Link against -lcurses, not | |
441 | -lHcurses. The latter does not contain mvwaddstr, wscrl, or | |
442 | wstbwlmkfzz. | |
443 | ||
b5c7e122 SS |
444 | * config/pa/hpux1100.mh (TERMCAP): Use -lHcurses. |
445 | (MH_CFLAGS): New flag, -D__HP_CURSES, this define | |
446 | is used by HP's linker to find the correct curses library. | |
65b07ddc | 447 | |
b5c7e122 | 448 | * config/pa/hpux1100.mh (TERMCAP): When hosting on hpux 11.00, use |
65b07ddc DT |
449 | -lHcurses rather than -lcurses. |
450 | ||
b5c7e122 | 451 | * config/pa/hpux1100.mh: New file. |
65b07ddc | 452 | |
b5c7e122 | 453 | * config/pa/hpux1100.mt: New file. |
65b07ddc | 454 | |
b5c7e122 SS |
455 | * config/pa/nm-hppah.h (CHILD_HAS_SYSCALL_EVENT): New macro |
456 | (CHILD_THREAD_ALIVE): New macro | |
457 | (STOPPED_BY_WATCHPOINT): Add a condition to the macro, | |
65b07ddc | 458 | ! stepped_after_stopped_by_watchpoint |
b5c7e122 SS |
459 | (TARGET_ENABLE_HW_WATCHPOINTS): New macro |
460 | (hppa_enable_hw_watchpoints): New funct decl | |
461 | (TARGET_DISABLE_HW_WATCHPOINTS): New macro | |
462 | ( hppa_disable_hw_watchpoints): New funct decl | |
65b07ddc DT |
463 | these are for HP's implementation of fast |
464 | watchpoints (via page protection). | |
b5c7e122 SS |
465 | (target_pid_to_str): New macro, calls hppa_pid_to_str |
466 | (target_tid_to_str): New macro, calls hppa_tid_to_str | |
65b07ddc | 467 | |
b5c7e122 SS |
468 | * config/pa/nm-hppah.h (CHILD_POST_WAIT): Delete; |
469 | (CHILD_CREATE_CATCH_FORK_HOOK): Replace with | |
65b07ddc | 470 | CHILD_INSERT_FORK_CATCHPOINT and CHILD_REMOVE_FORK_CATCHPOINT. |
b5c7e122 | 471 | (CHILD_CREATE_CATCH_VFORK_HOOK): Replace with |
65b07ddc DT |
472 | CHILD_INSERT_VFORK_CATCHPOINT and CHILD_REMOVE_VFORK_CATCHPOINT. |
473 | (CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC, | |
474 | CHILD_INSERT_EXEC_CATCHPOINT, CHILD_REMOVE_EXEC_CATCHPOINT, | |
475 | CHILD_HAS_EXECD, CHILD_REPORTED_EXEC_EVENTS_PER_EXEC_CALL, | |
476 | CHILD_POST_ATTACH, TARGET_HAS_HARDWARE_WATCHPOINTS, | |
477 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, | |
478 | TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT, | |
479 | TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT, STOPPED_BY_WATCHPOINT, | |
480 | HAVE_NONSTEPPABLE_WATCHPOINT, target_insert_watchpoint, | |
b5c7e122 | 481 | target_remote_watchpoint): New macros. |
65b07ddc | 482 | |
b5c7e122 | 483 | * config/pa/nm-hppah.h (CHILD_XFER_MEMORY): Reinsert accidentally |
65b07ddc DT |
484 | deleted define. |
485 | ||
486 | * config/pa/nm-hppah.h: | |
b5c7e122 SS |
487 | (PREPARE_TO_PROCEED): Defined macro to use |
488 | hppa_prepare_to_proceed. | |
489 | (hppa_pid_to_str): Extern decl. | |
490 | (hppa_tid_to_str): Extern decl. | |
491 | (target_pid_or_tid_to_str): New macro definition. | |
492 | (hppa_pid_or_tid_to_str): Extern decl. | |
493 | (ENSURE_VFORKING_PARENT_REMAINS_STOPPED): New macro - for | |
65b07ddc | 494 | handling events caused by a call to vfork. |
b5c7e122 SS |
495 | (hppa_ensure_vforking_parent_remains_stopped): Extern decl. |
496 | (RESUME_EXECD_VFORKING_CHILD_TO_GET_PARENT_VFORK): New macro - | |
65b07ddc | 497 | for handling events caused by a call to vfork. |
b5c7e122 | 498 | (hppa_resume_execd_vforking_child_to_get_parent_vfork): Extern decl. |
65b07ddc | 499 | |
b5c7e122 | 500 | * config/pa/nm-hppah.h: Fix PREPARE_TO_PROCEED macro. |
65b07ddc | 501 | |
b5c7e122 SS |
502 | * config/pa/nm-hppah.h: Fix for gcc compile on HPUX, change |
503 | PT_RDUAREA to PT_RUAREA. | |
65b07ddc | 504 | |
b5c7e122 SS |
505 | * config/pa/nm-hppah.h: Introduced an HPUXHPPA define. |
506 | A bit of a hack so that I can ifdef some code that | |
507 | only works for the HP wildebeest debugger. | |
65b07ddc | 508 | |
b5c7e122 | 509 | * config/pa/nm-hppah.h: Lots of new CHILD_ defines; |
65b07ddc DT |
510 | process_event_kind enum. |
511 | ||
b5c7e122 SS |
512 | * config/pa/tm-hppa.h (BREAKPOINT32): New define. |
513 | (CALL_DUMMY_HAS_COMPLETED): New define. | |
65b07ddc | 514 | |
b5c7e122 SS |
515 | * config/pa/tm-hppa.h (STACK_ALIGN): New macro. |
516 | (NO_EXTRA_ALIGNMENT_NEEDED): New macro. | |
517 | (PC_REQUIRES_RUN_BEFORE_USE): New macro. | |
518 | (REGISTER_NAMES): Formatting in file changed. | |
519 | (CR27_REGNUM): Base register for thread local storage. | |
520 | (USE_STRUCT_CONVENTION): New macro used to decide whether | |
65b07ddc DT |
521 | a function returning a value of type type will |
522 | put it on the stack or into registers (based on the | |
523 | PA risc calling conventions). | |
b5c7e122 SS |
524 | (EXTRACT_RETURN_VALUE): Fixed calculation for extracting return value. |
525 | (VALUE_RETURNED_FROM_STACK): New macro. | |
526 | (TARGET_READ_PC): Declared the function used in the definition. | |
527 | (SKIP_TRAMPOLINE_CODE): Declared the function used in the definition. | |
528 | (TARGET_WRITE_PC): Declared the function used in the definition. | |
529 | (TARGET_READ_FP): Declared the function used in the definition. | |
530 | ||
531 | * config/pa/tm-hppa.h (STRCAT_REGISTER): Define macro for | |
65b07ddc | 532 | future use. |
b5c7e122 | 533 | (pa_do_strcat_registers_info): Moved function decl from |
65b07ddc DT |
534 | defs.h to this HPUX specific .h file. |
535 | ||
b5c7e122 | 536 | * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Type_LENGTH returns |
65b07ddc DT |
537 | bytes, not bits; fix off by 8 error. |
538 | ||
539 | * config/pa/tm-hppa.h: | |
b5c7e122 | 540 | New comment for obj_unwind_info definition |
65b07ddc DT |
541 | New typedef, obj_private_struct |
542 | ||
b5c7e122 | 543 | * config/pa/tm-hppa.h: Delete most target_ macros -- use default |
65b07ddc DT |
544 | versions instead; remove extraneous comma from proc_wait macro. |
545 | ||
b5c7e122 | 546 | * config/pa/tm-hppa.h: Get rid of macro HP_COMPILED_TARGET. |
65b07ddc | 547 | |
b5c7e122 | 548 | * config/pa/tm-hppa.h: Removed redefinitions of |
65b07ddc DT |
549 | USE_STRUCT_CONVENTION and STACK_ALIGN macros. |
550 | ||
b5c7e122 SS |
551 | * config/pa/tm-hppa.h: Some new definitions |
552 | New macros: Arg0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM. | |
65b07ddc DT |
553 | target_pid_to_exec_file, target_acknowledge_forked_child, |
554 | target_create_catch_fork_hook, target_create_catch_vfork_hook, | |
555 | target_has_forked, target_has_vforked, require_attach, | |
b5c7e122 SS |
556 | require_detach, proc_wait |
557 | New funct decls: Hppa_pid_to_exec_file, | |
65b07ddc DT |
558 | hppa_acknowledge_forked_child, hppa_create_catch_fork_hook, |
559 | hppa_create_catch_vfork_hook, hppa_target_has_forked, | |
560 | hppa_target_has_vforked, hppa_require_attach, | |
561 | hppa_require_detach, process_wait | |
b5c7e122 | 562 | (unwind_table_entry): Added comments to describe struct fields. |
65b07ddc | 563 | |
b5c7e122 | 564 | * config/pa/tm-hppah.h (somsolib.h): Include it. |
65b07ddc DT |
565 | |
566 | * config/pa/tm-hppah.h: | |
b5c7e122 SS |
567 | (CHILD_ENABLE_EXCEPTION_CALLBACK): New define |
568 | (CHILD_GET_CURRENT_EXCEPTION_EVENT): New define | |
65b07ddc DT |
569 | |
570 | * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs. | |
571 | ||
572 | * configure.in (AC_CHECK_HEADERS): Add check for term.h. | |
573 | ||
574 | * configure.in: Add an --enable-tui argument. | |
575 | ||
576 | * configure.in: Construct tui/Makefile from tui/Makefile.in. | |
577 | ||
578 | * configure.in: Use AM_PROG_CC_STDC. If we have the GUI, then we | |
579 | need this to process libgui.h. | |
580 | ||
b5c7e122 | 581 | * convex-tdep.c (decout): Change FILE to GDB_FILE. |
65b07ddc | 582 | |
b5c7e122 SS |
583 | * corefile.c: Include objfiles.h, symfile.h. |
584 | (core_file_command): Attempt to determine the name of the symbol | |
585 | file from the core file. | |
586 | (read_memory_string): New function. | |
65b07ddc | 587 | |
b5c7e122 SS |
588 | * corefile.c (core_file_command): Temporary hack to make non-hpux |
589 | work. For, non-hpux, t->to_core_file_to_sym_file does not have a | |
590 | reasonable value. No target_ops vector on the stack gives it a | |
591 | non-zero value. fix later. | |
592 | ||
593 | * corelow.c (core_file_to_sym_file): Added new local variable, | |
594 | failing command, and do some explicit type castings. | |
595 | (core_ops): Add three new fields: to_has_syscall_event, | |
65b07ddc DT |
596 | to_enable_exception_callback, to_get_current_exception_event. |
597 | Necessary since we still have oldstyle initialization in | |
598 | this file | |
599 | ||
b5c7e122 SS |
600 | * corelow.c: Include unistd.h |
601 | (core_file_to_sym_file): New function | |
602 | (core_file_thread_alive): New function | |
603 | (core_ops): Added new target ops vector fields. see below. And | |
65b07ddc DT |
604 | yes we definitiely need to initialize them here, as long as |
605 | we're using static initialization. | |
606 | ||
b5c7e122 SS |
607 | * cxux-nat.c (add_shared_symbol_files): Additonal params for calls |
608 | to symbol_file_add. | |
65b07ddc | 609 | |
b5c7e122 | 610 | * defs.h (gdb_file_isatty): New function decl. |
65b07ddc | 611 | |
b5c7e122 | 612 | * defs.h (GDB_FILE): If TUI is defined, define a structure rather |
65b07ddc | 613 | than making this an alias for FILE. |
b5c7e122 | 614 | (gdb_stdout, gdb_stderr): If TUI is defined, then define these |
65b07ddc DT |
615 | as pointers to variables of type GDB_FILE rather than making them |
616 | be aliases for stdout and stderr. | |
617 | ||
b5c7e122 | 618 | * defs.h (TUIDO): Add definition conditionalized on definition |
65b07ddc DT |
619 | (or lack thereof) of TUI. |
620 | ||
b5c7e122 SS |
621 | * defs.h (command_class): Add two additional values. |
622 | (precision_type): New enum. | |
65b07ddc | 623 | |
b5c7e122 | 624 | * defs.h (gdb_fclose): Add declaration. |
65b07ddc | 625 | |
b5c7e122 | 626 | * defs.h (store_address): Change prototype to match function. |
65b07ddc | 627 | |
b5c7e122 | 628 | * defs.h (tui_version, xdb_commands, dbx_commands): Add decl's. |
65b07ddc | 629 | |
b5c7e122 | 630 | * defs.h (gdb_file_deallocate): New function declaration |
65b07ddc DT |
631 | |
632 | * defs.h: | |
b5c7e122 | 633 | (streamtype): New enumerated type to distinguish between |
65b07ddc | 634 | output to a FILE and output to a buffer. |
b5c7e122 SS |
635 | (tui_stream): New struct type, named GDB_FILE. Contains, |
636 | streamtype, FILE, buffer, and bufferlength fields. | |
637 | (gdb_stdout): Of type GDB_FILE, will pass this around gdb | |
65b07ddc | 638 | rather than stdout. |
b5c7e122 | 639 | (gdb_stderr): Of type GDB_FILE, will pass this around gdb |
65b07ddc | 640 | rather than stderr. |
b5c7e122 | 641 | (fputs_unfiltered_hook): Change stream parameter from FILE to |
65b07ddc | 642 | GDB_FILE |
b5c7e122 SS |
643 | (flush_hook): Change stream parameter from FILE to GDB_FILE |
644 | (gdb_fclose): Fix declaration for gdb_fclose; parameter is now of | |
65b07ddc | 645 | type GDB_FILE ** |
b5c7e122 | 646 | (gdb_file_adjust_strbuf): New function declaration. function lives in |
65b07ddc | 647 | utils.c. |
b5c7e122 | 648 | (gdb_file_init_astring): New function declaration. function lives |
65b07ddc | 649 | in utils.c |
b5c7e122 | 650 | (gdb_file_get_strbuf): New function declaration. function lives |
65b07ddc | 651 | in utils.c |
b5c7e122 SS |
652 | |
653 | * defs.h: Additional include files included when TUI is defined. | |
65b07ddc | 654 | |
b5c7e122 | 655 | * defs.h: Funct decl source_full_path_of. |
65b07ddc | 656 | |
b5c7e122 | 657 | * demangle.c: Add HP_DEMANGLING_STYLE_STRING. |
65b07ddc | 658 | |
b5c7e122 SS |
659 | * demangle.c: Added new demangling style, EDG_DEMANGLING_STYLE_STRING, |
660 | to the demanglers structure. This is for support of | |
65b07ddc DT |
661 | Kuck & Assoc.'s changes for demangling. |
662 | ||
663 | * eval.c (evaluate_subexp_standard): C++ member function changes. | |
664 | ||
b5c7e122 | 665 | * eval.c (evaluate_subexp_standard): Verify TYPE_TARGET_TYPE is |
65b07ddc DT |
666 | non NULL before dereferencing it. |
667 | ||
b5c7e122 | 668 | * eval.c (evaluate_subexp_standard): With HP/aCC compiler it is not possible |
65b07ddc DT |
669 | to perform inferior calls via function pointers. |
670 | Resolve calls to overloaded functions using find_overload_match. | |
671 | We cannot handle HP/aCC pointers to member functions. | |
672 | Deal with HP/aCC pointers to members in various kind of expressions. | |
673 | ||
b5c7e122 SS |
674 | * f-lang.c (f_printchar): Change FILE to GDB_FILE. |
675 | (f_printstr): Ditto. | |
676 | (emit_char): Ditto. | |
65b07ddc | 677 | |
b5c7e122 | 678 | * f-lang.c (f_printstr): Change stdout to gdb_stdout. |
65b07ddc | 679 | |
b5c7e122 SS |
680 | * f-typeprint.c (f_print_type): Change FILE to GDB_FILE. |
681 | (f_type_print_varspec_prefix): Ditto. | |
682 | (f_type_print_args): Ditto. | |
683 | (f_type_print_varspec_suffix): Ditto. | |
684 | (print_equivalent_f77_float_type): Ditto. | |
685 | (f_type_print_base): Ditto. | |
686 | ||
687 | * findvar.c (): Hp snapshot 3 changes. (extract_address): Coerce | |
65b07ddc | 688 | return value from extract_unsigned_integer to CORE_ADDR. |
b5c7e122 | 689 | (store_address): Change val from CORE_ADDR to LONGEST; changes to |
65b07ddc | 690 | support machines where CORE_ADDR and LONGEST are different sizes. |
b5c7e122 SS |
691 | (get_saved_register): Coerce arg to store_address to LONGEST. |
692 | (read_relative_register_raw_bytes): Cast last arg to | |
693 | store_address to LONGEST. (read_register): Cast return from | |
694 | extract_address to a CORE_ADDR. (write_register_pid): Change val | |
695 | from LONGEST to CORE_ADDR. (read_pc_pid): Save and restore | |
696 | inferior_pid if necessary. (write_pc_pid): Ditto. | |
697 | (read_var_value): Cast arg to store_address. | |
698 | ||
699 | * findvar.c (read_relative_register_raw_bytes_for_frame): New | |
65b07ddc | 700 | function. |
b5c7e122 | 701 | (read_relative_register_raw_bytes): Call it. |
65b07ddc | 702 | |
b5c7e122 | 703 | * findvar.c (symbol_read_needs_frame): Handle LOC_THREAD_LOCAL_STATIC and |
65b07ddc DT |
704 | LOC_INDIRECT. |
705 | ||
b5c7e122 | 706 | * fork-child.c (fork_inferior): Chenge fifth parameter to be a |
65b07ddc DT |
707 | function returning void. |
708 | ||
b5c7e122 | 709 | * fork-child.c (fork_inferior): Delete unused variable f. |
65b07ddc DT |
710 | |
711 | * fork-child.c: | |
b5c7e122 SS |
712 | (Startup_WITH_SHELL): New macro -- interim fix for a bug |
713 | (breakup_args): New function -- breaks up an argument string into | |
65b07ddc | 714 | an argument suitable for passing into execvp(). |
b5c7e122 | 715 | (fork_inferior): Handling problems with starting up gdb with a shell. |
65b07ddc DT |
716 | -- again, this appears to be an interim fix. |
717 | ||
718 | * fork-child.c: | |
719 | (fork_inferior): Added a comment | |
b5c7e122 SS |
720 | (clone_and_follow_inferior): New function. |
721 | (startup_inferior): Minor formatting changes. | |
65b07ddc DT |
722 | |
723 | * fork-child.c: | |
b5c7e122 | 724 | (fork_inferior): Hp change is problematic. The -f option has |
65b07ddc DT |
725 | different meanings for different shells. It is particularly |
726 | inappropriate for bourne shells. | |
727 | ||
728 | * fork-child.c: | |
b5c7e122 | 729 | (fork_inferior): Added new parameter, pre_trace_fun. |
65b07ddc DT |
730 | pre_trace_fun is a function pointer. For some targets, |
731 | like HPUX, this function gets called to prepare for forking | |
732 | a child. | |
733 | ||
734 | * fork-child.c: | |
b5c7e122 | 735 | (fork_inferior): Fixed call to init_trace_fun |
65b07ddc DT |
736 | |
737 | * fork-child.c: | |
b5c7e122 | 738 | Moved definition of STARTUP_WITH_SHELL to inferior.h |
65b07ddc DT |
739 | Added a DEBUGGING macro. Currently set to 0. May remove |
740 | later. | |
b5c7e122 | 741 | breakup_args: Add DEBUGGING ifdefs. more sophisticated |
65b07ddc | 742 | parsing to break up args. |
b5c7e122 | 743 | (fork_inferior): Rename kshell variable to shell. new local |
65b07ddc DT |
744 | variable, tryname. Make use of STARTUP_WITH_SHELL macro. |
745 | More error processing if starting up with a shell. | |
b5c7e122 | 746 | (startup_inferior): Distinguish between starting up with a shell |
65b07ddc DT |
747 | and not doing so. |
748 | ||
749 | * gdbthread.h: | |
750 | Declarations for load_infrun_state and save_infrun_state take | |
751 | an additional parameter. | |
752 | ||
753 | * gdbthread.h: Note that sometime between gdb 4.16 and 4.17, | |
754 | thread.h was renamed gdbthread.h | |
b5c7e122 SS |
755 | (load_infrun_state): Additional parameters |
756 | (store_infrun_state): Additional parameters | |
65b07ddc | 757 | |
b5c7e122 | 758 | * gdbthread.h: Include breakpoint.h |
65b07ddc | 759 | |
b5c7e122 SS |
760 | * hp-psymtab-read.c (QUICK_LOOK_UP): Redefine to be 0. |
761 | (hpread_build_psymtabs): Deal with enums. | |
762 | (hpread_start_psymtab): Include section offset. | |
763 | (hpread_end_psymtab): Take care of offset. | |
65b07ddc | 764 | |
b5c7e122 SS |
765 | * hp-psymtab-read.c (TRUE): Define. |
766 | (FALSE): Define. | |
767 | (file_exists): New function. Checks for existance of file. | |
768 | (hpread_pxdb_needed): Rewrite. | |
769 | (hpread_quick_traverse): Use correct demangling style. | |
65b07ddc | 770 | Handle F77 case. |
b5c7e122 SS |
771 | (hpread_get_header): Rewrite. |
772 | (hpread_get_textlow): Add support for DOC_FUNCTION. | |
773 | (hpread_build_psymtabs): Make sure we do the right thing | |
65b07ddc DT |
774 | for pxdb and F77. |
775 | ||
b5c7e122 | 776 | * hp-psymtab-read.c (hpread_pxdb_check): Change parenthesis positions. |
65b07ddc | 777 | |
b5c7e122 | 778 | * hp-psymtab-read.c (hpread_quick_traverse): Compare CORE_ADDR |
65b07ddc DT |
779 | variable end_addr to 0 instaed of NULL to get rif of gcc warning. |
780 | ||
781 | * hp-psymtab-read.c: | |
b5c7e122 | 782 | (Hpread_get_textlow): Added param to function |
65b07ddc DT |
783 | Defined convennience macros and some datatypes and variables for |
784 | processing the quick lookup-tables. Looks like the code existed | |
785 | before, but has been munged. | |
786 | (hpread_pxdb_needed): Major rearrangements of code. Additional local | |
b5c7e122 | 787 | variables. Also, more extensive checking for various scenarios: |
65b07ddc DT |
788 | debug info for optimized code vs. unoptimized code, pxdb has been |
789 | run vs. pxdb has not been run. | |
b5c7e122 SS |
790 | (VALID_FILE): New macro |
791 | (VALID_MODULE): New macro | |
792 | (VALID_PROC): New macro | |
793 | (VALID_CLASS): New macro | |
794 | (FILE_START): New macro | |
795 | (MODULE_START): New macro | |
796 | (PROC_START): New macro | |
797 | (FILE_END): New macro | |
798 | (MODULE_END): New macro | |
799 | (PROC_END): New macro | |
800 | (FILE_ISYM): New macro | |
801 | (MODULE_ISYM): New macro | |
802 | (PROC_ISYM): New macro | |
803 | (VALID_CURR_FILE): New macro | |
804 | (VALID_CURR_MODULE): New macro | |
805 | (VALID_CURR_PROC): New macro | |
806 | (VALID_CURR_CLASS): New macro | |
807 | (CURR_FILE_START): New macro | |
808 | (CURR_MODULE_START): New macro | |
809 | (CURR_PROC_END): New macro | |
810 | (CURR_FILE_ISYM): New macro | |
811 | (CURR_MODULE_ISYM): New macro | |
812 | (CURR_PROC_ISYM): New macro | |
813 | (TELL_OBJFILE): New macro | |
814 | (pst_syms_struct): New typedef to keep track of the start/end symbol | |
65b07ddc | 815 | table (LNTT) indices of psymtabs created so far. |
b5c7e122 SS |
816 | (pst_syms_count): New variable |
817 | (pst_syms_size): New variable | |
818 | (told_objfile): New variable | |
819 | (init_pst_syms): New function. sets up psymtab symbol index stuff. | |
820 | (clear_pst_syms): New function. clean up psymtab symbol index stuff. | |
821 | (record_pst_syms): New function. add info about newest psymtab to symbol | |
65b07ddc | 822 | index table. |
b5c7e122 SS |
823 | (find_next_pst_start): New function. Find a suitable symbol table index. |
824 | (find_next_file_isym): New function | |
825 | (find_next_proc_isym): New function | |
826 | (find_next_module_isym): New function | |
827 | (scan_procs): New function. Scan and record partial symbols for all | |
65b07ddc | 828 | functions starting from specified index and in a specified code range. |
b5c7e122 | 829 | (hpread_quick_traverse: Major rearrangement of code. The function |
65b07ddc DT |
830 | now uses all the nifty macros. There are some new local variables. |
831 | Check for EDG_DEMANGLING style. ifdef out some code for handling F77. | |
832 | Previously, the function looped over all the modules in the table. | |
833 | Now, the function loops over all the files, modules, and procedures. | |
834 | With HP aCC and CTTI, it is possible for a compiled object to have a | |
835 | file and no module. | |
836 | (hpread_build_psymtabs): Added a section of code ifdefed by | |
837 | QUICK_LOOK_UP. It check to see whether or not there are any globals | |
838 | in the executable. Fix number of params to hpread_start_psymtab call. | |
839 | Some changes to the way DNTT_TYPE_MODULE is handled. | |
b5c7e122 | 840 | (hpread_get_textlow): Change in signature, minor code changes. The |
65b07ddc DT |
841 | function finds the low address associated with a specified symbol. |
842 | In looking for the address for the symbol avoid going of the end of | |
843 | the LNTT file. | |
844 | ||
b5c7e122 | 845 | * hp-psymtab-read.c: Change TRUE to 1 and FALSE to 0. Do some |
65b07ddc DT |
846 | reformatting. |
847 | ||
b5c7e122 SS |
848 | * hp-psymtab-read.c: Include demangle.h |
849 | (trans_lang): New function to let gdb know the correct language. | |
65b07ddc DT |
850 | (hpread_quick_traverse): Use ARM style demangling. |
851 | Demangle procedures names. | |
852 | Use gdb language names instead of hp language names. | |
853 | Add symbol to list using its demangled name. | |
854 | ||
b5c7e122 SS |
855 | * hp-psymtab-read.c: New file. |
856 | (hpread_call_pxdb): New function. Call PXDB to process our file. | |
857 | (hpread_pxdb_check): New function. Return TRUE if the file needs | |
65b07ddc DT |
858 | pre-processing by PXDB and we have thus called PXDB to do this |
859 | processing and the file needs to be re-loaded. | |
b5c7e122 | 860 | (hpread_quick_traverse): New function. Traverse the quick look-up |
65b07ddc | 861 | tables, building a set of psymtabs. |
b5c7e122 | 862 | (hpread_get_header): New function. Get appropriate header from obj |
65b07ddc | 863 | file, based on pxdb type |
b5c7e122 SS |
864 | (hpread_symfile_init): No change from hpread.c |
865 | (hpread_build_psymtabs): If there are quick lookup tables, read those, | |
65b07ddc | 866 | then scan the global section LNTT. Otherwise, just scan the whole LNTT. |
b5c7e122 SS |
867 | Changed: Add a global function entry to the global partial symbol list. |
868 | Handle end of symbols, for QLT case. | |
65b07ddc DT |
869 | In case of TAGDEF, if it is a class or a template, add the name to the |
870 | var_namespace, so that it is known as a type by gdb. | |
871 | In case of CONSTANT, and it is global, add it to the globals. | |
b5c7e122 SS |
872 | (hpread_symfile_finish): No change from hpread.c |
873 | (hpread_get_lntt): Make it not static | |
874 | (hpread_get_gntt): No change from hpread.c | |
875 | (hpread_get_slt): Make it not static | |
876 | (hpread_get_textlow): No change from hpread.c | |
877 | (hpread_start_psymtab): No change from hpread.c | |
878 | (hpread_end_psymtab): No change from hpread.c | |
879 | ||
880 | * hp-symtab-read.c (hpread_get_scope_start): Renamed. It was | |
65b07ddc | 881 | hpread_get_depth. |
b5c7e122 | 882 | (hpread_type_translate): Distinguish between signed and unsigned char |
65b07ddc | 883 | types. |
b5c7e122 SS |
884 | (hpread_psymtab_to_symtab): Set flag for hp compilation. |
885 | (hpread_read_function_type): Append symbols for parameters to local | |
65b07ddc DT |
886 | list as well as to the global list. Get the parameters types from the |
887 | local list instead of the global list. | |
b5c7e122 | 888 | (hpread_read_struct_type): Add new field num_fn_fields to next_fn_field |
65b07ddc | 889 | structure. Rewrite handling of templates |
b5c7e122 SS |
890 | (hpread_type_lookup): Change handling of dntt_type_modifier. |
891 | (hpread_process_one_debug_symbol): Call hpread_get_scope_start instea | |
65b07ddc | 892 | of hpread_get_depth. Handle enum as well. |
b5c7e122 | 893 | (hpread_get_scope_depth): New function. Get nesting depth for a |
65b07ddc DT |
894 | DNTT entry. |
895 | ||
b5c7e122 | 896 | * hp-symtab-read.c (hpread_psymtab_to_symtab): Set |
65b07ddc DT |
897 | processing_gcc_compilation to 0. |
898 | ||
b5c7e122 | 899 | * hp-symtab-read.c (hpread_psymtab_to_symtab_1): Change stdout to |
65b07ddc | 900 | gdb_stdout; change fflush to gdb_flush. |
b5c7e122 | 901 | (hpread_psymtab_to_symtab): Change fflush to gdb_flush. |
65b07ddc | 902 | |
b5c7e122 SS |
903 | * hp-symtab-read.c (hpread_read_enum_type): Declare variable. |
904 | (hpread_read_struct_type): Eliminate references | |
65b07ddc DT |
905 | to 'args' member of fn_field. |
906 | ||
b5c7e122 | 907 | * hp-symtab-read.c (hpread_read_struct_type): A static member |
65b07ddc DT |
908 | is now indicated by the bitsize field, not the bitpos. |
909 | Initialize physname to empty. | |
b5c7e122 | 910 | (fix_static_member_physnames): Use new macros to deal with |
65b07ddc DT |
911 | physnames. |
912 | ||
b5c7e122 | 913 | * hp-symtab-read.c (hpread_read_struct_type): Change references |
65b07ddc DT |
914 | to bitpos member of struct field to use the FIELD_BITPOS macro. |
915 | ||
b5c7e122 | 916 | * hp-symtab-read.c (hpread_read_struct_type): Comment out reference to |
65b07ddc DT |
917 | obsolete field fn_field.args. |
918 | Add struct complaint definitions for complaints. | |
b5c7e122 SS |
919 | (hpread_read_struct_type): Change call to complain. |
920 | (hpread_read_array_type): Change call to complain. | |
921 | (hpread_type_lookup): Change call to complain. | |
922 | (hpread_process_one_debug_symbol): Change calls to complain. | |
923 | (hpread_type_translate): Change calls to complain. | |
65b07ddc | 924 | |
b5c7e122 | 925 | * hp-symtab-read.c (hpread_read_struct_type): Make sure bitvector |
65b07ddc DT |
926 | has been allocated before calling has_vtable. |
927 | ||
b5c7e122 | 928 | * hp-symtab-read.c (hpread_read_struct_type): Revert change, |
65b07ddc DT |
929 | just check for vtable without checking for bitvectors too. |
930 | ||
931 | * hp-symtab-read.c: | |
b5c7e122 | 932 | (Hpread_expand_symtab): Change name of local variable from |
65b07ddc DT |
933 | at_end_of_module to at_module_boundary. |
934 | Also, if demangling style is already EDG, do not reset it | |
935 | to the HP demangling style. | |
936 | Change at_end_of_module param to hpread_process_one_debug_symbol | |
937 | call to at_module_boundary. | |
938 | No longer break out of loop when reach end of module. With CTTI, | |
939 | the compiler can generate function symbols which are not in | |
940 | any module. Typically they show up after the end of one | |
941 | module and before the start of the next module. | |
b5c7e122 | 942 | (hpread_read_struct_type): Check that the debug info for |
65b07ddc | 943 | a TEMPLATE_ARG is correct. |
b5c7e122 | 944 | (hpread_process_one_debug_symbol): Change name of at_end_of_module_p |
65b07ddc DT |
945 | param to at_module_boundary_p. |
946 | Also set *at_module_boundary_p = -1 if missing a module end and set | |
947 | it to 1 when finished expanding the debug info. | |
948 | Handle TLS variable. | |
949 | ||
b5c7e122 SS |
950 | * hp-symtab-read.c: Include defs.h, symtab.h, gdbtypes.h, complaints.h. |
951 | (fixup_class): New static variable. | |
952 | (fixup_method): New static variable. | |
953 | (hpread_get_location): Rewrite. | |
954 | (hpread_has_name): Add cases for DNTT_TYPE_DOC_FUNCTION and | |
65b07ddc | 955 | DNTT_TYPE_DOC_MEMFUNC |
b5c7e122 | 956 | (hpread_expand_symtab): Use HP demangling style. |
65b07ddc | 957 | Set hp_som_som_object_present to 1. |
b5c7e122 | 958 | (hpread_type_translate): Error out if not immediate. Issue warning |
65b07ddc | 959 | if there is an unhandled type code. |
b5c7e122 SS |
960 | (error_in_hpread_type_translate_complaint): Remove this structure. |
961 | (hpread_read_enum_type): Don't assume size of enum is always 4 bytes. | |
962 | (hpread_read_function_type): Add new parameter to indicate a new block. | |
65b07ddc DT |
963 | Do not add the parameters to the symbol list. |
964 | If the type was read in earlier, do not modify the type structure. | |
965 | If we are creating a new block, set the local symbol list to be the | |
966 | param list. | |
967 | Need to mark this type as preprocessed. | |
b5c7e122 | 968 | (hpread_read_doc_function_type): New function. Read and internalize |
65b07ddc | 969 | a native DOC function debug symbol. |
b5c7e122 | 970 | (hpread_read_struct_type): A method can be of type doc_function and |
65b07ddc DT |
971 | doc_memfunc too. |
972 | Handle case in which a method is read before its class. Deal with | |
973 | incomplete method types. | |
974 | Handle cases in which HP/aCC compiler creates operator names w/o | |
975 | the 'operator' keyword. Rewrite the loop over the fileds. | |
b5c7e122 | 976 | (fix_static_member_physnames): New function. Adjust the physnames for |
65b07ddc | 977 | each static member. |
b5c7e122 | 978 | (fixup_class_method_type): New function. Fix-up the type structure for a |
65b07ddc | 979 | class. |
b5c7e122 SS |
980 | (hpread_read_array_type): Cahnge complaint to warning. |
981 | (hpread_type_lookup): Add case for DNTT_TYPE_DOC_FUNCTION. | |
65b07ddc DT |
982 | For structures/classes set static member to point to strings with full |
983 | names. | |
984 | Change calls to hpread_read_function_type to pass extra parameter. | |
b5c7e122 SS |
985 | (hpread_record_lines): Handle case for SLT_NORMAL_OFFSET. |
986 | (class_of): New function. Given a function "f" which is a member of a class, | |
65b07ddc | 987 | find the classname that it is a member of. |
b5c7e122 | 988 | (hpread_process_one_debug_symbol): Deal with possible alias field from the |
65b07ddc DT |
989 | som record for the Function or Entry type. |
990 | Do the demangling ourselves if the gdb demangler failed. | |
991 | Add support for DOC functions. | |
992 | For function types, add parameters to local list. | |
b5c7e122 SS |
993 | (hpread_get_scope_depth): Make this function a no-op. |
994 | (hpread_adjust_bitoffsets): New function. Adjust the bitoffsets for all | |
65b07ddc | 995 | fields of an anonymous union. |
b5c7e122 | 996 | (hpread_get_next_skip_over_anon_unions): New function. Skip over anonymous |
65b07ddc DT |
997 | unions. |
998 | ||
b5c7e122 | 999 | * hp-symtab-read.c: Include demangle.h |
65b07ddc DT |
1000 | (hpread_expand_symtab): Ensure we are using ARM-style demangling. |
1001 | (hpread_process_one_debug_symbol): Set the mangled and demangled | |
1002 | names for functions. | |
1003 | Record the class name to generate the demangled names of member | |
1004 | functions. | |
1005 | ||
b5c7e122 SS |
1006 | * hp-symtab-read.c: New file. |
1007 | (hpread_get_depth): No change from hpread.c | |
1008 | (hpread_get_line): No change from hpread.c | |
1009 | (hpread_get_location): No change from hpread.c | |
1010 | (hpread_has_name): Make it not static. Return 1 for DNTT_TYPE_BLOCKDATA | |
65b07ddc DT |
1011 | and DNTT_TYPE_MEMFUNC. Return 0 for CLASS_SCOPE, REFERENCE,PTRMEM, |
1012 | PTRMEMFUNC, CLASS, GENFIELD, VFUNC, MEMACCESS, INHERITANCE, | |
1013 | FRIEND_CLASS, FRIEND_FUNC, MODIFIER, OBJECT_ID, TEMPLATE, TEMPLATE_ARG, | |
1014 | FUNC_TEMPLATE, LINK. | |
b5c7e122 SS |
1015 | (hpread_psymtab_to_symtab_1): No changes from hpread.c |
1016 | (hpread_psymtab_to_symtab): Make it a static function | |
1017 | (hpread_expand_symtab): Modified | |
1018 | (hpread_type_translate): If not typep.dntti.immediate do not abort, | |
65b07ddc | 1019 | but complain and return. Same for default action. Handle more HP_TYPEs. |
b5c7e122 SS |
1020 | (hpread_lookup_type): Initially allocate a correct-size type-vector. |
1021 | (hpread_alloc_type): Reset type_addr only if a type was allocated. | |
1022 | (hpread_read_enum_type): If this has already a type associated, return. | |
1023 | (hpread_read_function_type): Do different things depending on whether | |
65b07ddc DT |
1024 | function is a MEMFUNC, a TEMPLATE, a FUNCTION som record. |
1025 | Do not use the LOC_REGPARM_ADDR symbol class. | |
b5c7e122 | 1026 | (hpread_read_struct_type): Handle classes and templates too. Major |
65b07ddc | 1027 | rewrite. |
b5c7e122 SS |
1028 | (hpread_get_nth_template_arg): New function. |
1029 | (hpread_read_templ_arg_type): New function. | |
1030 | (hpread_read_set_type): No change from hpread.c | |
1031 | (hpread_read_array_type): Modified | |
1032 | (hpread_read_subrange_type): Add handling of more DNTT entries. | |
65b07ddc | 1033 | added support for templates, classes, references, virtual functions. |
b5c7e122 SS |
1034 | (hpread_type_lookup): Handle DNNT_TYPE_MODULE. |
1035 | (hpread_record_lines): No changes from hpread.c | |
65b07ddc DT |
1036 | (hpread_process_one_debug_symbol): Handle WITH, COMMON, |
1037 | CLASS_SCOPE. Expand TAGDEF case to handle classes and templates. | |
1038 | ||
b5c7e122 SS |
1039 | * hppa-tdep.c (pa_do_strcat_registers_info): Has a new parameter, |
1040 | precision, which is passed into the call to pa_strcat_fp_reg to | |
1041 | indicate whether to display the floating point registers using | |
1042 | single or double preceision. | |
65b07ddc DT |
1043 | (pa_strcat_registers): Introduce local variable, precision, and |
1044 | pass it into call to pa_strcat_fp_reg. | |
1045 | (pa_strcat_fp_reg): Modified function. New parameter, precision, | |
1046 | used by function to decide whether to use single or double | |
1047 | precision. Also added the code to put a double precision value | |
1048 | into a buffer. | |
1049 | ||
b5c7e122 | 1050 | * hppa-tdep.c: Add'l includes <machine/save_state.h>, |
65b07ddc | 1051 | <unistd.h>, declare pa_register_look_aside, define is_pa_2. |
b5c7e122 SS |
1052 | (rp_saved): Check for where to read the return pointer from. |
1053 | (pa_do_registers_info): Handle is_pa_2. (pa_register_look_aside): | |
1054 | new function. (pa_print_registers): Handle is_pa_2. | |
1055 | (in_solib_call_trampoline): Handle a compiler/linker error. | |
1056 | (skip_trampoline_code): Changes to some masks used in examining | |
1057 | instructions. (inst_saves_fr): Test for FSTWS instruction. | |
1058 | (skip_prologue): Renamed to skip_prologue_hard_way. | |
1059 | (after_prologue): New function. (skip_prologue): New function. | |
1060 | ||
1061 | * hppa-tdep.c (after_prologue): If f is NULL, don't dereference | |
65b07ddc DT |
1062 | it. |
1063 | ||
b5c7e122 | 1064 | * hppa-tdep.c (after_prologue): If no debug info, return zero |
65b07ddc DT |
1065 | telling caller that we need to find the end of the prologue via |
1066 | the hard way (instruction examination). | |
1067 | ||
b5c7e122 | 1068 | * hppa-tdep.c (find_unwind_entry): Avoid dereferencing a null |
65b07ddc DT |
1069 | pointer. |
1070 | ||
b5c7e122 SS |
1071 | * hppa-tdep.c (hppa_pid_to_exec_file): Deleted -- no longer used. |
1072 | ||
1073 | * hppa-tdep.c (hppa_prepare_to_proceeed): Add prototype. | |
1074 | (read_unwind_info): Purecov comments, bug fixes. | |
1075 | (find_unwind_entry): Purecov comments, bug fixes. | |
1076 | (find_stub_with_shl_get): Purecov comments. | |
1077 | (frame_chain): Additional parens. | |
1078 | (hppa_push_arguments): Changes to commented out version of routine. | |
1079 | (hppa_fix_call_dummy): Purecov comments, fix location of end.o. | |
1080 | (in_solib_call_trampoline): Purecov comments. | |
1081 | (in_solib_return_trampoline): Purecov comments. | |
1082 | (setup_d_pid_in_inferior): Fix location of end.o. | |
1083 | (initialize_hp_cxx_exception_support): Fix location of end.o. | |
1084 | (child_enable_exception_callback): Purecov comments. | |
65b07ddc DT |
1085 | |
1086 | * hppa-tdep.c: | |
b5c7e122 | 1087 | (Pa_do_strcat_registers_info): New routine. called by |
65b07ddc DT |
1088 | tui/tuiRegs.c:_tuiRegisterFormat to place a register name |
1089 | and value into a string buffer. Interface may change in | |
1090 | future. Checking this in so that we have something | |
1091 | functional for HP. | |
b5c7e122 | 1092 | (pa_strcat_registers): New routine, called by |
65b07ddc DT |
1093 | pa_do_strcat_registers_info. Does same thing as |
1094 | pa_print_registers except it takes a stream parameter. | |
1095 | This routine should disappear in future. Checking in | |
1096 | so that we have something functional to give HP | |
b5c7e122 | 1097 | (pa_strcat_fp_reg): New routine, called by |
65b07ddc DT |
1098 | pa_do_strcat_registers_info and pa_strvat_registers |
1099 | to place a floating point register name and value into | |
1100 | a buffer. This interface may change in future. | |
1101 | Checking in so that we have something functional to give HP. | |
1102 | ||
b5c7e122 SS |
1103 | * hppa-tdep.c: (Pa_print_fp_reg): Change prototype to match def'n. |
1104 | (pa_register_look_aside): Fix comment immediately before function. | |
65b07ddc | 1105 | |
b5c7e122 | 1106 | * hppa-tdep.c: Changes to better support stack unwinding, |
65b07ddc DT |
1107 | reading and writing registers for HPUX. The HP folks had |
1108 | an advantage ... access to a runtime architecture spec ;-}. | |
b5c7e122 SS |
1109 | New includes: Ptrace.h |
1110 | (internalize_unwinds): Initialize new fields in table. | |
1111 | (read_unwind_info): Entries in the table are now more complex | |
65b07ddc DT |
1112 | structures. References of the form ...->table[index].stub_type |
1113 | are now ...->table[index].stub_unwind.stub_type. | |
b5c7e122 SS |
1114 | (find_proc_framesize): Added a check for pc == 0. |
1115 | (rp_saved): Entries in the table are now more complex | |
65b07ddc DT |
1116 | structures. References of the form ...->table[index].stub_type |
1117 | are now ...->table[index].stub_unwind.stub_type. | |
b5c7e122 | 1118 | (frameless_function_invocation): Stub_type becomes |
65b07ddc | 1119 | stub_unwind.stub_type |
b5c7e122 SS |
1120 | (saved_pc_after_call): Stub_type becomes stub_unwind.stub_type |
1121 | (hppa_frame_saved_pc): Stub_type becomes stub_unwind.stub_type | |
1122 | (frame_chain_valid): Stub_type becomes stub_unwind.stub_type | |
1123 | (hppa_call_dummy): Stub_type becomes stub_unwind.stub_type | |
1124 | (pa_print_fp_reg): Additional params to call val_print | |
1125 | (in_solib_call_trampoline): Stub_type becomes stub_unwind.stub_type | |
1126 | (in_solib_return_trampoline): Stub_type becomes stub_unwind.stub_typ | |
1127 | (skip_trampoline_code): Additional code to handle external | |
65b07ddc | 1128 | dyncalls. Also stub_type becomes stub_unwind.stub_type |
b5c7e122 | 1129 | (hppa_pid_to_exec_file): New funct. FOr HPUX 10.0 and beyond there |
65b07ddc DT |
1130 | is an explicit ptrace request for getting the pathname associated |
1131 | with a process id (pid). | |
1132 | ||
b5c7e122 SS |
1133 | * hppa-tdep.c: Fix for gcc compile on HPUX |
1134 | (hppa_pid_to_exec_file): Remove unwanted param from | |
65b07ddc DT |
1135 | call to call_ptrace. Note, hppa_pid_to_exec_file goes |
1136 | away in subsequent hp snapshots. | |
1137 | ||
b5c7e122 | 1138 | * hppa-tdep.c: Include bfd.h. |
65b07ddc | 1139 | include dl.h |
b5c7e122 SS |
1140 | (args_for_find_stub): New structure. |
1141 | (find_unwind_entry): Deal with null input pc value. | |
1142 | (rp_saved): Ditto. | |
65b07ddc | 1143 | For the import stub, return -24 always. |
b5c7e122 SS |
1144 | (hppa_frame_saved_pc): Save old pc value, to detect we are in a loop. |
1145 | (init_extra_frame_info): Use TARGET_READ_FP. | |
1146 | (frame_chain): Include thread support. | |
65b07ddc DT |
1147 | If the caller's pc is zero, we loose and return, just like stack bottom. |
1148 | Disable warning about being unable to find unwind info. | |
b5c7e122 SS |
1149 | (hppa_push_arguments): Rewrite. |
1150 | (hppa_value_returned_from_stack): New function. Handles returning a value | |
65b07ddc | 1151 | larger that 64 bits, stored on the stack. |
b5c7e122 SS |
1152 | (find_stub_with_shl_get): New function. To look up symbols in shlibs. |
1153 | (cover_find_stub_with_shl_get): New function. Cover routine for | |
65b07ddc | 1154 | find_stub_with_shl_get to pass to catch_errors. |
b5c7e122 SS |
1155 | (hppa_fix_call_dummy): Comment out old stub mechanism. Rewrite using dyncall. |
1156 | (target_read_fp): New function. | |
1157 | (pa_do_registers_info): Floating point registers start at FP4. | |
1158 | (pa_print_registers): Use FP4_REGNUM instead of 72. | |
1159 | (skip_trampoline_code): Do machine instruction matching for PA2.0. | |
1160 | (setup_d_pid_in_inferior): New function. Exception handling support. | |
1161 | (initialize_hp_cxx_exception_support): Ditto. | |
1162 | (child_enable_exception_callback): Ditto. | |
1163 | (child_get_current_exception_event): Ditto. | |
65b07ddc DT |
1164 | |
1165 | * hppah-nat.c (child_post_wait, child_post_follow_vfork, | |
b5c7e122 | 1166 | child_post_follow_inferior_by_clone): New functions. |
65b07ddc | 1167 | |
b5c7e122 | 1168 | * hppah-nat.c (child_xfer_memory): Make sure the call to ptrace really |
65b07ddc | 1169 | fails before we give up. |
b5c7e122 SS |
1170 | (hppa_pid_to_str): New function. Format a process id. |
1171 | (hppa_tid_to_str): New function. Format a thread id. | |
65b07ddc | 1172 | |
b5c7e122 SS |
1173 | * hppah-nat.c (child_xfer_memory): Use xmalloc, not alloca. |
1174 | (child_post_wait): Delete. | |
1175 | (child_post_follow_vfork): Delete decl of child_ops; delete | |
65b07ddc DT |
1176 | large chunks of function -- let it be handled by the normal |
1177 | mechanism that notices and handles exec events, in resume(). | |
1178 | ||
b5c7e122 | 1179 | * hppah-nat.c (require_notification_of_exec_events): New function; |
65b07ddc DT |
1180 | just notify of exec events, not all events, and just the specified |
1181 | pid, don't include it's children (10.20 version). | |
b5c7e122 | 1182 | (child_acknowledge_created_inferior): Call new function |
65b07ddc DT |
1183 | require_notification_of_exec_events instead of |
1184 | require_notification_of_events. | |
1185 | ||
1186 | * hppah-nat.c [!GDB_NATIVE_HPUX_11]: Move HPUX 10.x-specific | |
1187 | support code here from infptrace.c. | |
1188 | ||
b5c7e122 | 1189 | * hppah-nat.c: Removed #define ptrace call_ptrace |
65b07ddc | 1190 | replaced all calls to ptrace with calls to call_ptrace |
b5c7e122 | 1191 | (parent_attach_all): Removed call to ptrace |
65b07ddc | 1192 | |
b5c7e122 | 1193 | * hpread.c (hpread_psymtab_to_symtab_1): Change fflush to |
65b07ddc | 1194 | gdb_flush; change stdout to gdb_stdout. |
b5c7e122 | 1195 | (hpread_psymtab_to_symtab): Change fflush to gdb_flush. |
65b07ddc | 1196 | |
b5c7e122 | 1197 | * hpread.h: New file. Includes all includes, struct defs, defines |
65b07ddc DT |
1198 | from hpread.c. |
1199 | ||
1200 | * infcmd.c | |
b5c7e122 | 1201 | (attach_command): New local variable, exec_file, added code to |
65b07ddc DT |
1202 | determine exec_file from pid if exec_file is not already known, |
1203 | call new target operation, target_post_attach -- a no-op unless | |
1204 | on HPUXHPPA | |
b5c7e122 | 1205 | (detach_command): After detaching, do a SOLIB_RESTART |
65b07ddc | 1206 | |
b5c7e122 | 1207 | * infcmd.c (objfiles.h): Fix typo on include line. |
65b07ddc | 1208 | |
b5c7e122 | 1209 | * infcmd.c (run_command): Only call SOLIB_RESTART if it's |
65b07ddc | 1210 | defined. |
b5c7e122 | 1211 | (detach_command): Ditto. |
65b07ddc DT |
1212 | |
1213 | * infcmd.c: | |
b5c7e122 | 1214 | (run_stack_dummy): Add calls to |
65b07ddc DT |
1215 | disable_watchpoints_before_interactive_call_start and |
1216 | enable_watchpoints_after_interactive_call_stops | |
b5c7e122 | 1217 | (finish_command): Alter code handling the evaluation and printing |
65b07ddc | 1218 | of the target function's return value. |
b5c7e122 | 1219 | (attach_command): When given a pid, but no exec file, try to determine |
65b07ddc DT |
1220 | the exec file from the process. If the process does not record a |
1221 | full path name, try to qualify the filename against the source path. | |
b5c7e122 | 1222 | (_initialize_infcmd): Add some verbiage about how to use the attach command |
65b07ddc DT |
1223 | |
1224 | * infcmd.c: | |
1225 | Include objfiles.h | |
1226 | (run_command): If program has already been started, and decide | |
1227 | to restart it, the kill the target, fluch the caches, | |
1228 | call init_wait_for_inferior. Also purge old solib objfiles. | |
1229 | ||
b5c7e122 | 1230 | * infcmd.c: Cahnged calls to val_print, using a new macro, |
65b07ddc | 1231 | SOLIB_RESTART |
b5c7e122 SS |
1232 | (run_command): Calls SOLIB_RESTART |
1233 | (do_registers_info): Changed calls to val_print | |
65b07ddc | 1234 | |
b5c7e122 | 1235 | * infcmd.c: Made the symfile.h include preceed the |
65b07ddc DT |
1236 | objfiles.h include. The other ordering caused a |
1237 | compile problem (incompletely defined types). | |
1238 | ||
1239 | * inferior.h (REQUIRE_DETACH): Fix default definition. | |
1240 | * inftarg.c (child_post_attach): Fix declaration, make static. | |
1241 | (proc_wait): Make globally visible. | |
1242 | (child_insert_fork_catchpoint, etc): Fix return type. | |
1243 | ||
b5c7e122 SS |
1244 | * inferior.h (STARTUP_WITH_SHELL): New define. |
1245 | (START_INFERIOR_TRAPS_EXPECTED): New define | |
65b07ddc | 1246 | |
b5c7e122 | 1247 | * inferior.h (fork_inferior): Change fifth parameter to be a function |
65b07ddc DT |
1248 | returning void. |
1249 | ||
1250 | * inferior.h (proc_wait): Declare. | |
1251 | ||
1252 | * inferior.h: | |
b5c7e122 SS |
1253 | (Require_ATTACH): New macro |
1254 | (REQUIRE_DETACH): New macro | |
1255 | (detach): Definition is now an extern | |
1256 | (clone_and_follow_inferior): New definition, it's also an extern | |
65b07ddc DT |
1257 | |
1258 | * inferior.h: | |
b5c7e122 SS |
1259 | (Require_attach): Default definition for require_attach funct |
1260 | (require_detach): Default definition for require_detach funct | |
1261 | (pre_fork_inferior): New funct decl for function defined in | |
65b07ddc | 1262 | infptrace.c |
b5c7e122 | 1263 | (fork_inferior): New parameter in funct decl. |
65b07ddc DT |
1264 | |
1265 | * inferior.h: | |
b5c7e122 | 1266 | New variable decls: Inferior_ignoring_startup_exec_events, |
65b07ddc DT |
1267 | inferior_ignoring_leading_exec_events -- these variables |
1268 | are used when processing an exec call. | |
b5c7e122 | 1269 | (CALL_DUMMY_HAS_COMPLETED): New default macro -- for targets |
65b07ddc DT |
1270 | where PC in call dummy implies that call dummy has |
1271 | completed. Note, that on HPUX this inference does not hold. | |
1272 | ||
1273 | * infptrace.c | |
b5c7e122 SS |
1274 | (require_notification_of_events): New function |
1275 | (child_acknowledge_created_inferior): Previously named | |
65b07ddc DT |
1276 | hppa_acknowledge_forked_child. Also calling |
1277 | require_notification_of_events and clearing some semaphore | |
1278 | variables | |
b5c7e122 SS |
1279 | (child_post_startup_inferior): New function |
1280 | (child_create_catch_fork_hook): Previously named | |
65b07ddc | 1281 | hppa_create_catch_fork_hook |
b5c7e122 | 1282 | (child_create_catch_vfork_hook): Previously named |
65b07ddc | 1283 | hppa_create_catch_vfork_hook |
b5c7e122 SS |
1284 | (child_has_forked): Previously named hppa_target_has_forked |
1285 | (child_has_vforked): Previously named hppa_target_has_vforked | |
1286 | (process_wait): Changed to call target_post_wait | |
1287 | (attach): Add call to require_notification_of_events | |
1288 | (child_pid_to_exec_file): New function | |
1289 | (hppa_require_attach): New local variable, pt_status | |
1290 | (hppa_get_process_events): New function | |
65b07ddc DT |
1291 | |
1292 | * infptrace.c (call_ptrace): Simplify control flow. | |
1293 | (proc_wait): Move here from inftarg.c, add target_post_wait call. | |
1294 | ||
b5c7e122 | 1295 | * infptrace.c (call_ptrace): Add some debugging code. |
65b07ddc | 1296 | |
b5c7e122 | 1297 | * infptrace.c (child_pid_to_exec_file): Declare variable. |
65b07ddc | 1298 | |
b5c7e122 | 1299 | * infptrace.c (kill_inferior): Clean up call to proc_wait. |
65b07ddc DT |
1300 | |
1301 | * infptrace.c: | |
b5c7e122 | 1302 | (Call_ptrace): When the ptrace request is PT_SETTRC, |
65b07ddc DT |
1303 | call ptrace and then call parent_attach_all. |
1304 | ||
1305 | * infptrace.c: | |
b5c7e122 | 1306 | (Child_has_syscall_event): New function. only applicable |
65b07ddc DT |
1307 | (for now) on HPUX 10.30 and beyond via the ttrace call. |
1308 | In infptrace.c there is a default operation. | |
1309 | With ttrace, it is possible to tell the kernel to | |
1310 | notify the debugger that the target program is about to make | |
1311 | or return from a syscall. | |
b5c7e122 | 1312 | (child_thread_alive): New function. a default function. |
65b07ddc | 1313 | ptrace doesn't support kernel threads. |
b5c7e122 SS |
1314 | (hppa_enable_page_protection_events): Defualt function |
1315 | (hppa_disable_page_protection_events): Default function | |
65b07ddc | 1316 | |
b5c7e122 SS |
1317 | * infptrace.c (child_pid_to_exec_file): Fix number of params to |
1318 | cal_ptrace call. | |
65b07ddc | 1319 | |
b5c7e122 SS |
1320 | * infptrace.c (hppa_pid_or_tid_to_str): New function. |
1321 | (hppa_switched_threads): New function. | |
1322 | (hppa_ensure_vforking_parent_remains_stopped): New function. | |
1323 | (hppa_resume_execd_vforking_child_to_get_parent_vfork): New function. | |
65b07ddc DT |
1324 | |
1325 | * infptrace.c: Most of the changes found in infptrace.c should | |
1326 | be moved to hppah-nat.c | |
b5c7e122 SS |
1327 | (PT_VERSION): A new define |
1328 | (startup_semaphore_t): A new struct type. it is used to | |
65b07ddc DT |
1329 | coordinate the parent and child processes after a fork and |
1330 | before an exec on HPUX. | |
b5c7e122 | 1331 | (call_ptrace): Changes to determine whether the ptrace |
65b07ddc | 1332 | request is for starting the tracing of the target process. |
b5c7e122 | 1333 | (parent_attach_all): New funct. used on HPUX for coordinating |
65b07ddc | 1334 | the parent and child processes after a fork and before and exec. |
b5c7e122 | 1335 | (hppa_acknowledge_forked_child): New funct. prabably belongs |
65b07ddc | 1336 | in hppah-nat.c |
b5c7e122 | 1337 | (hppa_enable_catch_fork): New funct. probably belongs in |
65b07ddc | 1338 | hppah-nat.c |
b5c7e122 | 1339 | (hppa_disable_catch_fork): New funct. probably belongs in |
65b07ddc | 1340 | hppah-nat.c |
b5c7e122 | 1341 | (hppa_create_catch_fork_hook): New funct. probably belongs in |
65b07ddc | 1342 | hppah-nat.c |
b5c7e122 | 1343 | (hppa_enable_catch_vfork): New funct. probably belongs in |
65b07ddc | 1344 | hppah-nat.c |
b5c7e122 | 1345 | (hppa_disable_catch_vfork): New funct. probably belongs in |
65b07ddc | 1346 | hppah-nat.c |
b5c7e122 | 1347 | (hppa_create_catch_vfork_hook): New funct. probably belongs to |
65b07ddc | 1348 | hppah-nat.c |
b5c7e122 | 1349 | (hppa_target_has_forked): New funct. probably belongs in |
65b07ddc | 1350 | hppah-nat.c |
b5c7e122 | 1351 | (hppa_target_has_vforked): New funct. probably belongs in |
65b07ddc | 1352 | hppah-nat.c |
b5c7e122 SS |
1353 | (process_wait): New funct. also ifdefed for proc_wait. |
1354 | (kill_inferior): Call proc_wait rather than wait. this is | |
65b07ddc | 1355 | pretty hacky. |
b5c7e122 | 1356 | (pre_fork_inferior): New function. used only by HPUX. |
65b07ddc DT |
1357 | probably should be defined elsewhere. |
1358 | ||
b5c7e122 SS |
1359 | * infrun.c (follow_inferior_fork): Only define on HP. |
1360 | (wait_for_inferior): Only call SOLIB_IN_DYNAMIC_LINKER if we have | |
65b07ddc DT |
1361 | shared libraries; restore test of IN_SOLIB_DYNSYM_RESOLVE_CODE |
1362 | removed by HP. | |
1363 | ||
1364 | * infrun.c (normal_stop): Add a call to the TUIDO | |
1365 | macro just before the annotate_stopped label. This | |
1366 | updates the windows after each program stop. | |
1367 | ||
b5c7e122 | 1368 | * infrun.c (normal_stop): Verify stop_command is non-zero before |
65b07ddc DT |
1369 | dereferencing it (it won't be set if dbx_commands is set). |
1370 | ||
1371 | * infrun.c (resume): Add #ifdef HPPAHPUX around HPUX-specific | |
1372 | code. | |
1373 | ||
b5c7e122 | 1374 | * infrun.c (resume): Add missing semicolon. |
65b07ddc | 1375 | |
b5c7e122 | 1376 | * infrun.c (wait_for_inferior): Fix syntax error. |
65b07ddc | 1377 | |
b5c7e122 SS |
1378 | * infrun.c (follow_fork_mode_kind_names): Removed "both" option. |
1379 | (follow_fork): Added parameters. additional code for handling | |
1380 | following of parent, following of child | |
1381 | (resume): Added code for deciding how to resume in presence of | |
1382 | fork. Additional params to follow_fork call. | |
65b07ddc | 1383 | |
b5c7e122 SS |
1384 | * infrun.c (follow_exec): Ifdef for HPUXHPPA for the moment, the |
1385 | code in here assumes the existance of the child_ops target | |
1386 | vector. This is incorrect for Solaris. | |
65b07ddc | 1387 | |
b5c7e122 | 1388 | * infrun.c (resume): Fixed ifdefs, HPPAHPUX -> HPUXHPPA. |
65b07ddc | 1389 | |
b5c7e122 SS |
1390 | * infrun.c (wait_for_inferior): Fixed a matching parens problem -- |
1391 | matching curly brace inside ifdefed code which is not being | |
1392 | compiled. Change local validFlag to be an 'int' rather than a | |
1393 | 'bool' and fixed the corresponding assignment statements. | |
65b07ddc DT |
1394 | |
1395 | * infrun.c: | |
b5c7e122 | 1396 | Two new global variables: Inferior_ignoring_startup_exec_events and |
65b07ddc | 1397 | inferior_ignoring_leading_exec_events. |
b5c7e122 | 1398 | New static variables: Parent_of_vfork_trap_expected_and_ignorable, |
65b07ddc DT |
1399 | step_resume_breakpoint, through_sigtramp_breakpoint, pending_follow, |
1400 | follow_vfork_when_exec | |
b5c7e122 SS |
1401 | (follow_inferior_fork): Does what follow_fork did! |
1402 | (follow_fork): Is now a wrapper function for follow_inferior_fork | |
1403 | (follow_vfork): Is now a wrapper function for follow_inferior_fork | |
1404 | (follow_exec): New function, handles an exec event. | |
1405 | (resume): Remove 3 local variables: Child_pid, has_forked, has_vforked. | |
65b07ddc DT |
1406 | move and expand code that tries to follow a fork (i.e. also check |
1407 | for vfork and exec | |
b5c7e122 SS |
1408 | (init_wait_for_inferior): Initialize the new structure, pending_follow |
1409 | (delete_breakpoint_current_contents): When deleting all the breakpoints also | |
65b07ddc | 1410 | set the breakpoint struct pointer to NULL. |
b5c7e122 | 1411 | (wait_for_inferior): A number of changes. |
65b07ddc DT |
1412 | The step_resume_breakpoint and through_sigtramp_breakpoint local |
1413 | variables are now visible in entire module. | |
1414 | Changed name of variable from child_inferior_pid to saved_inferior_pid. | |
1415 | Added several cases to the event processing switch statement: | |
b5c7e122 | 1416 | Target_WAITKIND_FORKED, TARGET_WAITKIND_VFORKED, TARGET_WAITKIND_EXECD. |
65b07ddc DT |
1417 | Also, for TARGET_WAITKIND_STOPPED, check to see if expecting a trap |
1418 | from the parent of a vfork (ignorable) otherwise break as usual. | |
1419 | When determining the value of 'random_signal' (0 or 1), no longer check for | |
1420 | catchpoints. | |
1421 | When determining how to handle unexpected signals, must now take into | |
1422 | account fork, vfork, and exec. | |
1423 | Change call to PC_IN_CALL_DUMMY to a call to CALL_DUMMY_HAS_COMPLETED | |
1424 | At stop_stepping label, check to see if stopped for fork or | |
1425 | vfork event. | |
1426 | ||
1427 | * infrun.c: New code is related to threads and fork/vfork/exec. | |
b5c7e122 SS |
1428 | New static variable: Thread_step_needed |
1429 | Deleted static variable: Parent_of_vfork_trap_expected_and_ignorable | |
65b07ddc DT |
1430 | Altered the pending_follow and fork_event structs |
1431 | (follow_inferior_fork): Before detaching from child and removing | |
1432 | all breakpoints form it -- but only if forking or following | |
1433 | vforks as soon as they happen. Also reset the solib inferior hook. | |
1434 | The same kind of logic applies to hitting step_resume_breakpoints | |
1435 | (calling breakpoint_re_set_thread) and to resetting and inserting | |
1436 | breakpoints. | |
b5c7e122 SS |
1437 | (follow_exec): Forward decl |
1438 | (follow_vfork): Check to see if gdb followed the child. If | |
65b07ddc DT |
1439 | the child exec'd before gdb saw the parent's vfork event |
1440 | then call follow_exec. | |
b5c7e122 | 1441 | (follow_exec): If the exec occured after a vfork, then follow |
65b07ddc DT |
1442 | the vfork as well. Do it before following the exec. |
1443 | Make sure to update breakpoints after and exec | |
b5c7e122 | 1444 | (resume): New local variable, should_resume. |
65b07ddc DT |
1445 | Change parameters in calls to follow_fork, follow_vfork, and |
1446 | follow_exec. Some changes to the way various pending_follow.kind | |
1447 | situations are handled (there's TARGET_WAITKIND_FORKED, | |
1448 | TARGET_WAITKIND_VFORKED, ARGET_WAITKIND_EXECD. Some additional | |
1449 | conditions to check before deciding to resume the target (i.e. | |
1450 | should_resume=1, stepping?, thread_step_needed?i, regular | |
1451 | resume?) | |
1452 | (proceed): When proceeded at location that does not have a breakpoint | |
1453 | set thread_step_needed=0 to indicate that it is not necessary to | |
1454 | single step thread over breakpoint. SOme additional checks to see | |
1455 | if it is necessary to step thread over breakpoint. | |
b5c7e122 SS |
1456 | (start_remote): Remove call to clear_proceed_status. |
1457 | (init_wait_for_inferior): Initialize new fields in fork_event | |
65b07ddc | 1458 | structure and add a call to clear_proceed_status. |
b5c7e122 | 1459 | (wait_for_inferior): New local variable: New_thread_event. |
65b07ddc DT |
1460 | Initialize thread_step_needed = 0. |
1461 | Minor massaging of conditions for adding a new thread to the thread list. | |
1462 | No longer resuming execution after adding a new thread. Let user play with thread first. | |
1463 | Some changes in the way TARGET_WAITKIND_FORKED, ARGET_WAITKIND_VFORKED, | |
1464 | TARGET_WAITKIND_EXECD are handled -- this is all HPUX related. | |
1465 | Simplified TARGET_WAITKIND_STOPPED -- HP previously had some | |
1466 | more complicated code in here. | |
1467 | Moved the code to resume threads to after the large case statement that processes the events. | |
1468 | Additional processing for stop_signal=TARGET_SIGNAL_TRAP. | |
1469 | Cleanup code at process_event_stop_test label. | |
1470 | Set thread_step_needed when processing a BPSTAT_WHAT_SINGLE. | |
1471 | Minor massaging of fork/vfork/exec part of stop_stepping code. | |
b5c7e122 SS |
1472 | (normal_stop): Minor changes. calling show_and_print_stack_frame. |
1473 | (xdb_handle_command): New function | |
1474 | (_initialize_infrun): Handle xdb_commands. also handle dbx commands | |
65b07ddc | 1475 | |
b5c7e122 | 1476 | * infrun.c: Changes to support following forks, and handling |
65b07ddc | 1477 | catchpoints. |
b5c7e122 SS |
1478 | (follow_fork_mode_kind_names): New array |
1479 | (follow_fork): New function. implements the follow parent, | |
65b07ddc | 1480 | or child functionality. |
b5c7e122 | 1481 | (resume): Additions to check whether the target process |
65b07ddc | 1482 | just forked and decide which process to follow. |
b5c7e122 | 1483 | (wait_for_inferior): Additional variables (child_inferior_pid, |
65b07ddc DT |
1484 | stepping_through_solib_after_catch, |
1485 | - stepping_through_solib_catchpoints. | |
1486 | - Altered CURRENTLY_STEPPING macro to check for stepping through | |
1487 | a shared library after hitting a catchpoint. | |
1488 | - Add parameters to save_infrun_state call | |
1489 | - Check for fork and vfork when deciding if event is a random | |
1490 | signal | |
1491 | - When considering stops due to breakpoints, check for | |
1492 | BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK | |
1493 | - Check for stop due to an explicit catchpoint | |
1494 | - When checking for single stepping event, also check for | |
1495 | stepping to get out of dynamic linker's hook after catching | |
1496 | a shlib event | |
b5c7e122 | 1497 | (is_internal_shlib_eventpoint): New funct. check to see if |
65b07ddc | 1498 | event type is bp_shlib_event. |
b5c7e122 | 1499 | (stopped_for_internal_shlib_event): New funct. check for shlib |
65b07ddc | 1500 | events |
b5c7e122 SS |
1501 | (stopped_for_shlib_catchpoint): New funct. check for catchpoints. |
1502 | (normal_stop): Additions to check for shlib event | |
1503 | (set_follow_fork_mode_command): New funct. handles the new follow | |
65b07ddc | 1504 | fork command. |
b5c7e122 | 1505 | (_initialize_infrun): Additions for follow-fork-mode command. |
65b07ddc | 1506 | |
b5c7e122 | 1507 | * infrun.c: Ifdefing references to |
65b07ddc DT |
1508 | switched_from_inferior_pid for HPUXHPPA. They don't seem |
1509 | useful for Solaris (i.e. non-HPUX) | |
1510 | ||
b5c7e122 SS |
1511 | * infrun.c: Included tuiData.h and tuiDataWin.h, ifdefed for TUI. |
1512 | Included top.h. New static variables: Switched_from_inferior_pid, | |
65b07ddc DT |
1513 | number_of_threads_in_syscalls. |
1514 | (follow_inferior_fork): If there is a step_resume breakpoint | |
1515 | explicitly reset the thread number. | |
1516 | (resume): For TARGET_WAITKIND_VFORKED, removed a check for getting | |
1517 | the vfork event to soon. | |
b5c7e122 | 1518 | (init_wait_for_inferior): Added parameter to call to |
65b07ddc | 1519 | breakpoint_init_inferior. Initialize number_of_threads_in_syscalls. |
b5c7e122 | 1520 | (wait_for_inferior): New local variables: Prev_sal, |
65b07ddc DT |
1521 | enable_hw_watchpoints_after_wait, stepping_through_sigtramp, |
1522 | stepped_after_stopped_by_watchpoint. Enable watchpoints after a wait. | |
1523 | Added cases for TARGET_WAITKIND_SYSCALL_ENTRY and | |
1524 | TARGET_WAITKIND_SYSCALL_RETURN. | |
1525 | Do additional processing if stop due to breakpoint, but breakpoint is | |
1526 | only valid for a thread other than the one currently running. Additional | |
1527 | parameters to save_infrun_state and load_infrun_state. Some additional | |
1528 | processing for BPSTAT_WHAT_STEP_RESUME. Some additional processing to | |
1529 | handle stepping over a function. | |
b5c7e122 | 1530 | (normal_stop): Added notification of switching threads. ifdefing some |
65b07ddc | 1531 | TUI changes and leaving out non-essential TUI changes. |
b5c7e122 SS |
1532 | (restore_selected_frame): Ifdefing some TUI changes |
1533 | (restore_inferior_status): Ifdefing some TUI changes | |
65b07ddc | 1534 | |
b5c7e122 | 1535 | * infrun.c: Removed the TUI ifdefs and TUI code. Also removed |
65b07ddc DT |
1536 | include for top.h. HP introduced this. I'm taking it out. |
1537 | ||
b5c7e122 SS |
1538 | * inftarg.c (child_detach_from_process): Declare. |
1539 | (child_attach_to_process): Declare. | |
1540 | (child_stop): Make static to match declaration. | |
65b07ddc | 1541 | |
b5c7e122 | 1542 | * inftarg.c (ptrace_him): Change prototype back to return int. |
65b07ddc DT |
1543 | |
1544 | * inftarg.c (ptrace_me): Remove debug output, pass NULL to | |
1545 | fork_inferior if not HPUX. | |
1546 | ||
1547 | * inftarg.c: | |
b5c7e122 SS |
1548 | (child_require_attach): New funct prototype and definition |
1549 | (child_require_detach): New funct prototype and definition | |
1550 | (proc_wait): Funct prototype and definition are enclosed by | |
65b07ddc | 1551 | proc_wait ifndef |
b5c7e122 | 1552 | (child_attach_to_process): New function, does most of the |
65b07ddc DT |
1553 | work that child_attach used to do and some additional |
1554 | work to determine whether gdb is already attached to the | |
1555 | target how to react. | |
b5c7e122 | 1556 | (child_attach): Altered. It's now a wrapper for |
65b07ddc | 1557 | child_attach_to_process. |
b5c7e122 | 1558 | (child_require_attach): New function, called if should attach |
65b07ddc | 1559 | even when gdb is already attached to target. |
b5c7e122 | 1560 | (child_detach_from_process): New function, does most of the |
65b07ddc DT |
1561 | work that child_detach used to do and some additional work |
1562 | to determine whether gdb is currently attached to the target. | |
b5c7e122 | 1563 | (child_detach): Altered. It's now a wrapper for |
65b07ddc | 1564 | child_detach_from_process. |
b5c7e122 | 1565 | (child_require_detach): New function, called if should try to |
65b07ddc | 1566 | detach even when gdb is not attached to target. |
b5c7e122 | 1567 | (ptrace_him): Calls a new function, target_acknowledge_forked_child. |
65b07ddc DT |
1568 | Currently, target_acknowledge_forked_child, is only defined to |
1569 | do something for HPUX. | |
b5c7e122 SS |
1570 | (child_create_inferior): Changed call to fork_inferior. |
1571 | (child_ops): Added to_require_attach and to_require_detach fields | |
65b07ddc DT |
1572 | to the child_ops target ops vector. |
1573 | ||
1574 | * inftarg.c: | |
1575 | Some hacks for ttrace work | |
1576 | (child_wait): Additional local variables, additional code in | |
b5c7e122 | 1577 | while loop to check for: Process exited, process forked, |
65b07ddc DT |
1578 | process vforked, process execd |
1579 | (child_thread_alive): John B. seems to think that the kill | |
1580 | call is inapproapriate for HPUX. | |
b5c7e122 | 1581 | (child_attach_to_process): Using strtol rather than atoi. |
65b07ddc | 1582 | no longer check for case where there is no known exec file. |
b5c7e122 SS |
1583 | (child_post_attach): New function, a default, a no-op |
1584 | (child_insert_fork_catchpoint): New function, a default, a no-op | |
1585 | (child_remove_fork_catchpoint): New function, a default, a no-op | |
1586 | (child_create_catch_fork_hook): Deleted | |
1587 | (child_create_catch_vfork_hook): Deleted | |
1588 | (child_insert_vfork_catchpoint): New function, a default, a no-op | |
1589 | (child_remove_vfork_catchpoint): New function, a default, a no-op | |
65b07ddc DT |
1590 | (child_can_follow_vfork_prior_to_exec ):new function, a default, |
1591 | a no-op | |
b5c7e122 SS |
1592 | (child_insert_exec_catchpoint): New function, a default, a no-op |
1593 | (child_remove_exec_catchpoint): New function, a default, a no-op | |
1594 | (child_has_execd): New function, a default, returns 0 | |
1595 | (child_reported_exec_events_per_exec_call): New function, a | |
65b07ddc | 1596 | default, returns 1 |
b5c7e122 SS |
1597 | (child_has_exited): New function, a default. |
1598 | (child_core_file_to_sym_file): New function, a default, returns NULL. | |
1599 | (child_ops): Initialize new target_ops vector fields to the | |
65b07ddc DT |
1600 | child* functions. |
1601 | * infptrace.c: | |
b5c7e122 | 1602 | (Call_ptrace): For HPUX, handle additional requests: Pt_CONTIN1, |
65b07ddc | 1603 | PT_STEP1. |
b5c7e122 SS |
1604 | (require_notification_of_events): Add several signals to the |
1605 | set of events requiring notification: Ptrace_SIGNAL, | |
65b07ddc DT |
1606 | PTRACE_EXEC, PTRACE_FORK, PTRACE_VFORK |
1607 | (child_acknowledge_created_inferior): This function is only | |
1608 | defined if CHILD_ACKNOWLEDGE_CREATED_INFERIOR is defined. | |
b5c7e122 | 1609 | (child_post_startup_inferior): Function is only defined if |
65b07ddc DT |
1610 | CHILD_POST_STARTUP_INFERIOR is defiend. Also, now call |
1611 | require_notification_of_events. | |
b5c7e122 SS |
1612 | (child_create_catch_fork_hook): Deleted |
1613 | (child_create_catch_vfork_hook): Deleted | |
1614 | (child_insert_fork_catchpoint): New function | |
1615 | (child_remove_fork_catchpoint): New function | |
1616 | (child_insert_vfork_catchpoint): New function | |
1617 | (child_remove_vfork_catchpoint): New function | |
1618 | (child_has_forked): Now enclosed by a CHILD_HAS_FORKED ifdef | |
1619 | (child_has_vforked): Now enclosed by CHILD_HAS_VFORKED ifdef | |
1620 | (child_can_follow_vfork_prior_to_exec): New function | |
1621 | (child_insert_exec_catchpoint): New function | |
1622 | (attach): Removed call to require_notification_of_events | |
1623 | (child_post_attach): New function, call to | |
65b07ddc | 1624 | require_notification_of_events moved here. |
b5c7e122 | 1625 | (child_pid_to_exec_file): New enclosed by CHILD_PID_TO_EXEC_FILE ifdef |
65b07ddc DT |
1626 | introduced the concept of a saved_inferior_pid |
1627 | (hppa_require_attach): Add some code to decide if gdb is already | |
1628 | attached to process. Can not figure this out via a ptrace call. | |
b5c7e122 SS |
1629 | (hppa_insert_hw_watchpoint): New function |
1630 | (hppa_remove_hw_watchpoint): New function | |
65b07ddc DT |
1631 | |
1632 | * inftarg.c: | |
b5c7e122 SS |
1633 | (child_attach_to_process): Change position in file |
1634 | (child_detach_from_process): Change position in file | |
65b07ddc DT |
1635 | |
1636 | * inftarg.c: | |
b5c7e122 | 1637 | (child_attach_to_process): Changed parameter to child_wait call |
65b07ddc DT |
1638 | |
1639 | * inftarg.c: | |
b5c7e122 | 1640 | (child_post_wait): New function declaration and definition |
65b07ddc DT |
1641 | (ptrace_him): |
1642 | - change return value to a void. | |
1643 | - change target_acknowledge_forked_child call to | |
1644 | target_acknowledge_created_inferior | |
1645 | - call target_post_startup_inferior rather than returning pid. | |
b5c7e122 | 1646 | (child_attach_to_process): Change param name, fail_if_already_attached |
65b07ddc DT |
1647 | -> after_fork. |
1648 | Invert a couple of if-then-else statments. | |
1649 | Use REQUIRE_ATTACH macro | |
b5c7e122 SS |
1650 | (child_attach): Change params in child_attach_to_process call |
1651 | (child_require_attach): Change params in child_attach_to_process call | |
1652 | (child_detach_to_process): Change param name, | |
65b07ddc DT |
1653 | fail_if_already_attached -> after_fork. |
1654 | Invert a couple of if-then-else statments. | |
1655 | Use REQUIRE_DETACH macro | |
b5c7e122 SS |
1656 | (child_detach): Change params in child_detach_from_process call |
1657 | (child_require_detach): Change params in child_detach_from_process | |
65b07ddc | 1658 | call |
b5c7e122 SS |
1659 | (child_post_startup_inferior): New function |
1660 | (child_acknowledge_created_inferior): New function | |
1661 | (child_clone_and_follow_inferior): New function | |
1662 | (child_post_follow_inferior_by_clone): New function | |
1663 | (child_create_catch_fork_hook): New function | |
1664 | (child_create_catch_vfork_hook): New function | |
1665 | (child_has_forked): New function | |
1666 | (child_has_vforked): New function | |
1667 | (child_post_follow_vfork): New function | |
1668 | (child_stop): No longer a static function | |
1669 | (child_pid_to_exec_file): New function | |
65b07ddc DT |
1670 | |
1671 | * inftarg.c: | |
b5c7e122 | 1672 | (child_wait): Child_pid becomes related pid. return pid |
65b07ddc DT |
1673 | rather than inferior_pid. Changes are in code handling fork |
1674 | and vfork | |
1675 | ||
1676 | * inftarg.c: | |
1677 | Include gdb_stat.h and sys/unistd.h | |
b5c7e122 | 1678 | (child_wait): New local variables. Check for live threads. |
65b07ddc | 1679 | Check for syscall events |
b5c7e122 SS |
1680 | (child_thread_alive): No longer a static funct. |
1681 | (ptrace_him): Remove some code inserted in snap3 | |
1682 | (child_create_inferior): Added a bunch of code to handle a | |
65b07ddc DT |
1683 | bad interaction between start-up-with-shell and the HP |
1684 | catch-fork/catch-exec logic. I am ifdefing this for | |
1685 | HPUXHPPA for now. | |
b5c7e122 SS |
1686 | (child_has_syscall_event): New default target_ops function |
1687 | (child_enable_exception_callback): New default target_ops function | |
1688 | (child_get_current_exception_event): New default target_ops function | |
1689 | (child_ops): 3 new fields | |
65b07ddc | 1690 | |
b5c7e122 | 1691 | * inftarg.c: Remove HPUX_SNAP1 and HPUX_SNAP2 ifdefs |
65b07ddc | 1692 | |
b5c7e122 | 1693 | * inftarg.c: Reverted previous change. |
65b07ddc | 1694 | |
b5c7e122 | 1695 | * infttrace.c (hppa_remove_hw_watchpoint): Fix check for write |
65b07ddc DT |
1696 | access hardware watchpoint. |
1697 | ||
1698 | * infttrace.c (proc_wait): Rename from proc_wait. | |
1699 | ||
b5c7e122 | 1700 | * infttrace.c (require_notification_of_exec_events): New function; |
65b07ddc DT |
1701 | just notify of exec events, not all events, and just the specified |
1702 | pid, don't include it's children. | |
b5c7e122 | 1703 | (child_acknowledge_created_inferior): Call new function |
65b07ddc DT |
1704 | require_notification_of_exec_events instead of |
1705 | require_notification_of_events. | |
b5c7e122 | 1706 | (child_post_startup_inferior): Call require_notification_of_events |
65b07ddc | 1707 | |
b5c7e122 | 1708 | * infttrace.c: Changed all references to boolean to int. |
65b07ddc DT |
1709 | Changed all references to TRUE and FALSE to 1 and 0. |
1710 | ||
b5c7e122 SS |
1711 | * irix5-nat.c (symbol_add_stub): Add params to call to |
1712 | symbol_file_add. | |
65b07ddc | 1713 | |
b5c7e122 SS |
1714 | * jv-lang.c (get_dynamics_objfile): Add 2 more parameters to call |
1715 | to allocate_objfile. | |
65b07ddc | 1716 | |
b5c7e122 SS |
1717 | * main.c (fputs_unfiltered): Changes to prevent cursor form |
1718 | jumping around in the TUI. Altered where tuiTermUnsetup and | |
1719 | tuiTermSetup are called | |
65b07ddc DT |
1720 | |
1721 | * main.c (fputs_unfiltered): Changed function so that it | |
1722 | checks to see if output is to a string buffer or to a | |
1723 | FILE stream and does the correct action (i.e. strcat or | |
1724 | fputs). Fixed params for fputs call. | |
1725 | ||
1726 | * main.c (fputs_unfiltered): Don't try to call the TUI's | |
1727 | CommandCharCount functions when the TUI isn't enabled. | |
1728 | ||
b5c7e122 | 1729 | * main.c (fputs_unfiltered): Change FILE to GDB_FILE. |
65b07ddc DT |
1730 | |
1731 | * main.c (main): If the user gives the --version or --help flags, | |
1732 | disable the TUI. | |
1733 | ||
b5c7e122 SS |
1734 | * main.c (tui_version, xdb_commands, dbx_commands): New variables. |
1735 | (main): New command line arguments --tui, --xdb, --dbx; add call | |
65b07ddc | 1736 | to tyiCleanUp via tuiDo to main loop. |
b5c7e122 | 1737 | (fputs_unfiltered): Tui related changes. |
65b07ddc | 1738 | |
b5c7e122 SS |
1739 | * main.c: Define 2 new global variables, gdb_stdout and gdb_stderr |
1740 | of type GDB_FILE. | |
65b07ddc DT |
1741 | (main): Allocate space for and initialize gdb_stdout and gdb_stdin. |
1742 | ||
b5c7e122 | 1743 | * objfiles.c (find_pc_sect_section): Make end condition be less |
65b07ddc DT |
1744 | than s->endaddr, not less than or equal to s->endaddr. |
1745 | ||
1746 | * objfiles.c: | |
b5c7e122 | 1747 | (allocate_objfile): 2 new parameters: User_loaded and is_solib. |
65b07ddc DT |
1748 | When appropriate, record in the object file that it is user loaded. |
1749 | The run command can use this information to purge object file | |
1750 | entries associated with the old inferior and keep user loaded | |
1751 | object files loaded via the add-symbol-file command. | |
b5c7e122 | 1752 | (objfile_purge_solibs): New function. deletes all objectfile entries |
65b07ddc DT |
1753 | that are not explicitly loaded by the user. |
1754 | ||
1755 | * objfiles.c: | |
b5c7e122 SS |
1756 | (objfile_relocate): Check for LOC_INDIRECT |
1757 | (find_pc_sect_section): Change condition from | |
65b07ddc DT |
1758 | pc < s->endaddr to pc <= s->endaddr |
1759 | ||
1760 | * objfiles.h: | |
b5c7e122 SS |
1761 | New variables: User_loaded and is_solib |
1762 | (OBJF_SHARED): New macro. used to distinguish objfile for | |
65b07ddc | 1763 | shared library from "vanilla" objfile. |
b5c7e122 SS |
1764 | (allocate_objfile): Add new parameters to function decl. |
1765 | (objfile_purge_solibs): New function decl. | |
65b07ddc | 1766 | |
b5c7e122 SS |
1767 | * objfiles.h: Add some typedefs: Importentry, ExportEntry. |
1768 | Add some new variables: Import_list, import_list_size, | |
65b07ddc DT |
1769 | export_list, export_list_size |
1770 | ||
1771 | * osfsolib.c: | |
b5c7e122 | 1772 | (symbol_add_stub): Added params to call to symbol_file_add |
65b07ddc DT |
1773 | |
1774 | * pa/hpux1020.mh (NATDEPFILES): Add corelow.o, symbol table and | |
1775 | solib files. | |
1776 | ||
1777 | * pa/hpux1100.mh (NAT_FILE): Use nm-hppah11.h. | |
1778 | (NATDEPFILES): Add symbol table and solib files. | |
1779 | ||
1780 | * pa/nm-hppah11.h: New file, HPUX11-only definitions. | |
1781 | ||
1782 | * pa/tm-hppa.h (proc_wait): Remove decl and macro. | |
1783 | ||
b5c7e122 | 1784 | * parse.c (write_dollar_variable): Handle cases in which variables |
65b07ddc | 1785 | besides the debugger ones start with $ and $$. |
b5c7e122 | 1786 | (parse_nested_classes_for_hpacc): New function. Parse a string that |
65b07ddc | 1787 | is possibly a namespace / nested class specification. |
b5c7e122 | 1788 | (find_template_name_end): New function. |
65b07ddc DT |
1789 | |
1790 | * procfs.c: | |
b5c7e122 | 1791 | (procfs_init_inferior): Return value is now a void. |
65b07ddc | 1792 | |
b5c7e122 | 1793 | * procfs.c (procfs_ops): Initializing new target ops vector fields. see list below. |
65b07ddc DT |
1794 | |
1795 | * procfs.c: | |
b5c7e122 | 1796 | (procfs_ops): Adding new target_ops vector fields and |
65b07ddc DT |
1797 | removing a few. see list below |
1798 | ||
b5c7e122 SS |
1799 | * procfs.c: Added new fields to procfs_ops. |
1800 | Necessary since we still have oldstyle initialization in | |
65b07ddc DT |
1801 | this file |
1802 | ||
b5c7e122 SS |
1803 | * pyr-tdep.c (pyr_do_registers_info): Change stdout to gdb_stdout. |
1804 | (frame_locals_address): Change stderr to gdb_stderr. | |
1805 | (frame_args_addr): Ditto. | |
65b07ddc | 1806 | |
b5c7e122 | 1807 | * pyr-xdep.c (fetch_inferior_registers): Change stderr to |
65b07ddc DT |
1808 | gdb_stderr. |
1809 | ||
b5c7e122 | 1810 | * serial.c (serial_close): Call gdb_fclose, not fclose on a |
65b07ddc DT |
1811 | GDB_FILE. |
1812 | ||
b5c7e122 | 1813 | * serial.c (serial_logchar): Change chtype to ch_type. sigh. |
65b07ddc | 1814 | |
b5c7e122 | 1815 | * solib.c (look_for_base): The parameter to file must be |
65b07ddc DT |
1816 | of type FILE *. So cast exec_bfd -> iostream in the call |
1817 | to fileno as a FILE *, not a GDB_FILE *. This will work because | |
1818 | exec_bfd -> iostream is declared and given a value in bdf and | |
1819 | bfd will continue to use FILE rather than GDB_FILE. | |
1820 | ||
1821 | * solib.c: | |
b5c7e122 | 1822 | (solib_add): Remove references to exec_ops. |
65b07ddc DT |
1823 | |
1824 | * solib.c: | |
b5c7e122 | 1825 | (solib_add): Update exec_ops.to_sections |
65b07ddc DT |
1826 | |
1827 | * solib.c: | |
b5c7e122 | 1828 | (symbol_add_stub): Added params to call to symbol_file_add |
65b07ddc DT |
1829 | |
1830 | * solib.h: | |
b5c7e122 | 1831 | (SOLIB_REMOVE_INFERIOR_HOOK): New macro. defined to 0. |
65b07ddc DT |
1832 | functionality not implemented for this target. |
1833 | ||
1834 | * solib.h: Added macro definitions. These macros generate | |
1835 | error messages for solaris?? | |
1836 | (SOLIB_CREATE_CATCH_LOAD_HOOK) | |
1837 | (SOLIB_CREATE_CATCH_UNLOAD_HOOK) | |
1838 | (SOLIB_HAVE_LOAD_EVENT) | |
1839 | (SOLIB_LOADED_LIBRARY_PATHNAME) | |
1840 | (SOLIB_HAVE_UNLOAD_EVENT) | |
1841 | (SOLIB_UNLOADED_LIBRARY_PATHNAME) | |
1842 | (SOLIB_IN_DYNAMIC_LINKER) | |
1843 | (SOLIB_RESTART) | |
1844 | ||
b5c7e122 | 1845 | * somread.c (is_in_import_list): Ditto. |
65b07ddc | 1846 | |
b5c7e122 | 1847 | * somread.c (som_symfile_read): Added some comments |
65b07ddc | 1848 | |
b5c7e122 SS |
1849 | * somread.c (som_symfile_read): Read in import and export lists. |
1850 | (som_symtab_read): Change test for dynamic executable. | |
1851 | (is_in_import_list): New function. Check if a given symbol name | |
65b07ddc | 1852 | is in the import list. |
b5c7e122 | 1853 | (init_import_symbols): New function. Read in and initialize the |
65b07ddc | 1854 | som import list. |
b5c7e122 | 1855 | (init_export_symbols): New function. Read in and initialize the |
65b07ddc DT |
1856 | som export list. |
1857 | ||
1858 | * somread.c: | |
b5c7e122 | 1859 | (som_symfile_read): Fix missing comment delimiters |
65b07ddc | 1860 | |
b5c7e122 | 1861 | * somsolib.c (DLD_FLAGS_MAPPRIVATE): New macro. |
65b07ddc | 1862 | Define bit of __dld_flags in HP-UX a.out files. |
b5c7e122 SS |
1863 | (DLD_FLAGS_HOOKVALID): Ditto. |
1864 | (DLD_FLAGS_LISTVALID): Ditto. | |
1865 | (DLD_FLAGS_BOR_ENABLE): Ditto. | |
1866 | (som_solib_total_st_size): Cumulative size in bytes of the | |
65b07ddc | 1867 | symbol tables of all shared objects on the so_list_head list. |
b5c7e122 | 1868 | (som_solib_st_size_threshhold_exceeded): Threshold for adding symbols |
65b07ddc | 1869 | for shlibs. |
b5c7e122 | 1870 | (som_solib_sizeof_symbol_table): New function. Computes size of |
65b07ddc | 1871 | symbol table for a shlib. |
b5c7e122 SS |
1872 | (som_solib_load_symbols): New function. Load symbols from shlib. |
1873 | (som_solib_add): Detect if __dld_list is not valid. | |
65b07ddc DT |
1874 | Record main program's symbol table size. |
1875 | Load symbols if called from command line. | |
1876 | Keep threshold into account when loading shlib symbols. | |
b5c7e122 SS |
1877 | (som_solib_create_inferior_hook): Use dld_flags macros. |
1878 | (som_sharedlibrary_info_command): Let user know if symbols were | |
65b07ddc | 1879 | not loaded. |
b5c7e122 SS |
1880 | (som_solib_restart): Discard all the shlibs descriptors. |
1881 | (_initialize_som_solib): Chenge help message for auto-solib-add | |
65b07ddc DT |
1882 | command. |
1883 | Set threshold for symbol table to 50 megabytes. | |
1884 | ||
b5c7e122 SS |
1885 | * somsolib.c (_initialize_som_solib): Added call to som_solib_restart. |
1886 | (som_solib_restart): New function | |
1887 | (som_solib_in_dynamic_linker): New function | |
1888 | (som_solib_desire_dynamic_linker_symbols): New function | |
1889 | (som_solib_unloaded_library_pathname): New function | |
1890 | (som_solib_loaded_library_pathname): New function | |
1891 | (som_solib_library_pathname): New function | |
1892 | (som_solib_have_unload_event): New function | |
1893 | (som_solib_have_load_event): New function | |
1894 | (som_solib_create_catch_unload_hook): New function | |
1895 | (som_solib_create_catch_load_hook): New function | |
1896 | (som_solib_create_inferior_hook): Rewritten | |
1897 | dld_cache: New struct | |
1898 | addr_and_unwind_t: New struct | |
65b07ddc DT |
1899 | (find_unwind_entry) added prototype |
1900 | ||
b5c7e122 | 1901 | * somsolib.c (som_solib_create_inferior_hook): Introduce new local |
65b07ddc DT |
1902 | msymbol2 and change some msymbol's to msymbol2's -- was clobbering |
1903 | msymbol, passing a NULL to lookup_minimal_symbol_solib_trampoline, | |
1904 | and ultimately core dumping with a SEGV. | |
1905 | ||
1906 | * somsolib.c: | |
1907 | Include assert.h | |
b5c7e122 | 1908 | (som_solib_mapped_entry): Additional comments for text_addr, |
65b07ddc DT |
1909 | text_link_addr, text_end, and tsd_start_addr fields. Commenting |
1910 | out 2 tsd fields, __data_start and __data_end. | |
b5c7e122 | 1911 | (som_solib_add_solib_objfile): Add params to calls to symbol_file_add. |
65b07ddc DT |
1912 | Add some code for distinguishing between a shared library and other |
1913 | objfiles. This appears to be a prelude to thread local storage. | |
b5c7e122 | 1914 | (som_solib_load_symbols): Changes to printf statement |
65b07ddc | 1915 | enclosed by SOLIB_DEBUG ifdef. |
b5c7e122 | 1916 | (som_solib_add): Change comment to correctly specify path |
65b07ddc DT |
1917 | to end.o -- /opt/langtools/lib/end.o. changes to printf statement |
1918 | enclosed by SOLIB_DEBUG ifdef. | |
1919 | Removed several SOLIB_DEBUG ifdefs and the associated printfs. | |
1920 | Add code to find the start address for the object file's thread | |
1921 | local storage | |
1922 | (som_solib_create_inferior_hook): Fix warning messages use correct | |
1923 | path to end.o -- /opt/langtools/lib/end.o. Change control flow. | |
1924 | No longer user early returns from function is cases of error. | |
b5c7e122 SS |
1925 | (reset_inferior_pid): New function |
1926 | (som_solib_remove_inferior_hook): New function | |
1927 | (so_lib_thread_start_addr): New function. used for tsd. | |
65b07ddc DT |
1928 | |
1929 | * somsolib.c: Removed references to ASSERT macro. | |
1930 | ||
b5c7e122 SS |
1931 | * somsolib.c: Add debugging macro. |
1932 | (struct som_solib_mapped_entry): Add new field tsd_start_addr. | |
1933 | (struct so_list): Added new field solib_addr. | |
1934 | (som_solib_add_solib_objfile): New function. | |
1935 | (som_solib_load_symbols): Rewritten. | |
1936 | (som_solib_add): Make sure we don't load the symbols in if the | |
65b07ddc | 1937 | threshold was exceeded. |
b5c7e122 | 1938 | (som_solib_get_solib_by_pc): New function. Return the address of |
65b07ddc | 1939 | handle of the shared library. |
b5c7e122 SS |
1940 | (som_solib_restart): Disable breakpoints at restart. |
1941 | (_initialize_som_solib): Set threshold to 100 megabytes. | |
65b07ddc | 1942 | |
b5c7e122 | 1943 | * somsolib.c: Add include of fcntl.h so that O_RDONLY is defined. |
65b07ddc | 1944 | |
b5c7e122 SS |
1945 | * somsolib.h (DISABLE_UNSETTABLE_BREAK): New macro. |
1946 | (PC_SOLIB): New macro. | |
65b07ddc DT |
1947 | |
1948 | * somsolib.h: | |
b5c7e122 SS |
1949 | (SOLIB_CREATE_CATCH_LOAD_HOOK): Define |
1950 | (SOLIB_CREATE_CATCH_UNLOAD_HOOK): Define | |
1951 | (SOLIB_HAVE_LOAD_EVENT): Define | |
1952 | (SOLIB_LOADED_LIBRARY_PATHNAME): Define | |
1953 | (SOLIB_HAVE_UNLOAD_EVENT): Define | |
1954 | (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define | |
1955 | (SOLIB_IN_DYNAMIC_LINKER): Define | |
1956 | (SOLIB_RESTART): Define | |
65b07ddc DT |
1957 | |
1958 | * somsolib.h: | |
b5c7e122 | 1959 | (SOLIB_REMOVE_INFERIOR_HOOK): New macro. defined to use |
65b07ddc DT |
1960 | som_solib_remove_inferior_hook. |
1961 | ||
1962 | * somsolib.h: | |
1963 | (som_solib_create_catch_load_hook) | |
1964 | (som_solib_create_catch_unload_hook) | |
1965 | (som_solib_have_load_event) | |
1966 | (som_solib_loaded_library_pathname) | |
1967 | (som_solib_have_unload_event) | |
1968 | (som_solib_unloaded_library_pathname) | |
1969 | (som_solib_in_dynamic_linker) | |
1970 | Fix prototypes to use type names, not parameter names. | |
1971 | ||
b5c7e122 SS |
1972 | * source.c (find_source_lines): Make non static. |
1973 | (open_source_file): Ditto. | |
1974 | (source_full_path_of): New function. | |
1975 | (print_source_lines): Rename to print_source_lines_base and make | |
65b07ddc | 1976 | static; formatting. |
b5c7e122 SS |
1977 | (print_source_lines): New function. |
1978 | (forward_search_command): Tui changes. | |
1979 | (reverse_search_command): Tui changes. | |
1980 | (_initialize_source): Add xdb and dbx compatibility commands. | |
65b07ddc | 1981 | |
b5c7e122 | 1982 | * source.c (list_command): Handle case of odd number of source |
65b07ddc DT |
1983 | lines to display. |
1984 | ||
1985 | * source.c: | |
b5c7e122 | 1986 | (source_full_path_of): New function. file was overlooked |
65b07ddc DT |
1987 | in merge ;-/. |
1988 | ||
b5c7e122 | 1989 | * stack.c (func_command): Make high bound be <, not <=. |
65b07ddc | 1990 | |
b5c7e122 | 1991 | * stack.c (_initialize_stack): For the backtrace command, delete |
65b07ddc DT |
1992 | the help line about usage, since this has to be a valid help |
1993 | message for the 'where' command too. | |
1994 | ||
b5c7e122 | 1995 | * stack.c (current_frame_command): Add a check for the |
65b07ddc DT |
1996 | existance of a stack. If there is no stack produce an |
1997 | error message and exit. | |
1998 | ||
1999 | * stack.c (down_silently_base, up_silently_base, | |
2000 | args_plus_locals_info, print_frame_info_base, | |
b5c7e122 SS |
2001 | print_stack_frame_base, print_stack_frame_base_stub): Declare. |
2002 | (print_frame_local_vars): Add'l parameter. | |
2003 | (print_stack_frame_stub): New version created, old version renamed | |
65b07ddc DT |
2004 | to show_and_print_stack_frame_base_stub. |
2005 | (print_stack_frame_base_stub, print_only_stack_frame_stub, | |
2006 | show_and_print_stack_frame, print_only_stack_frame, | |
2007 | stack_publish_stopped_with_no_frame, print_frame_info, | |
2008 | show_stack_frame, backtrace_full_command, args_plus_locals_info, | |
2009 | select_and_print_frame, select_and_maybe_print_frame, | |
b5c7e122 SS |
2010 | current_frame_command, func_command): New functions. |
2011 | (backtrace_command): New function, old renamed to | |
65b07ddc | 2012 | backtrace_command_1. |
b5c7e122 | 2013 | (print_block_frame_locals, print_frame_local_vars): Additional |
65b07ddc | 2014 | parameter, number of tabs. |
b5c7e122 | 2015 | (up_silently_command): New function, old renamed to |
65b07ddc | 2016 | up_silently_command_base. |
b5c7e122 | 2017 | (down_silently_command): New function, old renamed to |
65b07ddc | 2018 | down_silently_base. |
b5c7e122 | 2019 | (_initialize_stack): Register new commands based on values of |
65b07ddc DT |
2020 | xdb_commands and dbx_commands variables. |
2021 | ||
b5c7e122 | 2022 | * stack.c (func_command): Make high bound be <, not <=. |
65b07ddc | 2023 | |
b5c7e122 | 2024 | * stack.c (parse_frame_specification): Fix prototype to match |
65b07ddc | 2025 | function definition. |
b5c7e122 SS |
2026 | (show_and_print_stack_frame_stub): Fix name. |
2027 | (select_and_print_frame): Change uncaught tuiDO call. | |
65b07ddc | 2028 | |
b5c7e122 | 2029 | * stack.c (up_silent_base): Rename from up_silently_command_base. |
65b07ddc | 2030 | |
b5c7e122 | 2031 | * symfile.c (symbol_file_command): Only call SOLIB_RESTART if it's |
65b07ddc DT |
2032 | defined. |
2033 | ||
b5c7e122 | 2034 | * symfile.c (add_psymbol_with_dem_name_to_list): New function. |
65b07ddc DT |
2035 | Adds a symbol with a long value to a psymtab. Differs from |
2036 | add_psymbol_to_list in taking both a mangled and a demangled name. | |
2037 | ||
b5c7e122 | 2038 | * symfile.c (compare_psymbols): Call strcmp directly, instead of |
65b07ddc DT |
2039 | using macro. |
2040 | ||
b5c7e122 SS |
2041 | * symfile.c (symbol_file_add): Reindent portions. |
2042 | (symbol_file_command): Add call to tuiDo. | |
65b07ddc | 2043 | |
b5c7e122 | 2044 | * symfile.c (symbol_file_command): Only call SOLIB_RESTART if it's |
65b07ddc DT |
2045 | defined. |
2046 | ||
b5c7e122 | 2047 | * symfile.c (symfile_bfd_open): Add code to call PXDB on hpux, if |
65b07ddc DT |
2048 | the file has not already been processed by pxdb. |
2049 | Added define USE_PXDB. | |
2050 | ||
b5c7e122 | 2051 | * symfile.c (symfile_bfd_open): Change parenthesis positioning |
65b07ddc DT |
2052 | around call to hpread_pxdb_check. |
2053 | ||
b5c7e122 SS |
2054 | * symfile.c (symfile_bfd_open): Make not static. |
2055 | (RESET_HP_UX_GLOBALS): New macro. Resets globals when new symbol | |
65b07ddc | 2056 | file loaded. |
b5c7e122 SS |
2057 | (USE_PXDB): Not needed. Removed. |
2058 | (symbol_file_add): Add HP specific code to deal with pxdb. | |
2059 | (symbol_file_command): Reset HP specific globals if new symbol file | |
65b07ddc | 2060 | loaded. |
b5c7e122 SS |
2061 | (symfile_bfd_open): Comment out checking for pxdb. |
2062 | (reread_symbols): Reset HP specific globals. | |
65b07ddc | 2063 | |
b5c7e122 | 2064 | * symfile.c (symfile_bfd_open): Uncomment hpus specific code. |
65b07ddc DT |
2065 | |
2066 | * symfile.c: | |
b5c7e122 | 2067 | (symbol_file_add): Add user_loaded and is_solib parameters. |
65b07ddc | 2068 | fixed number of parameters in call to allocate_objfile |
b5c7e122 | 2069 | (symbol_file_command): Added call to SOLIB_RESTART macro. |
65b07ddc | 2070 | fixed number of parameters in calls to symbol_file_add. |
b5c7e122 | 2071 | (add_symbol_file_command): Fixed number of parameters in calls to |
65b07ddc DT |
2072 | symbol_file_add. |
2073 | ||
b5c7e122 | 2074 | * symfile.c: Added prototype for hpread_pxdb_check. |
65b07ddc | 2075 | |
b5c7e122 | 2076 | * symfile.c: Changed HPUX_SNAP1 ifdef to HPUXHPPA. enclosed calls to |
65b07ddc DT |
2077 | RESET_HP_UX_GLOBALS with an HPUXHPPA ifdef |
2078 | ||
b5c7e122 | 2079 | * symfile.h (symfile_bfd_open): Add protptype. |
65b07ddc | 2080 | |
b5c7e122 | 2081 | * symfile.h: Add prototype for add_psymbol_with_dem_name_to_list. |
65b07ddc | 2082 | |
b5c7e122 | 2083 | * symfile.h: Clarify purpose of auto_solib_add. |
65b07ddc | 2084 | |
b5c7e122 | 2085 | * symmisc.c (maintenance_print_symbols): Call gdb_fclose, not |
65b07ddc | 2086 | fclose on a GDB_FILE* during cleanup. |
b5c7e122 | 2087 | (maintenance_print_psymbols): Call gdb_fclose, not fclose on a |
65b07ddc | 2088 | GDB_FILE* during cleanup. |
b5c7e122 | 2089 | (maintenance_print_msymbols): Call gdb_fclose, not fclose on a |
65b07ddc DT |
2090 | GDB_FILE* during cleanup. |
2091 | ||
b5c7e122 | 2092 | * symmisc.c (maintenance_print_symbols): Gdb_fclose now takes a |
65b07ddc DT |
2093 | GDB_FILE ** parameter. Fix the local GDB_FILE variables and the |
2094 | call to make_cleanup. | |
b5c7e122 SS |
2095 | (maintenance_print_psymbols): Ditto |
2096 | (maintenance_print_msymbols): Ditto | |
65b07ddc | 2097 | |
b5c7e122 | 2098 | * symmisc.c (print_objfile_statistics): Close quotes in |
65b07ddc DT |
2099 | output strings. |
2100 | ||
2101 | * symmisc.c: | |
b5c7e122 | 2102 | (Print_symbol): Add LOC_INDIRECT to switch statement |
65b07ddc DT |
2103 | (print_partial_symbols): Add LOC_INDIRECT to switch statement |
2104 | ||
b5c7e122 SS |
2105 | * symtab.c (find_pc_sect_psymtab): High bounds should be <, not <=. |
2106 | (find_pc_sect_symtab): Ditto. | |
65b07ddc | 2107 | |
b5c7e122 | 2108 | * symtab.c (hp_som_som_object_present): New flag to indicate HP |
65b07ddc | 2109 | compiled code. |
b5c7e122 | 2110 | (find_pc_sect_psymtab): Change tests to make sure we are checking |
65b07ddc | 2111 | the texthigh adress as well. |
b5c7e122 | 2112 | (lookup_transparent_type): New function. Look up a type name |
65b07ddc | 2113 | in the struct_namespace. The type returned must not be opaque. |
b5c7e122 | 2114 | (find_pc_sect_symtab): Make sure we check the address 'pc' itself, |
65b07ddc | 2115 | too. |
b5c7e122 | 2116 | (find_addr_symbol): Prepare to handle LOC_INDIRECT address class, but |
65b07ddc | 2117 | leave it commented out. |
b5c7e122 | 2118 | (find_pc_sect_line): Return correct information if pc is in import |
65b07ddc | 2119 | or export stub (trampoline). |
b5c7e122 | 2120 | (decode_line_1): Skip two chars, if they are '$$'. Like for HP's |
65b07ddc DT |
2121 | $$dyncall. Handle cases in which varaible and function names can start |
2122 | with $. | |
b5c7e122 | 2123 | (overload_list_add_symbol): If cannot demangle name, use it as is. |
65b07ddc | 2124 | Free string after use. |
b5c7e122 | 2125 | (make_symbol_overload_list): Initialize oload_name to NULL and |
65b07ddc DT |
2126 | oload_name_len to 0. If demangle not successful, use name as it is. |
2127 | Free string after use. | |
2128 | ||
2129 | * symtab.c (lookup_symbol): Changed call to find_pc_sect_symtab, | |
2130 | to the original find_pc_symtab, in HP added fragment. | |
2131 | ||
b5c7e122 | 2132 | * symtab.c (lookup_symbol): Change HPUX_SNAP1 ifdef to a HPUXHPPA ifdef |
65b07ddc | 2133 | |
b5c7e122 | 2134 | * symtab.c (lookup_symbol): Ifdef the searching of symbol in the |
65b07ddc DT |
2135 | minimal symbol tables, for hpux we move this check at the end |
2136 | of the function. | |
b5c7e122 | 2137 | Before we error out if symbol is not found in the symtab, look |
65b07ddc DT |
2138 | in the statics. |
2139 | Before erroring out if static symbol not found look in the globals. | |
2140 | ||
b5c7e122 SS |
2141 | * symtab.c (lookup_symbol): Return symbol as soon as found. |
2142 | (decode_line_1): Check whether we have a conditional break. Temporarily | |
65b07ddc DT |
2143 | remove it from the line, to not confure perenthesis checking. |
2144 | Handle namespaces. | |
b5c7e122 | 2145 | (overload_list_add_symbol): New function. Overload |
65b07ddc | 2146 | resolution support. |
b5c7e122 | 2147 | (make_symbol_overload_list): Ditto. |
65b07ddc DT |
2148 | |
2149 | * symtab.c: | |
b5c7e122 SS |
2150 | (find_template_name_end): New prototype decl. |
2151 | (lookup_symbol): When a global or static symbol shows up in the | |
65b07ddc | 2152 | psymtab table, but not the symtab table, tell the user that |
b5c7e122 | 2153 | the symbol may be an inlined function or a template function and |
65b07ddc DT |
2154 | provide some guidance to the user about how to more fully |
2155 | specify the symbol. | |
b5c7e122 | 2156 | (lookup_transparent_type): When a global or static symbol shows up |
65b07ddc | 2157 | in the psymtab table, but not the symtab table, tell the user that |
b5c7e122 | 2158 | the symbol may be an inlined function or a template function and |
65b07ddc DT |
2159 | provide some guidance to the user about how to more fully |
2160 | specify the symbol. | |
b5c7e122 | 2161 | (decode_line_1): Handle template function specification when decoding a |
65b07ddc | 2162 | line. May need to be ifdefed for HP's aCC? |
b5c7e122 | 2163 | (_initialize_symtab): Handle dbx commands. |
65b07ddc | 2164 | |
b5c7e122 | 2165 | * symtab.h (address_class): Add new address calss for |
65b07ddc | 2166 | LOC_THREAD_LOCAL_STATIC and LOC_INDIRECT. |
b5c7e122 SS |
2167 | (lookup_transparent_type): Add prototype. |
2168 | (exception_event_kind): New enum for exception catchpoints. | |
2169 | (exception_event_record): New structure for exception catchpoints. | |
2170 | (CURRENT_EXCEPTION_KIND): New macro. | |
2171 | (CURRENT_EXCEPTION_CATCH_SAL): New macro. | |
2172 | (CURRENT_EXCEPTION_CATCH_LINE): New macro. | |
2173 | (CURRENT_EXCEPTION_CATCH_FILE): New macro. | |
2174 | (CURRENT_EXCEPTION_CATCH_PC): New macro. | |
2175 | (CURRENT_EXCEPTION_THROW_SAL): New macro. | |
2176 | (CURRENT_EXCEPTION_THROW_LINE): New macro. | |
65b07ddc | 2177 | (CURRENT_EXCEPTION_THROW_FILE) new macro.: |
b5c7e122 | 2178 | (Current_EXCEPTION_THROW_PC): New macro. |
65b07ddc | 2179 | |
b5c7e122 | 2180 | * symtab.h(make_symbol_overload_list): Add prototype. |
65b07ddc DT |
2181 | |
2182 | * symtab.h: | |
b5c7e122 | 2183 | (symbol_file_add): Add new params to function decl. |
65b07ddc | 2184 | |
b5c7e122 | 2185 | * target.c (cleanup_target): Changed casting of default functions for |
65b07ddc DT |
2186 | to_has_forked, to_has_vforked, to_pid_to_exec_file to get rid of |
2187 | warnings. | |
2188 | ||
b5c7e122 | 2189 | * target.c (cleanup_target): Changed the default functions for |
65b07ddc DT |
2190 | to_pid_to_exec_file and to_core_file_to_sym_file |
2191 | ||
b5c7e122 SS |
2192 | * target.c (cleanup_target): Fixed PARAMS for to_has_syscall_event |
2193 | ||
2194 | * target.c (cleanup_target): Syntax error, mismatched paranthesis. | |
65b07ddc DT |
2195 | |
2196 | * target.c: | |
b5c7e122 | 2197 | (Default_clone_and_follow_inferior): New funct prototype declaration |
65b07ddc | 2198 | and function definition |
b5c7e122 | 2199 | (dummy_target): More target_ops vector changes for HPUX |
65b07ddc DT |
2200 | new fields. ifdefed for HPUX_SNAP2. New fields are |
2201 | to_post_wait, to_post_startup_inferior | |
2202 | to_acknowledge_created_inferior, to_clone_and_follow_inferior, | |
2203 | to_post_follow_inferior_by_clone, to_create_catch_fork_hook, | |
2204 | to_create_catch_vfork_hook, to_has_forked, to_has_vforked, | |
2205 | to_post_follow_vfork, to_pid_to_exec_file | |
b5c7e122 | 2206 | (de_fault): Add new HPUX specific target_ops operations to |
65b07ddc | 2207 | the de_fault macro |
b5c7e122 | 2208 | (INHERIT): Add new HPUX specific target_ops operations to the |
65b07ddc | 2209 | INHERIT macro |
b5c7e122 SS |
2210 | (find_default_clone_and_follow_inferior): New funct definition |
2211 | (debug_to_post_wait): New funct | |
2212 | (debug_to_post_startup_inferior): New funct | |
2213 | (debug_to_acknowledge_created_inferior): New funct | |
2214 | (debug_to_clone_and_follow_inferior): New funct | |
2215 | (debug_to_post_follow_inferior_by_clone): New funct | |
2216 | (debug_to_create_catch_fork_hook): New funct | |
2217 | (debug_to_create_catch_vfork_hook): New funct | |
2218 | (debug_to_has_forked): New funct | |
2219 | (debug_to_has_vforked): New funct | |
2220 | (debug_to_post_follow_vfork): New funct | |
2221 | (setup_target_debug): Initialize new target_ops vector fields. | |
65b07ddc DT |
2222 | |
2223 | * target.c: | |
b5c7e122 | 2224 | (Cleanup_target): Fixed the return type on a few of the |
65b07ddc DT |
2225 | default function values. |
2226 | ||
2227 | * target.c: | |
b5c7e122 SS |
2228 | (Dummy_target): Add 3 new fields |
2229 | (nosupport_runtime): New function, used in cleanup_target | |
2230 | (cleanup_target): Changes in the de_fault macro, both to | |
65b07ddc DT |
2231 | accomodate the new target_ops vector fields and to use |
2232 | more accurate default functions. | |
2233 | (update_current_target): Add new target_ops vector fields to the | |
2234 | INHERIT macro | |
b5c7e122 | 2235 | (generic_mourn_inferior): The call to breakpoint_init_inferior now takes a |
65b07ddc DT |
2236 | parameter |
2237 | (normal_pid_to_str): Adding a \0 to the end of buf. | |
b5c7e122 SS |
2238 | (debug_to_has_syscall_event): New func |
2239 | (debug_to_enable_exception_callback): New func | |
2240 | (debug_to_get_current_exception_event): New func | |
2241 | (setup_target_debug): Initialize the 3 new target_ops vector fields | |
65b07ddc DT |
2242 | |
2243 | * target.c: | |
b5c7e122 | 2244 | (Struct signals): Fix message associated with SIGRETRACT. |
65b07ddc DT |
2245 | |
2246 | * target.c: | |
b5c7e122 SS |
2247 | (Dummy_target): Fix syntax error |
2248 | (cleanup_target): Changed the default values for the new | |
65b07ddc DT |
2249 | target_ops vector fields. HP folks inappropriately set |
2250 | most of them to noprocess(). They should be a mixture | |
2251 | of ignore() and return_zero(). | |
2252 | ||
2253 | * target.c: | |
b5c7e122 | 2254 | (Dummy_target): Add new target_ops vector fields and their initializations |
65b07ddc DT |
2255 | (cleanup_target): Added new new target_ops vector fields to the de_fault |
2256 | macro definition. | |
2257 | (update_current_target): Added new new target_ops vector fields to the INHERIT | |
2258 | macro definition | |
b5c7e122 SS |
2259 | (return_one): New function, used by the de_fault macro |
2260 | (debug_to_post_attach): New function | |
2261 | (debug_to_wait): Added new cases: Target_WAITKIND_FORKED, TARGET_WAITKIND_VFORKED, | |
65b07ddc | 2262 | TARGET_WAITKIND_EXECD |
b5c7e122 SS |
2263 | (debug_to_insert_fork_catchpoint): New function |
2264 | (debug_to_remove_fork_catchpoint): New function | |
2265 | (debug_to_insert_vfork_catchpoint): New function | |
2266 | (debug_to_remove_vfork_catchpoint): New function | |
2267 | (debug_to_can_follow_vfork_prior_to_exec): New function | |
2268 | (debug_to_insert_exec_catchpoint): New function | |
2269 | (debug_to_remove_exec_catchpoint): New function | |
2270 | (debug_to_core_file_to_sym_file): New function | |
2271 | (setup_target_debug): Give new fields in current_target target_ops vector values. | |
2272 | ||
2273 | * target.c: Hp merge, 4/15/98 snapshot | |
65b07ddc DT |
2274 | There are new target_ops fields that pertain only |
2275 | to HPUX. All the changes relate to this. Fist, | |
2276 | new fields are added to the dummy_target target_ops | |
b5c7e122 | 2277 | vector: To_require_attach, to_require_detach. |
65b07ddc | 2278 | |
b5c7e122 | 2279 | * target.c: Remove HPUX_SNAP1 and HPUX_SNAP2 ifdefs |
65b07ddc | 2280 | |
b5c7e122 | 2281 | * thread.c (info_threads_command): Call print_only_stack_frame |
65b07ddc | 2282 | instead of print_stack_frame. |
b5c7e122 | 2283 | (_initialize_thread): Make t an alias for thread only if |
65b07ddc DT |
2284 | xdb_commands is not set. |
2285 | ||
b5c7e122 | 2286 | * thread.c (thread_command): If no arguments, don't generate an |
65b07ddc | 2287 | error, instead tell the user which thread is current. |
b5c7e122 | 2288 | (info_threads_commands): Don't lose the users position within the |
65b07ddc DT |
2289 | current thread -- remember it and then restore it. |
2290 | ||
2291 | * thread.c: | |
b5c7e122 SS |
2292 | (struct thread_info): Add stepping_through_sigtramp field |
2293 | (add_thread): Initialize stepping_through_sigtramp field | |
2294 | (load_infrun_state): Add stepping_through_sigtramp param and | |
65b07ddc | 2295 | make sure it gets assigned a value. |
b5c7e122 | 2296 | (save_infrun_state): Add stepping_through_sigtramp param and |
65b07ddc | 2297 | make sure that the value gets saved. |
b5c7e122 | 2298 | (info_threads_command): Ifdefing some local variables and |
65b07ddc DT |
2299 | code for HPUXHPPA. HP folks want print the tid rather than pid? |
2300 | Also, looks like the HP folks solved the same thread switching | |
2301 | problem that 4.17 solves. Taking 4.17. | |
b5c7e122 | 2302 | (restore_current_thread): Print out the current frame after |
65b07ddc | 2303 | switching threads. |
b5c7e122 | 2304 | (thread_apply_all_command): Ifdefing a print statement for |
65b07ddc | 2305 | HPUXHPPA. The HP folks want to print out a tid rather than pid? |
b5c7e122 | 2306 | (thread_apply_command): Ifdefing a print statement for |
65b07ddc | 2307 | HPUXHPPA. The HP folks want to print out a tid rather than pid? |
b5c7e122 | 2308 | (thread_command): Decided not to take HP change. |
65b07ddc DT |
2309 | |
2310 | * thread.c: Fixing gdb core dump problem causing many testsuite | |
2311 | failures. | |
b5c7e122 | 2312 | (add_thread): Remove call to bpstat_clear, initialize |
65b07ddc DT |
2313 | tp->stepping_through_solib_catchpoints = NULL; |
2314 | ||
b5c7e122 SS |
2315 | * thread.c: Changes for catchpoints, shared libaries, |
2316 | (thread_info): Additional fields in the thread_info struct | |
65b07ddc DT |
2317 | for stepping_through_solib_after_catch and |
2318 | stepping_through_solib_catchpoints. | |
b5c7e122 SS |
2319 | (add_thread): Initialize the new thread_info fields. |
2320 | (load_infrun_state): Additional parameters for handling | |
65b07ddc | 2321 | catchpoints and shared libraries. |
b5c7e122 | 2322 | (save_infrun_state): Additional parameters for handling |
65b07ddc DT |
2323 | catchpoints and shared libraries. |
2324 | ||
b5c7e122 SS |
2325 | * top.c (command_loop): Initialize space_at_cmd_start to 0. |
2326 | (set_prompt): New function. | |
2327 | (togglelist, stoplist): New command lists. | |
2328 | (command_loop): Tui changes -- paranoia to make sure | |
65b07ddc | 2329 | insert mode is off when not editing. |
b5c7e122 SS |
2330 | (quit_force): Clean up tui on exit. |
2331 | (init_main): Make definition of info status command dependent upon | |
65b07ddc | 2332 | dbx mode not being set. |
b5c7e122 | 2333 | (fputs_unfiltered_hook): Changed stream parameter from FILE |
65b07ddc | 2334 | to GDB_FILE |
b5c7e122 | 2335 | (flush_hook): Changed stream parameter from FILE to GDB_FILE |
65b07ddc | 2336 | |
b5c7e122 | 2337 | * top.h (set_prompt): Declare. |
65b07ddc | 2338 | |
b5c7e122 | 2339 | * typeprint.c (whatis_exp): Decide real runtime type. For the vtable |
65b07ddc DT |
2340 | case. |
2341 | ||
b5c7e122 | 2342 | * utils.c (query): Changes to prevent cursor from jumping around in the |
65b07ddc DT |
2343 | TUI. Call tuiBufferGetc explicitly, rather than passing it |
2344 | into tuiDo. The tuiDo function does some additional work | |
2345 | that is inappropriate when handling queries. | |
b5c7e122 | 2346 | (GDB_FILE_ISATTY): New macro that takes a GDB_FILE param and |
65b07ddc DT |
2347 | determines whether or not it's using a tty. |
2348 | (gdb_file_isatty); called by the GDB_FILE_ISATTY macro. Does | |
2349 | the actual work | |
2350 | (init_page_info): Call GDB_FILE_ISATTY rather than ISATTY | |
b5c7e122 | 2351 | (print_spaces): Fix parameter to fputc. fix call to |
65b07ddc | 2352 | gdb_file_adjust_strbuf. |
b5c7e122 SS |
2353 | (gdb_file_init_astring): Fix parameter to xmalloc |
2354 | (gdb_file_deallocate): New function to deallocate | |
65b07ddc | 2355 | a GDB_FILE object and possibly a string buffer |
b5c7e122 SS |
2356 | (gdb_file_init_astring): Initialize buffer as the empty |
2357 | string. Indent GNU style. | |
2358 | (gdb_fopen): Gdb_fopen is called if the GDB_FILE object is | |
65b07ddc DT |
2359 | actually afile rather than astring. The routine now allocates space |
2360 | for a GDB_FILE object and initializes its fields in addition to | |
b5c7e122 SS |
2361 | performing an fopen. |
2362 | (gdb_flush): Fix the parameter passed into fflush. It's now | |
2363 | stream->ts_filestream. | |
2364 | (gdb_fclose): Pass in an object of type GDB_FILE **. Fix parameter | |
2365 | to fclose. It's now tmpstream->ts_filestream. Make sure to free | |
2366 | the GDB_FILE object and set the GDB_FILE * object to NULL. | |
2367 | (gdb_adjust_strbuf): New function. Determine if the current | |
2368 | ts_strbuf field contains sufficient space to concatenate a string | |
2369 | of length n on the end. If not, then reallocate the ts_strbuf. | |
2370 | (print_spaces): Check to see if the GDB_FILE is afile or | |
2371 | astring. If it is astring, then adjust the size of the ts_strbuf | |
2372 | field and concatenate the correct number of spaces onto the end of | |
2373 | the buffer. Otherwise continue to use fputc. | |
2374 | (gdb_file_get_strbuf): New function. return a ptr to the ts_strbuf | |
2375 | field in a GDB_FILE object. | |
2376 | (gdb_file_init_astring): New function to allocate space for and | |
2377 | initialize a GDB_FILE object when it is an astring. | |
2378 | (set_width): Declare it. | |
2379 | (pagination_enabled): Define it. | |
2380 | (query): Tui changes. | |
2381 | (init_page_info, set_width): New functions. | |
2382 | (set_width_command): Call set_width. | |
2383 | (_initialize_utils): Replace termcap stuff with call to | |
65b07ddc DT |
2384 | init_page_info; if xdb_commands set, define am and sm commands; |
2385 | define pagination as a set/show command. | |
b5c7e122 SS |
2386 | (vfprintf_maybe_filtered): Change FILE to GDB_FILE. |
2387 | (fputs_maybe_filtered): Ditto. | |
2388 | (print_spaces): Ditto. | |
2389 | (gdb_printchar): Ditto. | |
2390 | (gdb_flush): Ditto. | |
2391 | (fputs_filtered): Ditto. | |
2392 | (vfprintf_filtered): Ditto. | |
2393 | (vfprintf_unfiltered): Ditto. | |
2394 | (fprintf_filtered): Ditto. | |
2395 | (fprintf_unfiltered): Ditto. | |
2396 | (fprintfi_filtered): Ditto. | |
2397 | (print_spaces_filtered): Ditto. | |
2398 | (fprintf_symbol_filtered): Ditto. | |
2399 | (gdb_fclose): New function. | |
2400 | ||
2401 | * valops.c (call_function_by_hand): Assign to param_type only | |
65b07ddc DT |
2402 | if function has parameters. |
2403 | ||
b5c7e122 | 2404 | * valops.c (call_function_by_hand): Ifdef the |
65b07ddc | 2405 | HP_COMPILED_TARGET stuff. |
b5c7e122 | 2406 | (value_arg_coerce): Ditto. |
65b07ddc | 2407 | |
b5c7e122 | 2408 | * valops.c (call_function_by_hand): Make sure param_type is |
65b07ddc DT |
2409 | initialized to NULL. |
2410 | ||
b5c7e122 SS |
2411 | * valops.c (find_rt_vbase_offset): Add parameter to value_at. |
2412 | (value_rtti_type): Ditto. | |
2413 | (value_full_object): Ditto. | |
65b07ddc | 2414 | |
b5c7e122 | 2415 | * valops.c (search_struct_field_aux): Fixed mismatching parenths |
65b07ddc | 2416 | |
b5c7e122 | 2417 | * valops.c (search_struct_field_aux): Make sure TYPE_TAG_NAME |
65b07ddc DT |
2418 | is not null before copying it. |
2419 | ||
2420 | ||
b5c7e122 | 2421 | * valops.c (search_struct_field_aux): Set found_class_name to null |
65b07ddc DT |
2422 | if class has no name (anon unions case). Adjust base_addr |
2423 | computation. | |
2424 | ||
b5c7e122 | 2425 | * valops.c (value_arg_coerce): Change final arg to int. |
65b07ddc | 2426 | |
b5c7e122 | 2427 | * valops.c (value_arg_coerce): Remove the conditional on HP |
65b07ddc DT |
2428 | compiled target, for doing coercion of float to double. Removed |
2429 | third parameter, using_gcc. | |
b5c7e122 | 2430 | (call_function_by_hand): Do not use HP_COMPILED_TARGET, just |
65b07ddc DT |
2431 | use the gcc_compiled variable. |
2432 | ||
b5c7e122 | 2433 | * valops.c (value_cast): Take case of the enclosing_type and |
65b07ddc | 2434 | pointer_to_offset fields. |
b5c7e122 SS |
2435 | (value_at): Use VALUE_CONTENTS_ALL_RAW |
2436 | (value_fetch_lazy): Ditto | |
2437 | (value_assign): Handle enclosing_type, embedded_offset and | |
65b07ddc | 2438 | pointed_to_offset fields. |
b5c7e122 SS |
2439 | (value_repeat): Use VALUE_CONTENTS_ALL_RAW and VALUE_ENCLOSING_TYPE. |
2440 | (value_ind): Set enclosing_type and embedded_offset correctly, | |
65b07ddc DT |
2441 | for a pointer value being dereferenced. Target memory bytes |
2442 | corresponding to the size of the enclosing type are retreived. | |
b5c7e122 SS |
2443 | (value_addr): Handle enclosing_type and pointed_to_offset. |
2444 | (value_push): Use VALUE_CONTENTS_ALL and VALUE_ENCLOSING_TYPE. | |
2445 | (value_arg_coerce): Coerce floats to doubles only if gcc was not | |
65b07ddc | 2446 | used to compile the target. |
b5c7e122 SS |
2447 | (call_function_by_hand): Handle pointers to functions as paramters. |
2448 | (value_array): Use VALUE_CONTENTS_ALL and VALUE_ENCLOSING_TYPE. | |
2449 | (search_struct_method): Produce more informative error message. | |
2450 | (find_rt_vbase_offset): Deal with negative offsets. | |
2451 | (value_find_oload_method_list): New function. Return the list of | |
65b07ddc | 2452 | overloaded methods of a specified name. |
b5c7e122 | 2453 | (find_method_list): New function. Search through the methods of an |
65b07ddc | 2454 | object (and its bases) to find a specified method. |
b5c7e122 | 2455 | (value_full_object): New function. Given a value, check its real |
65b07ddc | 2456 | run-time type. |
b5c7e122 | 2457 | (value_rtti_target_type): New function. Given a pointer value V, find |
65b07ddc | 2458 | the real (RTTI) type of the object it points to. |
b5c7e122 | 2459 | (value_rtti_type): New function. Find the real run-time type of a |
65b07ddc DT |
2460 | value using RTTI. |
2461 | ||
b5c7e122 | 2462 | * valops.c: Include gdbcmd.h |
65b07ddc | 2463 | Set global overload_resolution to 0. |
b5c7e122 SS |
2464 | (find_function_in_inferior): Modify error message. |
2465 | (value_allocate_space_in_inferior): Modify error message. | |
2466 | (value_cast): Deal with HP/aCC peculiarities. | |
2467 | (value_of_variable): Use SYMBOL_SOURCE_NAME instead of SYMBOL_NAME. | |
2468 | (value_addr): Modify address value by adding the embedded offset. | |
2469 | (value_ind): Modify the address of the object by the pointed_to_offset. | |
2470 | (call_function_by_hand): Do not do any extra alignment if not needed. | |
65b07ddc DT |
2471 | Fetch the return value from the stack rather then from the register, |
2472 | for the hppa architecture. | |
b5c7e122 | 2473 | (search_struct_field): Rewritten. Now this function uses |
65b07ddc | 2474 | search_struct_field_aux to do all the work. |
b5c7e122 | 2475 | (search_struct_field_aux): New function. This is the old |
65b07ddc | 2476 | search_struct_field rewritten. |
b5c7e122 SS |
2477 | (find_rt_vbase_offset): Give error if virtual table pointer is not good. |
2478 | (find_overload_match): New function. Find the best function that | |
65b07ddc DT |
2479 | matches on the argument types according to the overload resolution |
2480 | rules. | |
b5c7e122 | 2481 | (_initialize_valops): Add new set/show command for overload-resolution. |
65b07ddc | 2482 | |
b5c7e122 | 2483 | * value.h (VALUE_POINTED_TO_OFFSET): New macro. |
65b07ddc DT |
2484 | Add field pointed_to_offset to value structure. |
2485 | Add prototypes for new functions in valops.c. | |
2486 | ||
b5c7e122 | 2487 | * value.h (write_register_pid): Change prototype to match |
65b07ddc DT |
2488 | function. |
2489 | ||
b5c7e122 | 2490 | * value.h: Hp merge, 4/15/98 snapshot |
65b07ddc DT |
2491 | Added parameter to val_print func decl. |
2492 | Added new macro, VALUE_EMBEDDED_OFFSET, and | |
2493 | new func decl, find_rt_vbase_offset, for C++ | |
2494 | support. | |
2495 | ||
b5c7e122 | 2496 | * values.c (allocate_value): Allocate also for value_embedded_offset |
65b07ddc | 2497 | and value_enclosing_type. |
b5c7e122 | 2498 | (value_copy): Copy value_embedded_offset and value_enclosing_type too. |
65b07ddc | 2499 | Use all_raw in copying the value itself. |
b5c7e122 | 2500 | (value_primitive_field): Add handling of base subobjects. |
65b07ddc | 2501 | |
b5c7e122 SS |
2502 | * values.c (value_copy): Copy the pointed_to_offset as well. |
2503 | (allocate_value): Allocate the pointed_to_offset as well. | |
2504 | (value_virtual_fn_field): Rewrite. | |
65b07ddc | 2505 | |
b5c7e122 | 2506 | * values.c (value_primitive_field): Adjust embedded offset and |
65b07ddc DT |
2507 | offset calculation. |
2508 | ||
b5c7e122 | 2509 | * values.c (value_static_field): Take into consideration that static |
65b07ddc DT |
2510 | data members can be minimal symbols too. |
2511 | ||
b5c7e122 | 2512 | * values.c (value_virtual_fn_field): Fix call to value_at. |
65b07ddc | 2513 | |
b5c7e122 | 2514 | * win32-nat.c (handle_load_dll): Added params to call to symbol_file_add. |
65b07ddc DT |
2515 | |
2516 | Other changes have to do with XDB compatability. Leave oout | |
2517 | for now. | |
2518 | ||
b5c7e122 SS |
2519 | defs.h (vfprintf_filtered): Change FILE to GDB_FILE in decl. |
2520 | (fprintf_filtered): Ditto. | |
2521 | (fprintfi_filtered): Ditto. | |
2522 | (vfprintf_unfiltered): Ditto. | |
2523 | (fprintf_unfiltered): Ditto. | |
65b07ddc | 2524 | |
b5c7e122 | 2525 | infcmd.c (_initialize_infcmd): If xdb_commands is set, make S an |
65b07ddc DT |
2526 | alias for next and define R, lr, g. Define go. |
2527 | ||
b5c7e122 | 2528 | pyr-tdep.c (pyr_print_insn): Change FILE to GDB_FILE. |
65b07ddc DT |
2529 | |
2530 | ||
b5c7e122 | 2531 | * breakpoint.c (create_temp_exception_breakpoint): #If it out -- |
65b07ddc | 2532 | nothing calls it. |
b5c7e122 | 2533 | (bpstat_stop_status): Don't call SOLIB_HAVE_LOAD_EVENT if it's not |
65b07ddc | 2534 | defined; don't call SOLIB_HAVE_UNLOAD_EVENT if it's not defined. |
b5c7e122 | 2535 | (bpstat_get_triggered_catchpoints): If we don't have shared |
65b07ddc DT |
2536 | library support, then don't call SOLIB_LOADED_LIBRARY_PATHNAME nor |
2537 | SOLIB_UNLOADED_LIBRARY_PATHNAME. | |
b5c7e122 | 2538 | (watch_command_1): Don't require a run before a watch command |
65b07ddc | 2539 | unless we're on HP [it's an HP OS bug, not a generic limitation] |
b5c7e122 SS |
2540 | (catch_load_command_1): Don't define if no shared libraries. |
2541 | (catch_command_1): Don't claim to support fork catchpoints unless | |
65b07ddc DT |
2542 | CHILD_INSERT_FORK_CATCHPOINT is defined, don't claim to support |
2543 | vfork catchpoints unless CHILD_INSERT_VFORK_CATCHPOINT is defined, | |
2544 | don't clain to support shared library load catchpoints if shared | |
2545 | libraries aren't supported, and don't claim to support exec | |
2546 | catchpoints unless CHILD_INSERT_EXEC_CATCHPOINT is defined | |
2547 | ||
b5c7e122 | 2548 | There are new target_ops vector fields that pertain |
65b07ddc DT |
2549 | only to HPUX. Added the to_require_attach and |
2550 | to_require_detach fields to exec_ops. These new | |
2551 | fields are ifdef'ed for HPUX_SNAP1. | |
2552 | ||
b5c7e122 SS |
2553 | * breakpoint.h: |
2554 | Fix compile error in enum bptype. | |
2555 | ||
2556 | * coff-solib.h: | |
2557 | Fixed a number of macro definitions. SOLIB_LOADED_LIBRARY_PATHNAME, | |
2558 | SOLIB_HAVE_LOAD_EVENT, SOLIB_HAVE_UNLOAD_EVENT, | |
2559 | SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_IN_DYNAMIC_LINKER. These | |
2560 | macros are only meaningful (for now) for SOM. So, all | |
2561 | the macros were defined as error(...), but were used in | |
2562 | conditions. This caused the compile to crap out. I redefined | |
2563 | these (for now) to be 0. | |
2564 | ||
2565 | * procfs.c: | |
2566 | (procfs_create_inferior): Fix call to fork_inferior -- need another | |
2567 | parameter. | |
65b07ddc | 2568 | |
b5c7e122 SS |
2569 | * solib.h: |
2570 | Fixed a number of macro definitions. SOLIB_LOADED_LIBRARY_PATHNAME, | |
2571 | SOLIB_HAVE_LOAD_EVENT, SOLIB_HAVE_UNLOAD_EVENT, | |
2572 | SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_IN_DYNAMIC_LINKER. These | |
2573 | macros are only meaningful (for now) for SOM. So, all | |
2574 | the macros were defined as error(...), but were used in | |
2575 | conditions. This caused the compile to crap out. I redefined | |
2576 | these (for now) to be 0. | |
2577 | ||
2578 | * valops.c: | |
2579 | (search_struct_field): Undeclared local variable, "assigned". | |
2580 | (find_rt_vbase_offset): Fixed call to value_at | |
2581 | ||
2582 | * value.h: Fix signature for find_rt_vbase_offset funct decl | |
2583 | (missing a param) | |
65b07ddc | 2584 | |
c4b23100 SS |
2585 | Wed Dec 30 17:48:12 1998 Stan Shebs <shebs@andros.cygnus.com> |
2586 | ||
2587 | From J.T. Conklin <jtc@redbacknetworks.com>: | |
2588 | * i386-stub.c: Fix error string in last change. | |
2589 | ||
adcb1e06 JM |
2590 | 1998-12-30 Jason Molenda (jsm@bugshack.cygnus.com) |
2591 | ||
b5c7e122 | 2592 | * utils.c: <Readline/readline.h> instead of "readline/readline.h". |
adcb1e06 JM |
2593 | |
2594 | * configure.in (TERM_LIB): Search for the appropriate term library | |
2595 | on the host system. | |
2596 | * configure: Regenerated. | |
2597 | * Makefile.in (TERMCAP): Set based on autoconf check. | |
2598 | * config/*/*.mh: Don't override TERMCAP setting. | |
2599 | ||
1b0df0ad MA |
2600 | Wed Dec 30 17:23:14 1998 Mark Alexander <marka@cygnus.com> |
2601 | ||
2602 | * value.c (value_virtual_fn_field): Handle the situation where | |
2603 | vtbl is a pointer to a structure instead of a pointer to an array. | |
2604 | ||
4ef1f467 DT |
2605 | Mon Dec 28 17:43:36 1998 David Taylor <taylor@texas.cygnus.com> |
2606 | ||
2607 | The following changes were made by Jim Blandy <jimb@cygnus.com>, | |
2608 | Edith Epstein <eepstein@cygnus.com>, Elena Zannoni | |
2609 | <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David | |
2610 | Taylor <taylor@cygnus.com>, as part of the project to merge in | |
2611 | changes originally made by HP; HP did not create ChangeLog | |
2612 | entries. | |
2613 | ||
b5c7e122 SS |
2614 | * c-lang.h (cp_print_value_fields): Update prototype; fixed |
2615 | prototype decl for c_val_print function -- it needed an | |
4ef1f467 | 2616 | embedded_offset param; fixed prototype of cp_print_value_fields. |
b5c7e122 SS |
2617 | Include value.h. |
2618 | (C_LANG_H): Define. | |
4ef1f467 | 2619 | |
b5c7e122 | 2620 | * c-valprint.c (c_val_print): Add new parameter embedded_offset. |
4ef1f467 DT |
2621 | Add embedded_offset to valaddr in function calls. fix calls to |
2622 | val_print, and cp_print_value_fields. Attempt to determine the | |
2623 | real type of the object to be printed. fixed call to | |
2624 | cp_print_value_fields. process TYPE_CODE_METHOD as well. moved | |
b5c7e122 SS |
2625 | call to check_typedef out of conditional. add embedded offset |
2626 | param to val_print call. | |
4ef1f467 | 2627 | |
b5c7e122 SS |
2628 | (c_value_print): Add new parameter to call to val_print. Handle |
2629 | pointer to class case. Ensure that const char *, const unsigned | |
4ef1f467 DT |
2630 | char * come out without the type but the volatile variants and the |
2631 | signed variants don't. | |
2632 | ||
b5c7e122 SS |
2633 | * ch-lang.h (chill_val_print): Add parameter to decl. |
2634 | ||
2635 | * ch-valprint.c: The various print routines have an additional | |
2636 | parameter. Currently, the new parameter is only used when printing | |
2637 | C++ expressions. So, in ch-valprint.c, the new parameter is always | |
2638 | 0. Changes in calls to val_print, chill_val_print, c_val_print | |
2639 | Affected functions are chill_val_print_array_elements, | |
2640 | chill_val_print, chill_print_value_fields, chill_value_print. | |
2641 | ||
2642 | * cp-valprint.c add vtable pointers names for aCC (HP) compiler. | |
2643 | (cp_print_class_method): Print message for HP/aCC case. | |
2644 | (cp_print_class_member): Add comments. | |
2645 | (cp_print_value): Adjust address computations for virtual base | |
2646 | classes. add new parameter 'offset'. Find correct offset for | |
4ef1f467 DT |
2647 | base class in HP/aCC case. Change call to cp_print_value_fields |
2648 | to have extra par. | |
b5c7e122 | 2649 | (cp_print_value_fields): Do not print also if the only field is |
4ef1f467 DT |
2650 | the vtable pointer. Print out vtable ptr, for HP/aCC compiled |
2651 | case. do not print leading '=' in case of anonymous union, or | |
b5c7e122 | 2652 | struct. add new parameter 'offset'. Do not print the vtable |
4ef1f467 DT |
2653 | pointer as a member, in the HP aCC case. Changed calls to |
2654 | val_print to have extra parameter. | |
b5c7e122 | 2655 | (cp_print_hpacc_virtual_table_entries): New function. Print vtable |
4ef1f467 | 2656 | entries, in HP/aCC compiled case. |
b5c7e122 | 2657 | (cp_print_static_field): Change call to cp_print_value_fields, and |
4ef1f467 DT |
2658 | val_print. |
2659 | ||
b5c7e122 SS |
2660 | * d30v-tdep.c (d30v_print_register): Add embedded_offset param |
2661 | to val_print call. | |
4ef1f467 | 2662 | |
b5c7e122 SS |
2663 | * defs.h: Additional include files included when TUI is defined. |
2664 | (gdb_file_isatty): New function decl. | |
2665 | (GDB_FILE): If TUI is defined, define a structure rather | |
4ef1f467 | 2666 | than making this an alias for FILE. |
b5c7e122 | 2667 | (gdb_stdout, gdb_stderr): If TUI is defined, then define these |
4ef1f467 DT |
2668 | as pointers to variables of type GDB_FILE rather than making them |
2669 | be aliases for stdout and stderr. | |
b5c7e122 | 2670 | (TUIDO): Add definition conditionalized on definition |
4ef1f467 | 2671 | (or lack thereof) of TUI. |
b5c7e122 SS |
2672 | (command_class): Add two additional values. |
2673 | (precision_type): New enum. | |
2674 | (gdb_fclose): Add decl. | |
2675 | (store_address): Change prototype to match function. | |
2676 | (tui_version, xdb_commands, dbx_commands): Add decls. | |
2677 | (gdb_file_deallocate): New function decl | |
2678 | (pa_do_strcat_registers_info): New function decl. | |
2679 | (streamtype): New enumerated type to distinguish between output to | |
4ef1f467 | 2680 | a FILE and output to a buffer. |
b5c7e122 SS |
2681 | (tui_stream): New struct type, named GDB_FILE. |
2682 | (gdb_stdout): Of type GDB_FILE, will pass this around gdb rather | |
4ef1f467 | 2683 | than stdout. |
b5c7e122 | 2684 | (gdb_stderr): Of type GDB_FILE, will pass this around gdb rather |
4ef1f467 | 2685 | than stderr. |
b5c7e122 SS |
2686 | (fputs_unfiltered_hook): Change stream parameter from FILE to |
2687 | GDB_FILE. | |
2688 | (flush_hook): Change stream parameter from FILE to GDB_FILE. | |
2689 | (gdb_fclose): Fix decl for gdb_fclose; parameter is now of | |
2690 | type GDB_FILE **. | |
2691 | (gdb_file_adjust_strbuf): New function decl. function lives | |
2692 | in utils.c. | |
2693 | (gdb_file_init_astring): New function decl. function lives | |
4ef1f467 | 2694 | in utils.c. |
b5c7e122 SS |
2695 | (gdb_file_get_strbuf): New function decl. function lives in |
2696 | utils.c. | |
2697 | (source_full_path_of): Declare. | |
4ef1f467 | 2698 | |
b5c7e122 | 2699 | * exec.c (_initialize_exec): Make definition of file command be |
4ef1f467 | 2700 | dependent upon dbx_commands not being set. |
b5c7e122 SS |
2701 | (exec_file_attach): New function. |
2702 | (exec_file_command): Call it. | |
2703 | (exec_ops): Add new target vector fields. | |
4ef1f467 | 2704 | |
b5c7e122 SS |
2705 | * f-lang.h (f_print_type): Change FILE to GDB_FILE in decl. |
2706 | (f_val_print): Ditto. | |
2707 | (f_val_print): Add parameter to the function decl. | |
4ef1f467 | 2708 | |
b5c7e122 | 2709 | * f-valprint.c (_initialize_f_valprint): If xdb_commands is set, |
4ef1f467 | 2710 | define lc command. |
b5c7e122 SS |
2711 | (f77_create_arrayprint_offset_tbl): Change FILE to GDB_FILE. |
2712 | (f77_print_array): Ditto. | |
2713 | (f77_print_array_1): Ditto. | |
2714 | (f_val_print): Ditto. | |
2715 | (f_val_print): Add a parameter; this new parameter is currently | |
4ef1f467 DT |
2716 | only non-zero when handling C++ expressions. In this file its |
2717 | value is always 0. changed fflush to gdb_flush. | |
2718 | ||
b5c7e122 SS |
2719 | * gnu-nat.c: (init_gnu_ops): Add new target vector fields. |
2720 | (gnu_create_inferior): Add param to fork_inferior call. | |
4ef1f467 | 2721 | |
b5c7e122 | 2722 | * hppa-tdep.c (after_prologue): If f is NULL, don't dereference |
4ef1f467 DT |
2723 | it. if no debug info, return zero telling caller that we need to |
2724 | find the end of the prologue via the hard way (instruction | |
2725 | examination). | |
b5c7e122 | 2726 | (find_unwind_entry): Avoid dereferencing a null |
4ef1f467 | 2727 | pointer. |
b5c7e122 SS |
2728 | (hppa_pid_to_exec_file): Deleted -- no longer used. |
2729 | (hppa_prepare_to_proceeed): Add prototype. | |
2730 | (read_unwind_info): Purecov comments, bug fixes. | |
2731 | (find_unwind_entry): Purecov comments, bug fixes. | |
2732 | (find_stub_with_shl_get): Purecov comments. | |
2733 | (frame_chain): Additional parens. | |
2734 | (hppa_push_arguments): Changes to commented out version of routine. | |
2735 | (hppa_fix_call_dummy): Purecov comments, fix location of end.o. | |
2736 | (in_solib_call_trampoline): Purecov comments. | |
2737 | (in_solib_return_trampoline): Purecov comments. | |
2738 | (setup_d_pid_in_inferior): Fix location of end.o. | |
2739 | (initialize_hp_cxx_exception_support): Fix location of end.o. | |
2740 | (child_enable_exception_callback): Purecov comments. | |
4ef1f467 DT |
2741 | (pa_do_strcat_registers_info): Has a new parameter, precision, |
2742 | which is passed into the call to pa_strcat_fp_reg to indicate | |
2743 | whether to display the floating point registers using | |
2744 | single or double preceision. | |
2745 | (pa_strcat_registers): Introduce local variable, precision, and | |
2746 | pass it into call to pa_strcat_fp_reg. | |
2747 | (pa_strcat_fp_reg): Modified function. New parameter, precision, | |
2748 | used by function to decide whether to use single or double | |
b5c7e122 | 2749 | precision. Also add the code to put a double precision value |
4ef1f467 | 2750 | into a buffer. |
b5c7e122 | 2751 | (pa_do_strcat_registers_info): New routine. called by |
4ef1f467 DT |
2752 | tui/tuiRegs.c:_tuiRegisterFormat to place a register name |
2753 | and value into a string buffer. Interface may change in | |
2754 | future. Checking this in so that we have something | |
2755 | functional for HP. | |
b5c7e122 | 2756 | (pa_strcat_registers): New routine, called by |
4ef1f467 DT |
2757 | pa_do_strcat_registers_info. Does same thing as |
2758 | pa_print_registers except it takes a stream parameter. | |
2759 | This routine should disappear in future. Checking in | |
2760 | so that we have something functional to give HP | |
b5c7e122 | 2761 | (pa_strcat_fp_reg): New routine, called by |
4ef1f467 DT |
2762 | pa_do_strcat_registers_info and pa_strvat_registers |
2763 | to place a floating point register name and value into | |
2764 | a buffer. This interface may change in future. | |
2765 | Checking in so that we have something functional to give HP. | |
b5c7e122 SS |
2766 | (pa_print_fp_reg): Change prototype to match def'n. |
2767 | (pa_register_look_aside): Fix comment immediately before function. | |
2768 | Changes to better support stack unwinding, reading and writing | |
2769 | registers for HPUX. New includes ptrace.h, bfd.h, dl.h. | |
2770 | (internalize_unwinds): Initialize new fields in table. | |
2771 | (read_unwind_info): Entries in the table are now more complex | |
4ef1f467 DT |
2772 | structures. References of the form ...->table[index].stub_type are |
2773 | now ...->table[index].stub_unwind.stub_type. | |
b5c7e122 SS |
2774 | (find_proc_framesize): Add a check for pc == 0. |
2775 | (rp_saved): Entries in the table are now more complex | |
4ef1f467 DT |
2776 | structures. References of the form ...->table[index].stub_type are |
2777 | now ...->table[index].stub_unwind.stub_type. | |
b5c7e122 | 2778 | (frameless_function_invocation): Stub_type becomes |
4ef1f467 | 2779 | stub_unwind.stub_type |
b5c7e122 SS |
2780 | (saved_pc_after_call): Stub_type becomes stub_unwind.stub_type |
2781 | (hppa_frame_saved_pc): Stub_type becomes stub_unwind.stub_type | |
2782 | (frame_chain_valid): Stub_type becomes stub_unwind.stub_type | |
2783 | (hppa_call_dummy): Stub_type becomes stub_unwind.stub_type | |
2784 | (pa_print_fp_reg): Additional params to call val_print | |
2785 | (in_solib_call_trampoline): Stub_type becomes | |
4ef1f467 | 2786 | stub_unwind.stub_type |
b5c7e122 | 2787 | (in_solib_return_trampoline): Stub_type becomes |
4ef1f467 | 2788 | stub_unwind.stub_typ |
b5c7e122 | 2789 | (skip_trampoline_code): Additional code to handle external |
4ef1f467 | 2790 | dyncalls. Also stub_type becomes stub_unwind.stub_type |
b5c7e122 | 2791 | (hppa_pid_to_exec_file): New funct. FOr HPUX 10.0 and beyond there |
4ef1f467 DT |
2792 | is an explicit ptrace request for getting the pathname associated |
2793 | with a process id (pid). | |
b5c7e122 | 2794 | (hppa_pid_to_exec_file): Remove unwanted param from call to |
4ef1f467 | 2795 | call_ptrace. |
b5c7e122 SS |
2796 | (args_for_find_stub): New structure. |
2797 | (find_unwind_entry): Deal with null input pc value. | |
2798 | (rp_saved): Ditto. | |
4ef1f467 | 2799 | For the import stub, return -24 always. |
b5c7e122 SS |
2800 | (hppa_frame_saved_pc): Save old pc value, to detect we are in a loop. |
2801 | (init_extra_frame_info): Use TARGET_READ_FP. | |
2802 | (frame_chain): Include thread support. | |
2803 | If the caller's pc is zero, we lose and return, just like stack | |
2804 | bottom. | |
4ef1f467 | 2805 | Disable warning about being unable to find unwind info. |
b5c7e122 SS |
2806 | (hppa_push_arguments): Rewrite. |
2807 | (hppa_value_returned_from_stack): New function. Handles returning | |
2808 | a value larger than 64 bits, stored on the stack. | |
2809 | (find_stub_with_shl_get): New function. To look up symbols in shlibs. | |
2810 | (cover_find_stub_with_shl_get): New function. Cover routine for | |
4ef1f467 | 2811 | find_stub_with_shl_get to pass to catch_errors. |
b5c7e122 SS |
2812 | (hppa_fix_call_dummy): Comment out old stub mechanism. |
2813 | Rewrite using dyncall. | |
2814 | (target_read_fp): New function. | |
2815 | (pa_do_registers_info): Floating point registers start at FP4. | |
2816 | (pa_print_registers): Use FP4_REGNUM instead of 72. | |
2817 | (skip_trampoline_code): Do machine instruction matching for PA2.0. | |
2818 | (setup_d_pid_in_inferior): New function. Exception handling support. | |
2819 | (initialize_hp_cxx_exception_support): Ditto. | |
2820 | (child_enable_exception_callback): Ditto. | |
2821 | (child_get_current_exception_event): Ditto. | |
2822 | ||
2823 | * hpux-thread.c (hpux_thread_ops): Add new target vector fields. | |
2824 | ||
2825 | * infcmd.c: Include objfiles.h. | |
2826 | (attach_command): New local variable, exec_file, add code to | |
4ef1f467 DT |
2827 | determine exec_file from pid if exec_file is not already known, |
2828 | call new target operation, target_post_attach -- a no-op unless | |
b5c7e122 SS |
2829 | on HPUXHPPA. |
2830 | (detach_command): After detaching, do a SOLIB_RESTART. | |
2831 | (objfiles.h): Fix typo on include line. | |
2832 | (run_command): Only call SOLIB_RESTART if it's defined. | |
2833 | (detach_command): Ditto. | |
4ef1f467 DT |
2834 | (run_command): If program has already been started, and decide |
2835 | to restart it, the kill the target, fluch the caches, | |
2836 | call init_wait_for_inferior. Also purge old solib objfiles. | |
b5c7e122 | 2837 | (run_stack_dummy): Add calls to |
4ef1f467 | 2838 | disable_watchpoints_before_interactive_call_start and |
b5c7e122 SS |
2839 | enable_watchpoints_after_interactive_call_stops. |
2840 | (finish_command): Alter code handling the evaluation and printing | |
4ef1f467 | 2841 | of the target function's return value. |
b5c7e122 | 2842 | (attach_command): When given a pid, but no exec file, try to |
4ef1f467 DT |
2843 | determine the exec file from the process. If the process does not |
2844 | record a full path name, try to qualify the filename against the | |
2845 | source path. | |
b5c7e122 SS |
2846 | (_initialize_infcmd): Add some verbiage about how to use the |
2847 | attach command. | |
2848 | (do_registers_info): Changed calls to val_print | |
4ef1f467 DT |
2849 | made the symfile.h include preceed the |
2850 | objfiles.h include. The other ordering caused a | |
2851 | compile problem (incompletely defined types). | |
2852 | ||
b5c7e122 | 2853 | * inftarg.c (child_post_attach): Fix decl, make static. |
4ef1f467 DT |
2854 | (proc_wait): Make globally visible. |
2855 | (child_insert_fork_catchpoint, etc): Fix return type. | |
b5c7e122 SS |
2856 | (child_detach_from_process): Declare. |
2857 | (child_attach_to_process): Declare. | |
2858 | (child_stop): Make static to match decl. | |
2859 | (ptrace_him): Change prototype back to return int. | |
4ef1f467 DT |
2860 | (ptrace_me): Remove debug output, pass NULL to fork_inferior if |
2861 | not HPUX. | |
b5c7e122 | 2862 | (proc_wait): function prototype and definition are enclosed by |
4ef1f467 | 2863 | proc_wait ifndef |
b5c7e122 | 2864 | (child_attach_to_process): New function, does most of the work |
4ef1f467 DT |
2865 | that child_attach used to do and some additional work to determine |
2866 | whether gdb is already attached to the target how to react. | |
b5c7e122 | 2867 | (child_attach): Altered. It's now a wrapper for |
4ef1f467 | 2868 | child_attach_to_process. |
b5c7e122 | 2869 | (child_require_attach): New function, called if should attach even |
4ef1f467 | 2870 | when gdb is already attached to target. |
b5c7e122 | 2871 | (child_detach_from_process): New function, does most of the work |
4ef1f467 DT |
2872 | that child_detach used to do and some additional work to determine |
2873 | whether gdb is currently attached to the target. | |
b5c7e122 | 2874 | (child_detach): Altered. It's now a wrapper for |
4ef1f467 | 2875 | child_detach_from_process. |
b5c7e122 | 2876 | (child_require_detach): New function, called if should try to |
4ef1f467 | 2877 | detach even when gdb is not attached to target. |
b5c7e122 | 2878 | (ptrace_him): Calls a new function, |
4ef1f467 DT |
2879 | target_acknowledge_forked_child. Currently, |
2880 | target_acknowledge_forked_child, is only defined to do something | |
2881 | for HPUX. | |
b5c7e122 SS |
2882 | (child_create_inferior): Changed call to fork_inferior. |
2883 | (child_ops): Add to_require_attach and to_require_detach fields | |
4ef1f467 | 2884 | to the child_ops target ops vector. |
b5c7e122 | 2885 | Some hacks for ttrace work: |
4ef1f467 | 2886 | (child_wait): Additional local variables, additional code in |
b5c7e122 SS |
2887 | while loop to check for process exited, process forked, |
2888 | process vforked, process execd. | |
4ef1f467 DT |
2889 | (child_thread_alive): John B. seems to think that the kill |
2890 | call is inapproapriate for HPUX. | |
b5c7e122 | 2891 | (child_attach_to_process): Using strtol rather than atoi. |
4ef1f467 | 2892 | no longer check for case where there is no known exec file. |
b5c7e122 SS |
2893 | (child_post_attach): New function, a default, a no-op. |
2894 | (child_insert_fork_catchpoint): New function, a default, a no-op. | |
2895 | (child_remove_fork_catchpoint): New function, a default, a no-op. | |
2896 | (child_insert_vfork_catchpoint): New function, a default, a no-op. | |
2897 | (child_remove_vfork_catchpoint): New function, a default, a no-op. | |
4ef1f467 | 2898 | (child_can_follow_vfork_prior_to_exec ):new function, a default, |
b5c7e122 SS |
2899 | a no-op. |
2900 | (child_insert_exec_catchpoint): New function, a default, a no-op. | |
2901 | (child_remove_exec_catchpoint): New function, a default, a no-op. | |
2902 | (child_has_execd): New function, a default, returns 0. | |
2903 | (child_reported_exec_events_per_exec_call): New function, a | |
2904 | default, returns 1. | |
2905 | (child_has_exited): New function, a default. | |
2906 | (child_core_file_to_sym_file): New function, a default, returns NULL. | |
2907 | (child_ops): Initialize new target vector fields. | |
2908 | ||
2909 | * jv-lang.h: (Java_val_print): Add embedded_offset param to func | |
2910 | decl. | |
2911 | ||
2912 | * jv-valprint.c: Changing calls to val_print to accomodate new param. | |
2913 | (java_value_print): Add embedded_offset param to val_print call | |
2914 | (java_print_value_fields): Add embedded_offset param to val_print | |
2915 | call. | |
2916 | (java_val_print): Add embedded_offset param. alter call to | |
4ef1f467 DT |
2917 | c_val_print to accomodate embedded_offset param. |
2918 | ||
b5c7e122 | 2919 | * language.c (lang_bool_type): Return builtin_type_bool in c++ |
4ef1f467 | 2920 | case. |
b5c7e122 SS |
2921 | (unk_lang_val_print): Add embedded_offset param to |
2922 | prototype decl and definition. | |
4ef1f467 | 2923 | |
b5c7e122 SS |
2924 | * language.h (LA_VAL_PRINT macro, la_val_print function decl): |
2925 | altered to accomodate the new parameter to the various print | |
2926 | functions. | |
4ef1f467 | 2927 | |
b5c7e122 SS |
2928 | * m2-lang.h (m2_val_print): Add a parameter to the function decl. |
2929 | ||
2930 | * m2-valprint.c (m2_val_print): Add a parameter. | |
2931 | This parameter is currently only used when evaluating C++ | |
2932 | expressions. So, it is always 0 in this file. | |
2933 | ||
2934 | * m3-nat.c (m3_create_inferior): Add param to fork_inferior call | |
2935 | (m3_pid_to_exec_file): New function | |
2936 | (m3_ops): Add new target vector fields. | |
2937 | ||
2938 | * mac-nat.c (init_child_ops): Add new target vector fields. | |
4ef1f467 | 2939 | |
b5c7e122 | 2940 | * mips-tdep.c: Chnages to accomodate additional parameter |
4ef1f467 | 2941 | to val_print. |
b5c7e122 | 2942 | (mips_print_register): Alter calls to val_print |
4ef1f467 | 2943 | |
b5c7e122 SS |
2944 | * monitor.c (monitor_write): Change stderr to gdb_stderr. |
2945 | (monitor_remove_breakpoint): Ditto. | |
2946 | (init_base_monitor_ops): Add new target vector fields. | |
4ef1f467 | 2947 | |
b5c7e122 | 2948 | * ppc-bdm.c (init_bdm_ppc_ops): Add new target vector fields. |
4ef1f467 | 2949 | |
b5c7e122 SS |
2950 | * printcmd.c (do_examine): When saving a value_ptr, remove it from |
2951 | the list of value_ptr's to be freed automatically; when discarding | |
2952 | a previously saved value_ptr, free it. | |
2953 | (print_formatted): Update comments; add new comments. | |
2954 | (printf_command, print_insn): Purecov comments. | |
2955 | (_initialize_printcmd): Add assign as a command if dbx_commands is | |
4ef1f467 | 2956 | set; create va as an alias for disassemble if xdb_commands is set. |
b5c7e122 | 2957 | (address_info): New cases LOC_INDIRECT and |
4ef1f467 | 2958 | LOC_THREAD_LOCAL_STATIC. |
b5c7e122 | 2959 | (display_command): If tui_version and exp starts with a '$', then |
4ef1f467 | 2960 | don't display it unless tui_vSetLayoutTo fails. |
b5c7e122 SS |
2961 | (disassemble_command): Add tuiDo calls. |
2962 | (print_scalar_formatted): For integers that are long long, check | |
4ef1f467 DT |
2963 | the print format and print out in binary octal, decimal, or |
2964 | hex. Call the new print_*_chars functions in valprint.c | |
4ef1f467 DT |
2965 | (print_frame_args): Altered calls to val_print, to reflect |
2966 | additional parameter to val_print (case LOC_BASEREG_ARG). | |
2967 | ||
b5c7e122 SS |
2968 | * procfs.c: (Procfs_init_inferior): Return value is now a void. |
2969 | (procfs_ops): Add new target vector fields. | |
2970 | (procfs_create_inferior): Fix call to fork_inferior -- need another | |
4ef1f467 DT |
2971 | parameter. |
2972 | ||
b5c7e122 SS |
2973 | * remote-adapt.c (adapt_open): Change stderr to gdb_stderr. |
2974 | (adpat_insert_breakpoint): Ditto. | |
2975 | (init_adapt_ops): Add new target vector fields. | |
4ef1f467 | 2976 | |
b5c7e122 SS |
2977 | * remote-array.c (array_wait): Change fflush to gdb_flush and |
2978 | stdout to gdb_stdout. | |
2979 | (init_array_ops): Add new target vector fields. | |
4ef1f467 | 2980 | |
b5c7e122 SS |
2981 | * remote-bug.c (bug_load): Change fflush to gdb_flush; stdout to |
2982 | gdb_stdout. | |
2983 | (bug_wait): Change stderr to gdb_stderr. | |
2984 | (bug_insert_breakpoint): Ditto. | |
2985 | (init_bug_ops): Add new target vector fields. | |
4ef1f467 DT |
2986 | |
2987 | * remote-e7000.c | |
b5c7e122 SS |
2988 | (init_e7000_ops): Add new target vector fields. |
2989 | * remote-eb.c (init_eb_ops): Ditto. | |
2990 | * remote-es.c (init_es1800_ops): Ditto. | |
2991 | (init_es1800_child_ops): Ditto. | |
2992 | * remote-es.c (init_es1800_ops): Ditto. | |
2993 | (init_es1800_child_ops): Ditto. | |
2994 | * remote-hms.c (init_hms_ops): Ditto. | |
2995 | * remote-hms.c (init_hms_ops): Ditto. | |
2996 | * remote-nindy.c (init_nindy_ops): Ditto. | |
2997 | * remote-nrom.c (init_nrom_ops): Ditto. | |
2998 | * remote-os9k.c (init_rombug_ops): Ditto. | |
2999 | * remote-rdp.c (init_remote_rdp_ops): Ditto. | |
3000 | * remote-sds.c (init_sds_ops): Ditto. | |
3001 | * remote-sim.c (init_gdbsim_ops): Ditto. | |
3002 | * remote-st.c (init_st2000_ops): Ditto. | |
3003 | * remote-udi.c (init_udi_ops): Ditto. | |
3004 | * remote-vx.c (init_vx_ops): Ditto. | |
3005 | (init_vx_run_ops): Ditto. | |
3006 | * remote-vx.c: (Init_vx_ops): Ditto. | |
3007 | (init_vx_run_ops): Ditto. | |
4ef1f467 | 3008 | |
b5c7e122 SS |
3009 | * remote-mips.c (mips_getstring): Change stderr to gdb_stderr. |
3010 | (pmon_insert_breakpoint): Ditto. | |
3011 | (pmon_remove_breakpoint): Ditto. | |
3012 | (check_lsi_error): Ditto. | |
3013 | (common_breakpoint): Ditto. | |
3014 | (pmon_makeb64): Ditto. | |
4ef1f467 | 3015 | |
b5c7e122 SS |
3016 | * remote-mips.c (mips_xfer_memory): Change fflush to gdb_flush; |
3017 | change stdout to gdb_stdout. | |
4ef1f467 | 3018 | |
b5c7e122 SS |
3019 | * remote-mm.c (mm_open): Change stderr to gdb_stderr. |
3020 | (init_mm_ops): Add new target vector fields. | |
3021 | (mm_load): Fixed params in commented out call to symbol_file_add. | |
4ef1f467 | 3022 | |
b5c7e122 | 3023 | * remote-nindy.c (instream): Change decl to FILE. |
4ef1f467 | 3024 | |
b5c7e122 | 3025 | * remote-udi.c (udi_load): Fixed params in call to symbol_file_add. |
4ef1f467 | 3026 | |
b5c7e122 SS |
3027 | * remote-vx.c (vx_add_symbols): Fixed params in call to |
3028 | symbol_file_add. | |
4ef1f467 | 3029 | |
b5c7e122 | 3030 | * remote.c (init_remote_ops): Cosmetic change to match expected |
4ef1f467 DT |
3031 | test output. |
3032 | ||
b5c7e122 | 3033 | * rs6000-nat.c (add_vmap): Add params to call to allocate_objfile. |
4ef1f467 | 3034 | |
b5c7e122 | 3035 | * scm-lang.h: Add parameter to scm_val_print function decl. |
4ef1f467 | 3036 | |
b5c7e122 | 3037 | * scm-valprint.c (scm_scmval_print): Cast svalue to (int); new |
4ef1f467 DT |
3038 | parameter. This parameter is currently only used when evaluating |
3039 | C++ expressions. So, it is always 0 in this file. | |
b5c7e122 | 3040 | (c_val_print): Fixed prototype decl; it needed an embedded_offset |
4ef1f467 DT |
3041 | param. |
3042 | ||
b5c7e122 SS |
3043 | * sol-thread.c (sol_core_ops): Add new target vector fields. |
3044 | (sol_thread_ops): Ditto. | |
4ef1f467 | 3045 | |
b5c7e122 | 3046 | * somsolib.c (DLD_FLAGS_MAPPRIVATE): New macro. |
4ef1f467 | 3047 | Define bit of __dld_flags in HP-UX a.out files. |
b5c7e122 SS |
3048 | (DLD_FLAGS_HOOKVALID): Ditto. |
3049 | (DLD_FLAGS_LISTVALID): Ditto. | |
3050 | (DLD_FLAGS_BOR_ENABLE): Ditto. | |
3051 | (som_solib_total_st_size): Cumulative size in bytes of the | |
4ef1f467 | 3052 | symbol tables of all shared objects on the so_list_head list. |
b5c7e122 | 3053 | (som_solib_st_size_threshhold_exceeded): Threshold for adding symbols |
4ef1f467 | 3054 | for shlibs. |
b5c7e122 | 3055 | (som_solib_sizeof_symbol_table): New function. Computes size of |
4ef1f467 | 3056 | symbol table for a shlib. |
b5c7e122 SS |
3057 | (som_solib_load_symbols): New function. Load symbols from shlib. |
3058 | (som_solib_add): Detect if __dld_list is not valid. | |
4ef1f467 DT |
3059 | Record main program's symbol table size. |
3060 | Load symbols if called from command line. | |
3061 | Keep threshold into account when loading shlib symbols. | |
b5c7e122 SS |
3062 | (som_solib_create_inferior_hook): Use dld_flags macros. |
3063 | (som_sharedlibrary_info_command): Let user know if symbols were | |
4ef1f467 | 3064 | not loaded. |
b5c7e122 SS |
3065 | (som_solib_restart): Discard all the shlibs descriptors. |
3066 | (_initialize_som_solib): Chenge help message for auto-solib-add | |
4ef1f467 DT |
3067 | command. |
3068 | Set threshold for symbol table to 50 megabytes. | |
b5c7e122 SS |
3069 | (_initialize_som_solib): Add call to som_solib_restart. |
3070 | (som_solib_restart): New function | |
3071 | (som_solib_in_dynamic_linker): New function | |
3072 | (som_solib_desire_dynamic_linker_symbols): New function | |
3073 | (som_solib_unloaded_library_pathname): New function | |
3074 | (som_solib_loaded_library_pathname): New function | |
3075 | (som_solib_library_pathname): New function | |
3076 | (som_solib_have_unload_event): New function | |
3077 | (som_solib_have_load_event): New function | |
3078 | (som_solib_create_catch_unload_hook): New function | |
3079 | (som_solib_create_catch_load_hook): New function | |
3080 | (som_solib_create_inferior_hook): Rewritten | |
3081 | dld_cache: New struct | |
3082 | addr_and_unwind_t: New struct | |
3083 | (find_unwind_entry) add prototype | |
3084 | Include assert.h, remove references to ASSERT macro, | |
3085 | add include of fcntl.h so that O_RDONLY is defined. | |
3086 | (som_solib_create_inferior_hook): Introduce new local | |
4ef1f467 DT |
3087 | msymbol2 and change some msymbol's to msymbol2's -- was clobbering |
3088 | msymbol, passing a NULL to lookup_minimal_symbol_solib_trampoline, | |
3089 | and ultimately core dumping with a SEGV. | |
b5c7e122 | 3090 | (som_solib_mapped_entry): Additional comments for text_addr, |
4ef1f467 DT |
3091 | text_link_addr, text_end, and tsd_start_addr fields. Commenting |
3092 | out 2 tsd fields, __data_start and __data_end. | |
b5c7e122 | 3093 | (som_solib_add_solib_objfile): Add params to calls to symbol_file_add. |
4ef1f467 DT |
3094 | Add some code for distinguishing between a shared library and other |
3095 | objfiles. This appears to be a prelude to thread local storage. | |
b5c7e122 | 3096 | (som_solib_load_symbols): Changes to printf statement |
4ef1f467 | 3097 | enclosed by SOLIB_DEBUG ifdef. |
b5c7e122 | 3098 | (som_solib_add): Change comment to correctly specify path |
4ef1f467 DT |
3099 | to end.o -- /opt/langtools/lib/end.o. changes to printf statement |
3100 | enclosed by SOLIB_DEBUG ifdef. | |
3101 | Removed several SOLIB_DEBUG ifdefs and the associated printfs. | |
3102 | Add code to find the start address for the object file's thread | |
3103 | local storage | |
3104 | (som_solib_create_inferior_hook): Fix warning messages use correct | |
3105 | path to end.o -- /opt/langtools/lib/end.o. Change control flow. | |
3106 | No longer user early returns from function is cases of error. | |
b5c7e122 SS |
3107 | (reset_inferior_pid): New function |
3108 | (som_solib_remove_inferior_hook): New function | |
3109 | (so_lib_thread_start_addr): New function. used for tsd. | |
3110 | (struct som_solib_mapped_entry): Add new field tsd_start_addr. | |
3111 | (struct so_list): Add new field solib_addr. | |
3112 | (som_solib_add_solib_objfile): New function. | |
3113 | (som_solib_load_symbols): Rewritten. | |
3114 | (som_solib_add): Make sure we don't load the symbols in if the | |
4ef1f467 | 3115 | threshold was exceeded. |
b5c7e122 | 3116 | (som_solib_get_solib_by_pc): New function. Return the address of |
4ef1f467 | 3117 | handle of the shared library. |
b5c7e122 | 3118 | (som_solib_restart): Disable breakpoints at restart. |
4ef1f467 | 3119 | |
b5c7e122 | 3120 | * sparcl-tdep.c (init_sparclite_ops): Add new target vector fields. |
4ef1f467 DT |
3121 | |
3122 | * target.c (cleanup_target): Changed casting of default functions | |
3123 | for to_has_forked, to_has_vforked, to_pid_to_exec_file to get rid | |
3124 | of warnings. Fixed PARAMS for to_has_syscall_event. Fixed the | |
3125 | return type on a few of the default function values. | |
b5c7e122 | 3126 | (cleanup_target): Changes in the de_fault macro, both to |
4ef1f467 DT |
3127 | accomodate the new target_ops vector fields and to use |
3128 | more accurate default functions. | |
b5c7e122 SS |
3129 | (debug_to_open): Change stderr to gdb_stderr. |
3130 | (debug_to_close): Ditto. | |
3131 | (debug_to_attach): Ditto. | |
3132 | (debug_to_post_attach): Ditto. | |
3133 | (debug_to_require_attach): Ditto. | |
3134 | (debug_to_detach): Ditto. | |
3135 | (debug_to_require_detach): Ditto. | |
3136 | (debug_to_resume): Ditto. | |
3137 | (debug_to_wait): Ditto. | |
3138 | (debug_to_post_wait): Ditto. | |
3139 | (debug_to_fetch_registers): Ditto. | |
3140 | (debug_to_store_registers): Ditto. | |
3141 | (debug_to_prepare_to_store): Ditto. | |
3142 | (debug_to_xfer_memory): Ditto. | |
3143 | (debug_to_files_info): Ditto. | |
3144 | (debug_to_insert_breakpoint): Ditto. | |
3145 | (debug_to_remove_breakpoint): Ditto. | |
3146 | (debug_to_terminal_init): Ditto. | |
3147 | (debug_to_terminal_inferior): Ditto. | |
3148 | (debug_to_terminal_ours_for_output): Ditto. | |
3149 | (debug_to_terminal_ours): Ditto. | |
3150 | (debug_to_terminal_info): Ditto. | |
3151 | (debug_to_kill): Ditto. | |
3152 | (debug_to_load): Ditto. | |
3153 | (debug_to_lookup_symbol): Ditto. | |
3154 | (debug_to_create_inferior): Ditto. | |
3155 | (debug_to_post_startup_inferior): Ditto. | |
3156 | (debug_to_acknowledge_created_inferior): Ditto. | |
3157 | (debug_to_clone_and_follow_inferior): Ditto. | |
3158 | (debug_to_post_follow_inferior_by_clone): Ditto. | |
3159 | (debug_to_insert_fork_catchpoint): Ditto. | |
3160 | (debug_to_remove_fork_catchpoint): Ditto. | |
3161 | (debug_to_insert_vfork_catchpoint): Ditto. | |
3162 | (debug_to_remove_vfork_catchpoint): Ditto. | |
3163 | (debug_to_has_forked): Ditto. | |
3164 | (debug_to_has_vforked): Ditto. | |
3165 | (debug_to_can_follow_vfork_prior_to_exec): Ditto. | |
3166 | (debug_to_post_follow_vfork): Ditto. | |
3167 | (debug_to_insert_exec_catchpoint): Ditto. | |
3168 | (debug_to_remove_exec_catchpoint): Ditto. | |
3169 | (debug_to_has_execd): Ditto. | |
3170 | (debug_to_reported_exec_events_per_exec_call): Ditto. | |
3171 | (debug_to_has_syscall_event): Ditto. | |
3172 | (debug_to_has_exited): Ditto. | |
3173 | (debug_to_mourn_inferior): Ditto. | |
3174 | (debug_to_can_run): Ditto. | |
3175 | (debug_to_notice_signals): Ditto. | |
3176 | (debug_to_thread_alive): Ditto. | |
3177 | (debug_to_stop): Ditto. | |
3178 | (debug_to_enable_exception_callback): Ditto. | |
3179 | (debug_to_get_current_exception_event): Ditto. | |
3180 | (debug_to_pid_to_exec_file): Ditto. | |
3181 | (debug_to_core_file_to_sym_file): Ditto. | |
3182 | (default_clone_and_follow_inferior): New function prototype | |
3183 | decl and function definition. | |
3184 | (dummy_target): Add new target_ops vector fields and their | |
4ef1f467 | 3185 | initializations. More target_ops vector changes for HPUX new |
b5c7e122 SS |
3186 | fields. |
3187 | (de_fault): Add new HPUX specific target_ops operations to the | |
4ef1f467 | 3188 | de_fault macro |
b5c7e122 SS |
3189 | (INHERIT): Add new HPUX specific target_ops operations. |
3190 | (debug_to_post_wait): New function. | |
3191 | (debug_to_post_startup_inferior): Ditto. | |
3192 | (debug_to_acknowledge_created_inferior): Ditto. | |
3193 | (debug_to_clone_and_follow_inferior): Ditto. | |
3194 | (debug_to_post_follow_inferior_by_clone): Ditto. | |
3195 | (debug_to_create_catch_fork_hook): Ditto. | |
3196 | (debug_to_create_catch_vfork_hook): Ditto. | |
3197 | (debug_to_has_forked): Ditto. | |
3198 | (debug_to_has_vforked): Ditto. | |
3199 | (debug_to_post_follow_vfork): Ditto. | |
3200 | (setup_target_debug): Initialize new target_ops vector fields. | |
3201 | (nosupport_runtime): New function, used in cleanup_target | |
3202 | (update_current_target): Add new new target_ops vector fields to | |
4ef1f467 | 3203 | the INHERIT macro definition. |
b5c7e122 SS |
3204 | (generic_mourn_inferior): The call to breakpoint_init_inferior now |
3205 | takes a parameter. | |
3206 | (normal_pid_to_str): Add a \0 to the end of buf. | |
3207 | (debug_to_has_syscall_event): New function. | |
3208 | (debug_to_enable_exception_callback): New function. | |
3209 | (debug_to_get_current_exception_event): New function. | |
3210 | (setup_target_debug): Initialize the 3 new target_ops vector fields | |
3211 | (struct signals): Fix message associated with SIGRETRACT. | |
3212 | (return_one): New function, used by the de_fault macro | |
3213 | (debug_to_post_attach): New function. | |
3214 | (debug_to_wait): Add new cases TARGET_WAITKIND_FORKED, | |
4ef1f467 | 3215 | TARGET_WAITKIND_VFORKED, TARGET_WAITKIND_EXECD. |
b5c7e122 SS |
3216 | (debug_to_insert_fork_catchpoint): New function. |
3217 | (debug_to_remove_fork_catchpoint): Ditto. | |
3218 | (debug_to_insert_vfork_catchpoint): Ditto. | |
3219 | (debug_to_remove_vfork_catchpoint): Ditto. | |
3220 | (debug_to_can_follow_vfork_prior_to_exec): Ditto. | |
3221 | (debug_to_insert_exec_catchpoint): Ditto. | |
3222 | (debug_to_remove_exec_catchpoint): Ditto. | |
3223 | (debug_to_core_file_to_sym_file): Ditto. | |
3224 | (setup_target_debug): Give new fields in current_target target_ops | |
4ef1f467 DT |
3225 | vector values. |
3226 | ||
b5c7e122 SS |
3227 | * target.h: Include symtab.h. |
3228 | (target_waitkind): New enumerated values | |
3229 | TARGET_WAITKIND_SYSCALL_ENTRY, TARGET_WAITKIND_SYSCALL_RETURN, | |
4ef1f467 | 3230 | TARGET_WAITKIND_FORKED, TARGET_WAITKIND_VFORKED, |
b5c7e122 SS |
3231 | TARGET_WAITKIND_EXECD. |
3232 | (target_waitstatus): Add a syscall_id field to structure. | |
3233 | (child_has_syscall_event): New decl. | |
3234 | (child_thread_alive): New decl. | |
3235 | (target_ops): Add 3 new fields: To_has_syscall_event, | |
3236 | to_enable_exception_callback, to_get_current_exception_event | |
3237 | (target_enable_exception_callback): New macro. | |
3238 | (target_has_syscall_event): New macro. | |
3239 | (target_get_current_exception_event): New macro. | |
3240 | (TARGET_DISABLE_HW_WATCHPOINTS): New macro. | |
3241 | (TARGET_ENABLE_HW_WATCHPOINTS): New macro. | |
3242 | (PC_REQUIRES_RUN_BEFORE_USE): New macro. | |
3243 | (target_tid_to_str): New macro. | |
3244 | (target_waitstatus): Additional fields in struct to keep track | |
3245 | of child pid and pathname to execd file. | |
3246 | (target_ops): Add in the new target_ops function pointer fields. | |
4ef1f467 | 3247 | New macros to go along with new target_ops fields. |
b5c7e122 | 3248 | In target_waitstatus.value, change name of child_pid field to |
4ef1f467 | 3249 | related_pid. |
b5c7e122 SS |
3250 | (target_pid_or_tid_to_str): Define default macro. |
3251 | Add missing #endif after PC_REQUIRES_RUN_BEFORE_USE definition | |
3252 | (ENSURE_VFORKING_PARENT_REMAINS_STOPPED): Define default macro. | |
3253 | (RESUME_EXECD_VFORKING_CHILD_TO_GET_PARENT_VFORK): Define default | |
3254 | macro. | |
3255 | There are new function decls for to_require_attach | |
3256 | and to_require_detach. There are also new macros, | |
3257 | target_require_attach and target_require_detach. There are | |
3258 | also new function decls for find_default_require_detach | |
3259 | and find_default_require_attach. | |
3260 | (target_ops): New fields to_post_wait, to_post_startup_inferior | |
3261 | to_acknowledge_created_inferior, to_clone_and_follow_inferior, | |
3262 | to_post_follow_inferior_by_clone, to_create_catch_fork_hook, | |
3263 | to_create_catch_vfork_hook, to_has_forked, to_has_vforked, | |
3264 | to_post_follow_vfork, to_pid_to_exec_file. | |
3265 | New function definitions child_pid_to_exec_file, child_post_wait, | |
3266 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
3267 | child_clone_and_follow_inferior, | |
3268 | child_post_follow_inferior_by_clone, child_create_catch_fork_hook, | |
3269 | child_create_catch_vfork_hook, child_has_forked, | |
3270 | child_has_vforked, child_acknowledge_created_inferior, | |
3271 | child_post_follow_vfork. | |
3272 | New macros target_post_startup_inferior, | |
3273 | target_acknowledge_created_inferior, | |
3274 | target_clone_and_follow_inferior, | |
3275 | target_post_follow_inferior_by_clone, | |
3276 | target_create_catch_fork_hook, target_create_catch_vfork_hook, | |
3277 | target_pid_to_exec_file. | |
3278 | (find_default_clone_and_follow_inferior): New function prototype. | |
3279 | ||
3280 | start-sanitize-sky | |
3281 | * txvu-tdep.c (txvu_print_register): Add embedded_offset param | |
3282 | to val_print call. | |
3283 | end-sanitize-sky | |
3284 | ||
3285 | * v850ice.c (init_850ice_ops): Init new target vector fields. | |
3286 | ||
3287 | * valprint.c (print_binary_chars): Print out long long as | |
3288 | a binary number. | |
3289 | (print_octal_chars): Print out long long as an octal number | |
3290 | (print_decimal_chars): Print out long long as a decimal number | |
3291 | (strcat_longest): Define it. | |
3292 | * valprint.c: Hp merge, 4/15/98 snapshot | |
3293 | Add parameter to val_print. This is used for | |
4ef1f467 DT |
3294 | evaluating C++ expressions. |
3295 | ||
b5c7e122 | 3296 | * value.h (VALUE_POINTED_TO_OFFSET): New macro. |
4ef1f467 DT |
3297 | Add field pointed_to_offset to value structure. |
3298 | Add prototypes for new functions in valops.c. | |
b5c7e122 | 3299 | (write_register_pid): Change prototype to match |
4ef1f467 | 3300 | function. |
b5c7e122 | 3301 | (val_print function decl): Additional parameter. |
4ef1f467 | 3302 | (VALUE_EMBEDDED_OFFSET): New macro. |
b5c7e122 | 3303 | (find_rt_vbase_offset): New function decl -- for C++ support. |
4ef1f467 | 3304 | |
0bf2ba41 PB |
3305 | Wed Dec 23 15:03:42 1998 Per Bothner <bothner@cygnus.com> |
3306 | ||
3307 | * Makefile.in (READLINE_CFLAGS): Search $(READLINE_SRC)/.. rather | |
3308 | than $(READLINE_SRC) so #include <readline/readline.h> will work. | |
3309 | * top.c: #include <readline/history.h> instead of "history.h". | |
3310 | * tracepoint.c: Likewise. | |
3311 | * mac-xdep.c: Likewise. | |
3312 | ||
30ce5223 AC |
3313 | Wed Dec 23 12:32:00 1998 Andrew Cagney <cagney@chook.cygnus.com> |
3314 | ||
3315 | * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT): Define using | |
3316 | TARGET_BYTE_ORDER and not target_byte_order. | |
3317 | ||
57ac5cff EZ |
3318 | Tue Dec 22 10:51:33 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
3319 | ||
83e2dcc0 EZ |
3320 | * config/i386/cygwin.mh (TERMCAP): define. |
3321 | (from Chris Faylor, cgf@cygnus.com) | |
3322 | ||
57ac5cff EZ |
3323 | * top.c: specify directory name for including readline.h |
3324 | ||
3325 | * tracepoint.c: ditto. | |
3326 | ||
3327 | * utils.c: ditto. | |
3328 | ||
4a1b8bb2 MA |
3329 | Mon Dec 21 13:30:34 1998 Mark Alexander <marka@cygnus.com> |
3330 | ||
3331 | * value.c (value_virtual_fn_field): Handle the situation where | |
3332 | vtbl is a pointer to a structure instead of a pointer to an array. | |
3333 | ||
3334 | Mon Dec 21 10:38:11 1998 Andrew Cagney <cagney@chook> | |
3335 | ||
3336 | * mips-tdep.c: (MIPS_DEFAULT_FPU_TYPE): Default to | |
3337 | MIPS_FPU_DOUBLE. | |
3338 | ||
6535b1df AC |
3339 | 1998-12-17 J.T. Conklin <jtc@redbacknetworks.com> |
3340 | ||
3341 | * blockframe.c (get_frame_saved_regs): If the saved_regs_addr ptr | |
3342 | is null, ensure that saved registers are copied from the local | |
3343 | variable that was used to obtain them. | |
3344 | ||
0e52a532 SG |
3345 | Sat Dec 19 09:55:09 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
3346 | ||
3347 | * mips-tdep.c (mips32_heuristic_proc_desc): Clear temp_saved_regs | |
3348 | on restart. Fixes problem with backtracing through functions that | |
3349 | use virtual frame pointers. | |
3350 | ||
1fe2e66a AC |
3351 | Fri Dec 18 14:23:34 1998 Andrew Cagney <cagney@chook> |
3352 | ||
0e52a532 SG |
3353 | * mips-tdep.c (mips_push_arguments): Don't left-shift small |
3354 | structs being passed in a register when an O64 target. | |
3355 | ||
1fe2e66a AC |
3356 | * config/mips/tm-mips.h (enum mips_fpu_type, mips_fpu): Move to |
3357 | mips-tdep.c. | |
3358 | ||
3359 | * mips-tdep.c (mips_fpu_string): Delete variable. | |
3360 | (mips_fpu_type_auto): New variable. | |
3361 | (mips_fpu_type): Rename mips_fpu. | |
3362 | (_initialize_mips_tdep): Delete initialization of mips_fpu et.al. | |
3363 | Rewrite ``set mipsfpu'' command set. | |
3364 | (set_mipsfpu_command, show_mipsfpu_command, | |
3365 | set_mipsfpu_single_command, set_mipsfpu_double_command, | |
3366 | set_mipsfpu_none_command, set_mipsfpu_auto_command): New | |
3367 | functions, handle commands. | |
3368 | (mips_push_arguments, mips_push_dummy_frame, mips_pop_frame, | |
3369 | mips_extract_return_value): Update. | |
3370 | (start-sanitize-carp start-sanitize-vr4xxx); | |
3371 | (_initialize_mips_tdep): Set mips_fpu_type according to current | |
3372 | processor. | |
3373 | (_initialize_mips_tdep): Only define ``set processor'' command | |
3374 | when not multi-sim. | |
3375 | (end-sanitize-carp end-sanitize-vr4xxx) | |
3376 | ||
2e64ee9a AC |
3377 | start-sanitize-carp start-sanitize-vr4xxx |
3378 | Fri Dec 18 12:56:56 1998 Andrew Cagney <cagney@chook> | |
3379 | ||
3380 | * gdbarch.h (gdbarch_init_ftype): Pass struct gdbarch_info | |
3381 | by-value. | |
3382 | (struct gdbarch_info): Add struct gdbarch_tdep_info *tdep_info. | |
3383 | * gdbarch.c (gdbarch_update): Update. | |
3384 | * mips-tdep.c: (mips_gdbarch_init): Update | |
3385 | ||
3386 | * gdbarch.c (gdbarch_update): Add more tracing. | |
3387 | ||
3388 | end-sanitize-carp end-sanitize-vr4xxx | |
3389 | Thu Dec 17 02:15:40 1998 Andrew Cagney <cagney@chook.cygnus.com> | |
3390 | ||
3391 | * configure.tgt (gdb_target): Identify mips64*vr4100*-*-elf* as | |
3392 | vr4100. | |
3393 | * config/mips/vr4100.mt, config/mips/tm-vr4100.h: Replace | |
3394 | vr4xxx.mt and tm-vr4xxx.h. | |
3395 | start-sanitize-vr4xxx | |
3396 | ||
3397 | * configure.tgt (gdb_target): Identify mips64*vr4xxx*-*-elf* as | |
3398 | vr4xxx. | |
3399 | * config/mips/vr4xxx.mt, config/mips/tm-vr4xxx.h: New files. | |
3400 | Define GDB_MULTI_ARCH and MIPS_DEFAULT_FPU_TYPE. | |
3401 | end-sanitize-vr4xxx | |
3402 | ||
dcf46491 | 3403 | start-sanitize-carp start-sanitize-vr4xxx |
ff6f2f57 AC |
3404 | Thu Dec 17 02:06:17 1998 Andrew Cagney <cagney@chook.cygnus.com> |
3405 | ||
3406 | * mips-tdep.c (mips_gdbarch_init): New function. Initialize a MIPS | |
3407 | architecture vector. | |
3408 | (_initialize_mips_tdep): Register MIPS with GDBARCH. | |
3409 | (struct gdbarch_tdep): Define. | |
3410 | (MIPS_EABI, MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM): When | |
3411 | multi-arch, get value from gdbarch->tdep. | |
3412 | ||
115c338d AC |
3413 | Thu Dec 17 02:01:58 1998 Andrew Cagney <cagney@chook> |
3414 | ||
3415 | * gdbtypes.c (_initialize_gdbtypes): Register all builtin types | |
3416 | with gdbarch so that they are updated whenever the architecture is | |
3417 | changed. | |
3418 | ||
dcf46491 AC |
3419 | Thu Dec 17 01:58:16 1998 Andrew Cagney <cagney@chook> |
3420 | ||
3421 | * gdbarch.h (GDB_MULTI_ARCH): New macro, default to zero. | |
3422 | (current_gdbarch): Current architecture pointer. | |
3423 | * gdbarch.c (struct gdbarch): Define. | |
3424 | ||
3425 | * gdbarch.h (TARGET_ARCHITECTURE, TARGET_BYTE_ORDER, | |
3426 | TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_PTR_BIT): When | |
3427 | multi-arch force definition. | |
3428 | * gdbarch.h, gdbarch.c (gdbarch_tdep, gdbarch_bfd_arch_info, | |
3429 | gdbarch_byte_order, {set,}gdbarch_long_bit, | |
3430 | {set,}gdbarch_long_long_bit, {set,}gdbarch_ptr_bit): Corresponding | |
3431 | functions. | |
3432 | ||
3433 | * gdbarch.h (struct gdbarch_list, struct gdbarch_info, | |
3434 | gdbarch_init_ftype), gdbarch.c (register_gdbarch_init): Mechanism | |
3435 | for registering an architecture with GDB. | |
3436 | (gdbarch_list_lookup_by_info, gdbarch_alloc, gdbarch_update, | |
3437 | verify_gdbarch): Support functions. | |
3438 | ||
3439 | * gdbarch.h (gdbarch_data_ftype), gdbarch.c | |
3440 | (register_gdbarch_data, gdbarch_data): Mechanism for maintaining | |
3441 | per-architecture pointers. | |
3442 | (init_gdbarch_data): Support functions. | |
3443 | ||
3444 | * gdbarch.h (gdbarch_swap_ftype), gdbarch.c | |
3445 | (register_gdbarch_swap): Ditto for swapped memory regions. | |
3446 | (init_gdbarch_swap, swapout_gdbarch_swap, swapin_gdbarch_swap): | |
3447 | Support functions. | |
3448 | ||
3449 | * gdbarch.c (set_endian_big, set_endian_little, set_architecture, | |
3450 | info_architecture, set_gdbarch_from_file): Hook in multi-arch | |
3451 | code by calling gdbarch_update. | |
3452 | (default_gdbarch): Default multi-arch vector. Use host's type | |
3453 | system for values. | |
3454 | ||
3455 | end-sanitize-carp end-sanitize-vr4xxx | |
e81bad50 AC |
3456 | Thu Dec 17 01:34:36 1998 Andrew Cagney <cagney@chook> |
3457 | ||
3458 | * gdbtypes.c (build_gdbtypes): New function. | |
3459 | (_initialize_gdbtypes): Call. | |
3460 | ||
5036d102 AC |
3461 | Wed Dec 16 11:47:00 1998 Andrew Cagney <cagney@chook> |
3462 | ||
3463 | * gdbarch.c (show_architecture): Use TARGET_ARCHITECTURE. | |
3464 | * gdbarch.h, gdbarch.c: Fix typo's. Use struct's in preference to | |
3465 | types. | |
3466 | * gdbarch.h, gdbarch.c (gdbarch_debug): Add ``set archdebug'' to | |
3467 | command set. | |
3468 | ||
759181e3 AC |
3469 | Tue Dec 15 23:46:40 1998 Andrew Cagney <cagney@chook> |
3470 | ||
3471 | * config/mips/tm-*.h: (TARGET_BYTE_ORDER_DEFAULT, | |
3472 | TARGET_BYTE_ORDER_SELECTABLE_P): Replace TARGET_BYTE_ORDER and | |
3473 | TARGET_BYTE_ORDER_SELECTABLE. | |
3474 | ||
fc5b254a JM |
3475 | 1998-12-14 Anthony Thompson (athompso@cambridge.arm.com) |
3476 | ||
3477 | * remote-rdp.c (rdp_init): Don't discard first character on reset. | |
3478 | (translate_open_mode): Define table. | |
3479 | (exec_swi): Handle SWI_Clock. SWI_Open now handles stdin/stdout. | |
3480 | SWI_Write returns number of bytes not written. SWI_Read does the | |
3481 | same. SWI_Seek should return success/failure flag. Fix SWI_Flen. | |
3482 | ||
6d2743e5 SS |
3483 | 1998-12-14 J.T. Conklin <jtc@redbacknetworks.com> |
3484 | ||
3485 | * config/i386/nbsd.mh, config/m68k/nbsd.mh, config/ns32k/nbsd.mh | |
3486 | (XDEPFILES): Add ser-tcp.o. | |
3487 | ||
14a15da3 AC |
3488 | Mon Dec 14 14:46:13 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3489 | ||
456c9134 AC |
3490 | * monitor.c (monitor_expect, monitor_printf_noecho, |
3491 | monitor_printf): Always compile EXTRA_RDEBUG code. | |
3492 | (RDEBUG): Ditto. | |
3493 | ||
14a15da3 AC |
3494 | From Michael Meissner <meissner@cygnus.com>: |
3495 | * ppcbug-rom.c (init_ppc_cmds): Cleanup formatting. | |
3496 | ||
20dd6c3b AC |
3497 | 1998-12-08 Michael Meissner <meissner@cygnus.com> |
3498 | ||
3499 | * monitor.c (monitor_printable_string): New function to convert a | |
3500 | string into a printable representation. | |
3501 | (monitor_error): Call error after converting string into printable | |
3502 | format. | |
3503 | (monitor_printf{,_noecho}): If EXTRA_RDEBUG is defined, convert | |
3504 | string into printable form before printing. | |
3505 | (monitor_expect): Ditto. | |
3506 | (monitor_read_memory{,_single}): Call monitor_error, not error. | |
3507 | (monitor_read_memory): Return immediately if length is 0. | |
3508 | ||
3509 | * ppcbug-rom.c (init_ppc_cmds): Fill in dump_registers field, | |
3510 | which is now required. | |
3511 | ||
f7e85b1b AC |
3512 | Mon Dec 14 11:01:39 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3513 | ||
3514 | * gdbarch.h, gdbarch.c: Consolidate the semi-dynamic target system | |
3515 | dependant GDB parameters. | |
3516 | (set_gdbarch_from_file): Combine set_architecture_from_file and | |
3517 | set_byte_order_from_file. | |
3518 | * top.c, defs.h, printcmd.c: Delete them from here. | |
3519 | * Makefile.in: Add gdbarch.[ch]. | |
3520 | * exec.c (exec_file_command): Call set_gdbarch_from_file. | |
3521 | ||
aaa3c096 AC |
3522 | Sun Dec 13 09:52:51 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3523 | ||
3524 | * defs.h (TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN): Define. | |
3525 | (TARGET_ARCHITECTURE, TARGET_ARCHITECTURE_AUTO): Define. | |
3526 | (TARGET_BYTE_ORDER_AUTO): Define. | |
3527 | (TARGET_BYTE_ORDER_SELECTABLE_P): Provide default. Replaces | |
3528 | TARGET_BYTE_ORDER_SELECTABLE. Handle compat issues. | |
3529 | (BITS_BIG_ENDIAN): Simplify. | |
3530 | (TARGET_FLOAT_FORMAT): Ditto. | |
3531 | (TARGET_DOUBLE_FORMAT): | |
3532 | ||
f0b51514 AC |
3533 | * remote-e7000.c, sh-tdep.c, printcmd.c, remote-sim.c, |
3534 | remote-rdi.c, sparc-tdep.c: Update. | |
aaa3c096 AC |
3535 | |
3536 | * config/powerpc/tm-ppcle-eabi.h, config/rs6000/tm-rs6000.h, | |
3537 | config/powerpc/tm-ppc-eabi.h, config/mn10300/tm-mn10300.h: | |
3538 | Convert. | |
3539 | ||
86a51f41 AC |
3540 | Sat Dec 12 09:28:13 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3541 | ||
3542 | * frame.h (struct frame_info): Add CORE_ADDR *saved_regs and | |
3543 | struct frame_extra_info *extra_info. | |
3544 | (frame_obstack_alloc, frame_saved_regs_zalloc): Prototype. | |
3545 | (SIZEOF_FRAME_SAVED_REGS): Provide default. | |
3546 | (FRAME_INIT_SAVED_REGS): Provide default. | |
3547 | (struct frame_saved_regs): Deprecate. | |
3548 | (EXTRA_FRAME_INFO): Deprecate. | |
3549 | ||
3550 | * blockframe.c (frame_obstack_alloc, frame_saved_regs_zalloc): New | |
3551 | function. | |
3552 | (generic_get_saved_register): Use FRAME_INIT_SAVED_REGS and | |
3553 | frame->saved_regs. | |
3554 | (frame_cache_obstack): Make static. | |
3555 | (get_frame_saved_regs): Deprecate. Copy the saved regs into the | |
3556 | frame buffer. | |
3557 | ||
3558 | * stack.c (frame_info): Rewrite using frame->saved_regs and | |
3559 | FRAME_INIT_SAVED_REGS. | |
3560 | * findvar.c (find_saved_register): Ditto. | |
3561 | ||
3562 | * config/mn10300/tm-mn10300.h (EXTRA_FRAME_INFO): Delete. | |
3563 | (FRAME_FIND_SAVED_REGS): Replace with FRAME_INIT_SAVED_REGS. No-op. | |
3564 | * mn10300-tdep.c: Update. | |
3565 | (analyze_dummy_frame): New function. | |
3566 | (struct frame_extra_info): Define. | |
3567 | (mn10300_init_extra_frame_info): Update. | |
3568 | ||
3569 | * config/rs6000/tm-rs6000.h: (EXTRA_FRAME_INFO): Delete. | |
3570 | (FRAME_FIND_SAVED_REGS): Replace with FRAME_INIT_SAVED_REGS. | |
3571 | (FRAME_ARGS_ADDRESS): Replace with function. | |
3572 | ||
3573 | * rs6000-tdep.c (frame_get_saved_regs): Rename from | |
3574 | frame_get_cache_fsr. | |
3575 | (rs6000_init_extra_frame_info): New function. | |
3576 | (rs6000_frame_init_saved_regs): Call frame_get_saved_regs. | |
3577 | (FUNCTION_START_OFFSET): Delete references, was ZERO. | |
3578 | (rs6000_frame_args_address): New function. | |
3579 | (frame_initial_stack_address): Update | |
3580 | ||
3581 | * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Remove saved_regs. | |
3582 | (FRAME_INIT_SAVED_REGS): Rename FRAME_FIND_SAVED_REGS, update. | |
3583 | * mips-tdep.c (mips_find_saved_regs, read_next_frame_reg, | |
3584 | init_extra_frame_info, mips_pop_frame): Update. | |
3585 | * config/alpha/tm-alpha.h (FRAME_INIT_SAVED_REGS, | |
3586 | EXTRA_FRAME_INFO), alpha-tdep.c (alpha_find_saved_regs, | |
3587 | alpha_pop_frame, init_extra_frame_info): Ditto. | |
3588 | ||
3589 | * i960-tdep.c, m88k-tdep.c, h8300-tdep.c: Update. | |
3590 | * config/sparc/tm-sparc.h, config/a29k/tm-a29k.h: Define | |
3591 | FRAME_INIT_SAVED_REGS as no-op. | |
3592 | ||
3593 | * z8k-tdep.c (z8k_init_frame_saved_regs): Rename | |
3594 | get_frame_saved_regs. | |
3595 | (examine_frame, z8k_skip_prologue): Update. | |
3596 | * config/z8k/tm-z8k.h (FRAME_INIT_SAVED_REGS): Define. | |
3597 | ||
a4c7e965 FN |
3598 | 1998-12-11 Fernando Nasser <fnasser@totem.to.cygnus.com> |
3599 | ||
3600 | From J.T. Conklin <jtc@redbacknetworks.com>: | |
3601 | * i386-stub.c (handle_exception): Add support for 'P' command. | |
3602 | (NUMREGS): New macro. | |
3603 | ||
852b7d11 JM |
3604 | start-sanitize-sky |
3605 | 1998-12-11 Jeff Law (law@cygnus.com) | |
3606 | ||
b5c7e122 | 3607 | * txvu-tdep.c (set_vxtu_prompt): Rename set_prompt. |
0b174df8 | 3608 | |
b5c7e122 SS |
3609 | * configure.in (with-sim-gpu2): Do not emit a -L argument without |
3610 | an associated pathname. Link in the math library after the gpu2 | |
3611 | library. | |
852b7d11 JM |
3612 | |
3613 | end-sanitize-sky | |
8b1773ee AC |
3614 | Fri Dec 11 09:07:05 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3615 | ||
3616 | * i386b-nat.c: Include "expression.h". | |
3617 | ||
3618 | * symtab.h: Don't include "gnu-regex.h". | |
3619 | ||
3620 | * solib.c (solib_add_common_symbols): Cast parameters passed to | |
3621 | make_cleanup to use the new make_cleanup_func typedef. | |
3622 | ||
3623 | * inftarg.c: Include "wait.h" after, rather than before, <wait.h>. | |
3624 | "wait.h" was defining all WIF* macro's instead of filling in those | |
3625 | that <wait.h> missed. | |
3626 | ||
d70a61e7 AC |
3627 | Fri Dec 11 09:52:04 1998 Andrew Cagney <cagney@chook> |
3628 | ||
f0b51514 AC |
3629 | * mipsm3-nat.c, hppah-nat.c, infptrace.c, i386gnu-nat.c, |
3630 | hppab-nat.c, core-aout.c, arm-xdep.c, alpha-nat.c, altos-xdep.c, | |
3631 | pyr-xdep.c, remote-st.c, remote-os9k.c, tahoe-tdep.c, pyr-tdep.c, | |
3632 | vax-tdep.c: Replace reg_name with REGISTER_NAME. | |
d70a61e7 | 3633 | |
4770ff08 DT |
3634 | Thu Dec 10 15:19:40 1998 David Taylor <taylor@texas.cygnus.com> |
3635 | ||
3636 | The following changes were made by Jim Blandy <jimb@cygnus.com>, | |
3637 | Edith Epstein <eepstein@cygnus.com>, Elena Zannoni | |
3638 | <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David | |
3639 | Taylor <taylor@cygnus.com>, as part of the project to merge in | |
3640 | changes originally made by HP; HP did not create ChangeLog | |
3641 | entries. | |
3642 | ||
b5c7e122 | 3643 | * annotate.c (annotate_catchpoint): New function. |
4770ff08 | 3644 | |
b5c7e122 | 3645 | * annotate.h (annotate_catchpoint): declare it; add new includes |
4770ff08 DT |
3646 | (symtab.h and gdbtypes.h). |
3647 | ||
b5c7e122 | 3648 | * buildsym.h: add external var processing_hp_compilation. |
4770ff08 DT |
3649 | |
3650 | * coff-solib.h: | |
3651 | (SOLIB_REMOVE_INFERIOR_HOOK): new macro. defined to 0. | |
3652 | functionality not implemented for coff. | |
3653 | (SOLIB_CREATE_CATCH_LOAD_HOOK): New macro; generate error msg for coff. | |
3654 | (SOLIB_CREATE_CATCH_UNLOAD_HOOK): ditto. | |
3655 | (SOLIB_HAVE_LOAD_EVENT): ditto. | |
3656 | (SOLIB_LOADED_LIBRARY_PATHNAME): ditto. | |
3657 | (SOLIB_HAVE_UNLOAD_EVENT): ditto. | |
3658 | (SOLIB_UNLOADED_LIBRARY_PATHNAME): ditto. | |
3659 | (SOLIB_IN_DYNAMIC_LINKER): ditto. | |
3660 | (SOLIB_RESTART): ditto. | |
3661 | ||
3662 | * complaints.h: add ifdef...endif pair at beginning and end of file. | |
3663 | ||
3664 | * dstread.c (dst_symfile_read): the parameter to fileno | |
3665 | must be of type FILE *. So cast abfd->iostream in the | |
3666 | call to fileno must be cast as a FILE *, not a GDB_FILE *. | |
3667 | This will work because abfd->iostream is declared and | |
3668 | given a value in bdf and bfd will continue to use FILE | |
3669 | rather than GDB_FILE. | |
3670 | ||
3671 | * dwarf2read.c (dwarf_bool_name): change parameter from bool | |
3672 | to mybool. sigh. | |
3673 | ||
3674 | * expression.h: include symtab.h | |
3675 | ||
3676 | * frame.h (print_only_stack_frame, show_stack_frame, | |
3677 | show_frame_info): add prototypes. | |
3678 | ||
3679 | * gdbcmd.h (togglelist, stoplist): declare. | |
3680 | ||
3681 | * gdbcore.h (read_memory_string): declare it. | |
3682 | (exec_file_attach): add prototype. | |
3683 | ||
3684 | * inflow.c (terminal_is_ours): make non static. | |
3685 | ||
3686 | * minsyms.c: minor spacing change. | |
3687 | ||
3688 | * parser-defs.h (parse_nested_classes_for_hpacc): add prototype. | |
3689 | (find_template_name_end): add prototype. | |
3690 | ||
3691 | * scm-lang.c (scm_unpack): cast svalue to (int). | |
3692 | ||
3693 | * top.h: declare it. | |
3694 | ||
b5c7e122 | 3695 | * valprint.h (print_binary_chars): new prototype definition. |
4770ff08 DT |
3696 | (print_octal_chars): new prototype definition. |
3697 | (print_decimal_chars): new prototype definition. | |
3698 | ||
9ddf9aa9 AC |
3699 | Thu Dec 10 07:14:56 1998 Andrew Cagney <cagney@chook> |
3700 | ||
3701 | * config/arm/tm-arm.h, arm-tdep.c: Replace REGISTER_NAMES with | |
3702 | REGISTER_NAME. | |
3703 | * mn10300-tdep.c, config/mn10300/tm-mn10300.h: Ditto. | |
3704 | * sh-tdep.c, config/sh/tm-sh.h: Ditto. | |
3705 | ||
3706 | * defs.h (REGISTER_NAME): Provide default for old targets. | |
3707 | * defs.h, infcmd.c: Rename reg_names to gdb_register_names. | |
3708 | ||
3709 | * tracepoint.c, target.c, parse.c, infcmd.c, remote-udi.c, | |
3710 | expprint.c, infcmd.c, printcmd.c, eval.c, stack.c, findvar.c, | |
3711 | remote-udi.c, config/alpha/tm-alpha.h, remote-sim.c, d30v-tdep.c, | |
91e14aa9 SS |
3712 | config/mips/tm-mips.h, hppa-tdep.c: Use REGISTER_NAME. |
3713 | start-sanitize-sky | |
3714 | * config/mips/tm-txvu.h, txvu-tdep.c: Ditto. | |
3715 | end-sanitize-sky | |
9ddf9aa9 | 3716 | |
e351e0fc JW |
3717 | 1998-12-08 James E Wilson <wilson@wilson-pc.cygnus.com> |
3718 | ||
3719 | * config/i960/mon960.mt (SIM_OBJS, SIM): Define. | |
3720 | ||
ab796a3d SS |
3721 | Tue Dec 8 16:49:24 1998 Stan Shebs <shebs@andros.cygnus.com> |
3722 | ||
3723 | * NEWS: Add mentions of newly-added configurations. | |
3724 | ||
ac95dc5e JM |
3725 | 1998-12-08 Philippe De Muyter <phdm@macqel.be> |
3726 | ||
3727 | * config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window' | |
3728 | must accept a signal number as parameter. | |
3729 | * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto. | |
3730 | * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'. | |
3731 | ||
3732 | * inferior.h (register_valid): Variable's type is `SIGNED char', not | |
3733 | `char'. | |
3734 | * findvar.c (register_valid): Ditto. | |
3735 | ||
3736 | * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'. | |
3737 | * gdbthread.h (unbind_target_thread_vector): Likewise. | |
3738 | ||
1994dc7c EE |
3739 | Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com> |
3740 | ||
09faf0c2 EE |
3741 | Merged in m68k-linux patch from Andreas Schwab |
3742 | ||
3743 | 1998-12-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
3744 | ||
3745 | * Makefile.in, configure.host, configure.tgt: Add support for | |
3746 | m68k-linux. | |
3747 | * config/m68k/linux.mh: New file. | |
3748 | * config/m68k/linux.mt: New file. | |
3749 | * config/m68k/nm-linux.h: New file. | |
3750 | * config/m68k/tm-linux.h: New file. | |
3751 | * config/m68k/xm-linux.h: New file. | |
3752 | * gdb/m68klinux-nat.c: New file. | |
3753 | * gdbserver/low-linux.c: Add support for m68k-linux. | |
3754 | * gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro. | |
1994dc7c | 3755 | |
223a3588 JM |
3756 | 1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com) |
3757 | ||
3758 | * config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition. | |
3759 | * config/powerpc/xm-cygwin.h: Ditto. | |
3760 | ||
0bd416fe JB |
3761 | 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com> |
3762 | ||
3763 | * rs6000-tdep.c (pop_frame): Correctly find the registers saved in | |
3764 | the stack frame. Their offset from the previous stack frame is in | |
3765 | fdata.gpr_offset and fdata.fpr_offset, not fdata.offset. | |
3766 | (gdb.base/return.exp) | |
3767 | * config/rs6000/tm-rs6000.h: Doc fixes. | |
3768 | ||
edc452d0 JM |
3769 | 1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com) |
3770 | ||
3771 | * monitor.c (monitor_read_memory): Zero out pattern buffers | |
3772 | before calling re_search. | |
3773 | (parse_register_dump): Ditto. | |
254ba536 ZR |
3774 | |
3775 | Thu Dec 3 10:37:22 EST 1998 Zdenek Radouch (radouch@cygnus.com) | |
3776 | ||
3777 | FR30 updates - still very preliminary. | |
3778 | * configure.tgt | |
3779 | * fr30-tdep.c | |
3780 | * config/fr30/tm-fr30.h | |
254ba536 | 3781 | |
1c3cd1b0 AC |
3782 | Thu Dec 3 16:30:35 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3783 | ||
3784 | * ax-gdb.c: Include target.h. | |
3785 | ||
3786 | Tue Dec 3 10:59:00 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
3787 | ||
3788 | * ax-gdb.c (_initialize_ax_gdb), i960-tdep.c (pop_frame), | |
3789 | monitor.c (flush_monitor_dcache, longlongendswap), remote-array.c | |
3790 | (hexword2ascii), w89k-rom.c (init_w89k_cmds), z8k-tdep.c | |
3791 | (init_frame_pc, extract_return_value): Make return type void. | |
3792 | * monitor.c (monitor_write_even_block): Make return type explicit. | |
3793 | (monotor_read_memory_block): Delete function. | |
3794 | * monitor.h: Update. | |
3795 | * remote.c (remote_get_threadlist, remote_update_threads), | |
3796 | remote-array.c (array_get_packet), remote-rdi.c (Fail): Always | |
3797 | return a value. | |
3798 | * m32r-tdep.c (m32r_fix_call_dummy): From Michael Snyder, void | |
3799 | function. | |
3800 | * jv-valprint.c (java_val_print): From Stu Grossman. Return 0 by | |
3801 | default. | |
3802 | ||
55be5ef5 MS |
3803 | Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
3804 | ||
3805 | * tracepoint.c: Move default definition of | |
3806 | TARGET_VIRTUAL_FRAME_POINTER from here to target.h. | |
3807 | * target.h: Add default definition of TARGET_VIRTUAL_FRAME_POINTER. | |
3808 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): | |
3809 | use TARGET_VIRTUAL_FRAME_POINTER to determine frame pointer. | |
3810 | (gen_trace_for_expr): new argument, address of tracepoint, | |
3811 | gets passed to new_agent_expr and added to struct agent_expr. | |
3812 | (is_nontrivial_conversion): call to new_agent_expr now requires | |
3813 | a dummy argument. (agent_command): use get_current_frame() to | |
3814 | get current PC scope; pass it to gen_trace_for_expr. | |
3815 | * ax-general.c (new_agent_expr): new argument, address of | |
3816 | tracepoint; store it in new field of struct agent_expr. | |
3817 | * ax.h (struct agent_expr): add new field for tracepoint address. | |
3818 | * ax-gdb.h: change prototypes to match above changes. | |
3819 | ||
a9d0b923 MS |
3820 | * m32r-tdep.c (decode_prologue): If no branch or push fp is found, |
3821 | but there's a stack adjust, then use that as the end of prologue. | |
3822 | (m32r_skip_prologue): don't skip past the first line if there is | |
3823 | line info. (m32r_virtual_frame_pointer): new function. | |
3824 | (m32r_fix_call_dummy): no return value needed. | |
3825 | ||
55be5ef5 MS |
3826 | Tue Dec 1 10:59:00 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3827 | ||
3828 | * ocd.c (remote_timeout), (BDM_BREAKPOINT), monitor.c (readchar), | |
3829 | remote.c: Cleanup closing of open comments. | |
3830 | ||
3f235519 DE |
3831 | Mon Nov 30 16:04:03 1998 Doug Evans <devans@canuck.cygnus.com> |
3832 | ||
3833 | * config/fr30/tm-fr30.h (INNER_THAN): Add parameters. | |
3834 | ||
b6960094 AC |
3835 | Mon Nov 30 11:18:48 1998 Andrew Cagney <cagney@chook> |
3836 | ||
3837 | * frame.h (FRAME_CHAIN_VALID): Default to | |
3838 | default_frame_chain_valid. | |
3839 | * blockframe.c (default_frame_chain_valid): New function. | |
3840 | ||
3841 | * frame.h (FRAME_CHAIN_VALID_ALTERNATIVE): Delete references | |
3842 | * blockframe.c (alternate_frame_chain_valid): New function. | |
3843 | * config/mips/tm-mipsv4.h, config/m88k/tm-delta88v4.h, | |
3844 | config/m68k/tm-monitor.h, config/m68k/tm-m68kv4.h, | |
3845 | config/i386/tm-i386v4.h, config/i386/tm-i386nw.h, | |
3846 | config/h8300/tm-h8300.h: Update. | |
3847 | ||
3848 | * blockframe.c (nonnull_frame_chain_valid): New function. | |
3849 | * config/m68k/tm-os68k.h, config/m68k/tm-vx68.h, | |
3850 | config/m68k/tm-apollo68b.h, config/i960/tm-vx960.h, | |
3851 | config/arc/tm-arc.h: Update FRAME_CHAIN_VALID. | |
3852 | ||
3853 | * hppa-tdep.c (frame_chain_valid, hppa_frame_chain_valid), | |
3854 | remote-vx29k.c (get_fp_contents, vx29k_frame_chain_valid), | |
3855 | arm-tdep.c (frame_chain_valid, arm_frame_chain_valid): Rename | |
3856 | functions so that they are name space clean. | |
3857 | * config/pa/tm-hppa.h, config/a29k/tm-vx29k.h, | |
3858 | config/arm/tm-arm.h: Update FRAME_CHAIN_VALID. | |
3859 | ||
3860 | * gould-tdep.c (gould_frame_chain_valid), d30v-tdep.c | |
3861 | (d30v_frame_chain_valid), d10v-tdep.c (d10v_frame_chain_valid): | |
3862 | New functions. | |
3863 | * config/gould/tm-np1.h, config/gould/tm-pn.h, | |
3864 | config/d30v/tm-d30v.h, config/d10v/tm-d10v.h: Update | |
3865 | FRAME_CHAIN_VALID. | |
3866 | ||
8743fc88 AC |
3867 | Sun Nov 29 11:18:37 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3868 | ||
3869 | * z8k-tdep.c (z8k_addr_bits_remove), w65-tdep.c | |
3870 | (w65_addr_bits_remove), h8500-tdep.c (h8500_addr_bits_remove), | |
3871 | m88k-tdep.c (m88k_addr_bits_remove): Function to clean up an | |
3872 | address. | |
3873 | * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/m88k/tm-m88k.h, | |
3874 | config/h8500/tm-h8500.h: Define ADDR_BITS_REMOVE to call targets | |
3875 | corresponding function. | |
3876 | * z8k-tdep.c (saved_pc_after_call): Update. | |
3877 | ||
3a0c96a9 AC |
3878 | Sat Nov 28 12:24:31 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3879 | ||
3880 | * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h, | |
3881 | config/v850/tm-v850.h, config/tahoe/tm-tahoe.h, | |
3882 | config/sparc/tm-sparc.h, config/sh/tm-sh.h, | |
3883 | config/rs6000/tm-rs6000.h, config/pyr/tm-pyr.h, | |
3884 | config/pa/tm-hppa.h, config/ns32k/tm-umax.h, | |
3885 | config/ns32k/tm-merlin.h, config/none/tm-none.h, | |
3886 | config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h, | |
3887 | config/mips/tm-mips.h, config/m88k/tm-m88k.h, | |
3888 | config/m68k/tm-m68k.h, config/m32r/tm-m32r.h, | |
3889 | config/i960/tm-i960.h, config/i386/tm-i386.h, | |
3890 | config/h8500/tm-h8500.h, config/h8300/tm-h8300.h, | |
3891 | config/gould/tm-pn.h, config/gould/tm-np1.h, config/arm/tm-arm.h, | |
3892 | config/convex/tm-convex.h, config/d10v/tm-d10v.h, | |
3893 | config/alpha/tm-alpha.h, config/a29k/tm-a29k.h: Add parameters to | |
3894 | macro INNER_THAN. | |
3895 | ||
3896 | * valops.c (push_word, value_push, call_function_by_hand), | |
3897 | breakpoint.c (bpstat_stop_status), blockframe.c | |
3898 | (generic_push_dummy_frame, generic_frame_chain_valid), inferior.h | |
3899 | (PC_IN_CALL_DUMMY), infrun.c (wait_for_inferior): Update use of | |
3900 | INNER_THAN. | |
3901 | ||
02331869 AC |
3902 | Fri Nov 27 11:00:25 1998 Andrew Cagney <cagney@chook> |
3903 | ||
3904 | * target.h (one_stepped): Move global from here. | |
3905 | * infrun.c (singlestep_breakpoints_inserted_p): To here. Rename. | |
3906 | Make static. | |
3907 | (wait_for_inferior): Update. | |
3908 | (resume): Update. Set variable after call to SOFTWARE_SINGLE_STEP. | |
3909 | ||
3910 | * target.h (NO_SINGLE_STEP): Replace with SOFTWARE_SINGLE_STEP_P | |
3911 | and SOFTWARE_SINGLE_STEP. | |
3912 | * config/sparc/tm-sparc.h, config/rs6000/tm-rs6000.h, | |
3913 | config/arc/tm-arc.h: Update. | |
3914 | * rs6000-tdep.c (rs6000_software_single_step), sparc-tdep.c | |
3915 | (sparc_software_single_step), arc-tdep.c (arc_single_step): New | |
3916 | functions. Replace function single_step. | |
3917 | ||
3918 | * config/mips/tm-mips.h (STEP_SKIPS_DELAY_P): Define. | |
3919 | * infrun.c (proceed): Cleanup. | |
3920 | start-sanitize-sky | |
3921 | * config/mips/tm-txvu.h (STEP_SKIPS_DELAY), txvu-tdep.c | |
3922 | (txvu_step_skips_delay): Change macro to function. | |
86a51f41 | 3923 | end-sanitize-sky |
91e14aa9 | 3924 | |
679ce731 AC |
3925 | Thu Nov 26 11:19:15 1998 Andrew Cagney <cagney@amy.cygnus.com> |
3926 | ||
3927 | * config/alpha/tm-alpha.h (ABOUT_TO_RETURN): Replace macro. | |
3928 | * alpha-tdep.c (alpha_about_to_return): With new function. | |
3929 | (heuristic_proc_start): Update. | |
3930 | * config/mips/tm-mips.h (ABOUT_TO_RETURN), mips-tdep.c | |
3931 | (heuristic_proc_start, mips_about_to_return): Ditto. | |
3932 | * config/ns32k/tm-merlin.h (ABOUT_TO_RETURN), | |
3933 | config/ns32k/tm-umax.h (ABOUT_TO_RETURN), ns32k-tdep.c | |
3934 | (ns32k_about_to_return, ns32k_get_enter_addr): Ditto. | |
3935 | ||
3936 | * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h, | |
3937 | config/tahoe/tm-tahoe.h, config/sparc/tm-sparc.h, | |
3938 | config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pyr/tm-pyr.h, | |
3939 | config/pa/tm-hppa.h, config/m88k/tm-m88k.h, config/m68k/tm-m68k.h, | |
3940 | config/i960/tm-i960.h, config/i386/tm-i386.h, | |
3941 | config/h8500/tm-h8500.h, config/h8300/tm-h8300.h, | |
3942 | config/gould/tm-pn.h, config/gould/tm-np1.h, | |
3943 | config/convex/tm-convex.h, config/arm/tm-arm.h, | |
3944 | config/arc/tm-arc.h, config/a29k/tm-a29k.h: Delete macro | |
3945 | ABOUT_TO_RETURN. | |
3946 | * config/w65/tm-w65.h (RTL, RTS): Delete macros. | |
3947 | * h8500-tdep.c (about_to_return): Delete function. | |
3948 | ||
07137a11 AC |
3949 | Thu Nov 26 11:19:15 1998 Andrew Cagney <cagney@chook.cygnus.com> |
3950 | ||
3951 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint | |
3952 | and little_breakpoint to char[] from char*. | |
3953 | * remote-array.c (array_insert_breakpoint): Change bp_addr to | |
3954 | CORE_ADDR type. | |
3955 | ||
c8623080 AC |
3956 | Wed Nov 25 00:13:06 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3957 | ||
3958 | * vx-share/xdr_ld.c (xdr_ldtabl): Cast second arg to char** | |
3959 | instead of char*. | |
3960 | ||
3961 | * configure.tgt (v850): Only build v850ice when cygwin and gui. | |
3962 | * configure.in: Add parameter to --enable-build-warnings. | |
3963 | * configure: Re-build. | |
3964 | ||
3965 | * c-exp.y (parse_number): Rewrite shift to pacify GCC. | |
3966 | ||
3967 | * config/i960/tm-i960.h (BREAKPOINT): Delete definition - simply | |
3968 | wrong. | |
3969 | ||
3970 | * monitor.c (compile_pattern): Make val const char*. | |
3971 | (monitor_wait_cleanup): Make old_timeout void*, pointing at | |
3972 | old_timeout. | |
3973 | (monitor_wait): Update. | |
3974 | ||
3975 | * remote-udi.c, remote-sim.c, remote-e7000.c, hppa-tdep.c, | |
3976 | remote-mips.c, sparcl-tdep.c, xcoffread.c: Cast parameters passed | |
3977 | to make_cleanup to use the new make_cleanup_func typedef. | |
3978 | ||
3979 | * alpha-tdep.c (MASK): Use LONGEST to avoid arithmetic overflow. | |
3980 | ||
3981 | * config/a29k/tm-a29k.h (TRANSPARENT): Rename macro to | |
3982 | TRANSPARENT_FRAME. Avoid name-space clash. | |
3983 | * a29k-tdep.c (init_frame_info): Update. | |
3984 | ||
9ff152f7 AC |
3985 | Wed Nov 25 20:37:00 1998 Andrew Cagney <cagney@b1.cygnus.com> |
3986 | ||
679ce731 AC |
3987 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint |
3988 | and little_breakpoint to char[] from char*. | |
9ff152f7 AC |
3989 | * mem-break.c (memory_insert_breakpoint, |
3990 | memory_remove_breakpoint): Pass address of bplen. | |
679ce731 AC |
3991 | * remote-array.c (array_insert_breakpoint): Change bp_addr to |
3992 | CORE_ADDR type. | |
9ff152f7 | 3993 | |
f8c41900 GRK |
3994 | start-sanitize-vr4xxx |
3995 | 1998-11-24 Gavin Romig-Koch <gavin@cygnus.com> | |
3996 | ||
3997 | * configure.tgt: Handle mips64*vr4xxx. | |
3998 | ||
3999 | end-sanitize-vr4xxx | |
4000 | Tue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com> | |
4001 | ||
4002 | * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): | |
4003 | new target macro. | |
4004 | * mn10300-tdep.c (mn10300_virtual_frame_pointer): new function. | |
4005 | * tracepoint.c (encode_actions): Use the new target macro to | |
4006 | determine the virtual frame pointer, for collecting locals/args. | |
4007 | (add_local_symbols, collect_symbol): add a register/offset pair of | |
4008 | arguments so that the virtual frame pointer can be passed in. | |
4009 | ||
15af627c FL |
4010 | 1998-11-24 Felix Lee <flee@cygnus.com> |
4011 | ||
4012 | * procfs.c (procfs_wait): handle syscall events first. | |
4013 | ||
4014 | * procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros. | |
4015 | * config/sparc/xm-sun4sol2.h: use them. | |
4016 | * core-sol2.c: don't #undef gregset_t and fpregset_t. | |
4017 | * sol-thread.c: ditto. | |
4018 | * sparc-tdep.c: ditto. | |
4019 | ||
afcad54a AC |
4020 | Tue Nov 24 14:13:10 1998 Andrew Cagney <cagney@chook> |
4021 | ||
4022 | * breakpoint.c (memory_breakpoint_size): Delete global. | |
4023 | (read_memory_nobpt): Determine real breakpoint address and size | |
4024 | using BREAKPOINT_FROM_PC. | |
4025 | ||
4026 | * defs.h (breakpoint_from_pc_fn): BREAKPOINT_FROM_PC function | |
4027 | template. | |
4028 | * target.h, mem-break.c (memory_breakpoint_from_pc): | |
4029 | Rewrite. Always define. Return NULL when memory breakpoints are | |
4030 | not supported. | |
4031 | (memory_insert_breakpoint, memory_remove_breakpoint): Call | |
4032 | BREAKPOINT_FROM_PC. | |
4033 | * target.h (BREAKPOINT_FROM_PC): Provide default. | |
4034 | * gdbint.texinfo (BREAKPOINT_FROM_PC): Document. | |
4035 | ||
4036 | * config/rs6000/tm-rs6000.h (BREAKPOINT): Delete macro. | |
4037 | (BREAKPOINT_FROM_PC): Define. | |
4038 | ({BIG,LITTLE}_BREAKPOINT): Move macros from here. | |
4039 | * rs6000-tdep.c: To here. | |
4040 | (rs6000_breakpoint_from_pc): New function. | |
4041 | ||
4042 | * config/mn10300/tm-mn10300.h (BREAKPOINT): Delete macro. | |
4043 | (BREAKPOINT_FROM_PC): Define, call. | |
4044 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): New function. | |
4045 | ||
4046 | * config/mips/tm-mips.h ({BIG,LITTLE}_BREAKPOINT, | |
4047 | IDT_{BIG,LITTLE}_BREAKPOINT, PMON_{BIG,LITTLE}_BREAKPOINT, | |
4048 | MIPS16_{BIG,LITTLE}_BREAKPOINT): Move macros from here. | |
4049 | * mips-tdep.c: To here. | |
4050 | start-sanitize-sky | |
4051 | * txvu-tdep.c (core_break_insn): Delete variable. | |
4052 | (txvu_insert_breakpoint): Update, use BREAKPOINT_FROM_PC. | |
4053 | end-sanitize-sky | |
4054 | ||
4055 | * config/arm/tm-arm.h ({BIG,LITTLE}_BREAKPOINT): Delete macros. | |
4056 | ({ARM,THUMB}_{BE,LE}_BREAKPOINT): Move macros from here. | |
4057 | * arm-tdep.c: To here. | |
4058 | ||
4059 | * remote-array.c (memory_breakpoint_size): Delete variable. | |
4060 | (array_insert_breakpoint): Obtain breakpoint size using | |
4061 | BREAKPOINT_FROM_PC. | |
4062 | * remote-st.c (memory_breakpoint_size, st2000_insert_breakpoint): | |
4063 | Ditto. | |
4064 | * remote-os9k.c (memory_breakpoint_size, | |
4065 | rombug_insert_breakpoint): Ditto. | |
4066 | * remote-e7000.c (memory_breakpoint_size): Ditto. | |
4067 | ||
e1dba9c4 MS |
4068 | Mon Nov 23 11:38:40 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4069 | ||
4070 | * symfile.c (deduce_language_from_filename): rewrite so as to | |
4071 | work from a table of filename extensions, modifiable by the user. | |
4072 | (filename_language_table): new data structure. | |
4073 | (set_ext_lang_command): new function for new command, "set | |
4074 | extension-language". (info_extension_language_command): new | |
4075 | function for new command "info extension-languages". | |
4076 | (add_filename_language, init_filename_language_table): new | |
4077 | support functions for the above. | |
4078 | * language.c (language_enum): new function. Support for above. | |
4079 | ||
98760eab AC |
4080 | Mon Nov 23 10:47:54 1998 Andrew Cagney <cagney@chook.cygnus.com> |
4081 | ||
4082 | * config/sh/tm-sh.h, config/mn10200/tm-mn10200.h, | |
4083 | config/m32r/tm-m32r.h, config/arm/tm-arm.h, config/i960/tm-i960.h, | |
4084 | config/gould/tm-np1.h, config/d10v/tm-d10v.h, | |
4085 | config/v850/tm-v850.h, config/pa/tm-hppa.h, config/a29k/tm-a29k.h, | |
4086 | config/mn10300/tm-mn10300.h, config/mips/tm-mips.h | |
4087 | (USE_STRUCT_CONVENTION): Cleanup, define macro as function. | |
4088 | ||
4089 | * sh-tdep.c (sh_use_struct_convention), mn10200-tdep.c | |
4090 | (mn10200_use_struct_convention), i960-tdep.c | |
4091 | (i960_use_struct_convention), gould-tdep.c | |
4092 | (gould_use_struct_convention), d10v-tdep.c | |
4093 | (d10v_use_struct_convention), v850-tdep.c | |
4094 | (v850_use_struct_convention), hppa-tdep.c | |
4095 | (hpha_use_struct_convention), m32r-tdep.c | |
4096 | (m32r_use_struct_convention), arm-tdep.c | |
4097 | (arm_use_struct_convention), mn10300-tdep.c | |
4098 | (mn10300_use_struct_convention), a29k-tdep.c | |
4099 | (a29k_use_struct_convention), mips-tdep.c | |
4100 | (mips_use_struct_convention): New functions | |
4101 | ||
4102 | * value.h, values.c (generic_use_struct_convention): New function, | |
4103 | replace macro. | |
4104 | * values.c (USE_STRUCT_CONVENTION): Macro defaults to function | |
4105 | generic_use_struct_convention. | |
4106 | ||
6b29a8b1 SS |
4107 | Sat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be> |
4108 | ||
92fb1f2e SS |
4109 | * breakpoint.c (bpstat_stop_status): Do not increment hit_count |
4110 | of breakpoint if condition is not true. | |
4111 | ||
aa8938d5 SS |
4112 | * coffread.c (coff_symtab_read): Discard C_LABEL's that are not |
4113 | function entry points, to avoid getting them in the stack dump | |
4114 | instead of the actual function. | |
4115 | ||
6b29a8b1 SS |
4116 | * config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change; |
4117 | without NAT_FILE definition, configure will assume that GDB cannot | |
4118 | run native. | |
4119 | * config/m68k/nm-delta68.h (KERNEL_U_SIZE): New macro. | |
4120 | * delta68-nat.c (kernel_u_size): New function. | |
4121 | ||
60a98b30 AC |
4122 | Fri Nov 20 10:13:03 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4123 | ||
4124 | * buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK. | |
4125 | ||
2196638d GN |
4126 | Thu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com> |
4127 | ||
4128 | * rdi-share/host.h: if compiling under Cygwin, make sure new | |
4129 | preprocessor define is defined. Define it if not. | |
6bd87f42 | 4130 | * rdi-share/hostchan.h: ditto |
2196638d GN |
4131 | * rdi-share/aclocal.m4: regenerate |
4132 | * rdi-share/configure: regenerate | |
4133 | ||
94a91918 GN |
4134 | Thu Nov 19 14:43:44 1998 Geoffrey Noer <noer@cygnus.com> |
4135 | ||
4136 | * configure.in: switch back to checking __CYGWIN32__ | |
4137 | * configure: regenerate | |
4138 | ||
a6a070be AC |
4139 | Thu Nov 19 09:53:00 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4140 | ||
4141 | * exec.c (exec_file_command): Cleanup. Replace #if | |
4142 | NEED_TEXT_START_END with if(). | |
4143 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1. | |
4144 | * config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto. | |
4145 | * config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto. | |
4146 | * config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto. | |
4147 | ||
1a443730 GN |
4148 | Thu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com> |
4149 | ||
4150 | * main.c: Wait until more time has passed before calling | |
4151 | new cygwin_ funcs, revert back to the cygwin32_ ones for now. | |
4152 | * win32-nat.c: Ditto. | |
4153 | ||
206e3a8a AC |
4154 | Wed Nov 18 15:03:17 1998 Andrew Cagney <cagney@chook.cygnus.com> |
4155 | ||
4156 | * 29k-share/udi/udip2soc.c (UDIConnect): Replace sys_errlist with | |
4157 | strerror. | |
4158 | ||
8adbc73e GN |
4159 | Mon Nov 16 14:17:05 1998 Geoffrey Noer <noer@cygnus.com> |
4160 | ||
4161 | * defs.h: if compiling under Cygwin, define __CYGWIN__ if | |
4162 | __CYGWIN32__ is defined and __CYGWIN__ isn't for backwards | |
4163 | compatibility. | |
4164 | ||
d836385e GN |
4165 | Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com> |
4166 | ||
4167 | Changes to account for name change from cygwin32 to cygwin and | |
4168 | clean up Win32-related ifdefs. | |
4169 | ||
4170 | * configure.tgt: check for cygwin* instead of cygwin32. | |
4171 | New cygwin gdb_target variable loses the "32". | |
4172 | * configure.host: check for cygwin* instead of cygwin32. | |
4173 | New cygwin gdb_host variable loses the "32". | |
4174 | * configure.in: test __CYGWIN__ instead of __CYGWIN32__, | |
4175 | rename gdb_cv_os_cygwin32 variable to drop the "32". Call | |
4176 | AM_EXEEXT instead of AC_EXEEXT since that isn't in a released | |
4177 | autoconf yet. | |
4178 | * configure: regenerate. | |
4179 | ||
4180 | * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h where | |
4181 | cygwin path conv protos live, instead of adding a proto here for | |
4182 | them here. | |
4183 | * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__ | |
4184 | instead of __CYGWIN32__. | |
4185 | * source.c: thoughout, check _WIN32 instead of WIN32. | |
4186 | ||
4187 | * config/i386/cygwin32.mh: delete. | |
4188 | * config/i386/cygwin.mh: new file, was cygwin32.mh. | |
4189 | * config/i386/cygwin32.mt: delete. | |
4190 | * config/i386/cygwin.mt: new file, was cygwin32.mt. | |
4191 | * config/i386/tm-cygwin32.h: delete. | |
4192 | * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h. | |
4193 | * config/i386/xm-cygwin32.h: delete. | |
4194 | * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h. | |
4195 | * config/i386/xm-windows.h: #include xm-cygwin.h now. | |
4196 | * config/powerpc/cygwin32.mh: delete. | |
4197 | * config/powerpc/cygwin.mh: new file, was cygwin32.mh. | |
4198 | * config/powerpc/cygwin32.mt: delete. | |
4199 | * config/powerpc/cygwin.mt: new file, was cygwin32.mt. | |
4200 | * config/powerpc/tm-cygwin32.h: delete. | |
4201 | * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h. | |
4202 | * config/powerpc/xm-cygwin32.h: delete. | |
4203 | * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h. | |
4204 | ||
4205 | * rdi-share/aclocal.m4: regenerate with aclocal. | |
4206 | * rdi-share/configure: regenerate with autoconf. | |
4207 | * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c, serpardr.c, | |
4208 | unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__. | |
4209 | ||
9ee59844 JM |
4210 | Thu Nov 12 17:19:43 1998 John Metzler <jmetzler@cygnus.com> |
4211 | ||
b5c7e122 | 4212 | * remote.c (remote_get_threadinfo): Support for remote |
9ee59844 | 4213 | multithread debugging. |
b5c7e122 SS |
4214 | (remote_get_threadlist): get a partial list of threads |
4215 | (remote_threadlist_iterator): Step through all the threads | |
4216 | (init_remote_threadtests): Optional builtin unit test commands. | |
9ee59844 | 4217 | |
b5c7e122 | 4218 | * thread.c (bind_target_thread_vector): Implementa a more dynamic |
9ee59844 JM |
4219 | way of accessing target specific thread info functions than |
4220 | FIND_NEW_THREADS. | |
b5c7e122 | 4221 | (target_thread_info): Function to get extended thread information. |
9ee59844 | 4222 | |
b5c7e122 | 4223 | * gdbthread.h: Export internal data structures corresponding to |
9ee59844 JM |
4224 | external detailed thread info response. This is more like a 'ps' |
4225 | command than what might be expected of host based threads. This | |
4226 | is for embedded systems. | |
4227 | ||
1ba38e79 MS |
4228 | Wed Nov 11 15:47:00 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4229 | ||
4230 | * procfs.c (proc_set_exec_trap): don't set PR_ASYNC or PR_FORK | |
4231 | in the child process for UnixWare (causes processes forked by | |
4232 | the debuggee to hang). | |
4233 | ||
83da2634 DB |
4234 | Mon Nov 9 12:00:36 1998 Dave Brolley <brolley@cygnus.com> |
4235 | ||
4236 | * config/fr30/fr30.mt: New file. | |
4237 | * config/fr30/tm-fr30.h: New file. | |
4238 | ||
e5fddd37 JW |
4239 | 1998-11-05 Jim Wilson <wilson@cygnus.com> |
4240 | ||
1ba38e79 MS |
4241 | * remote-vx.c (net_read_registers, net_write_registers, |
4242 | vx_xver_memory, vx_resume, vx_attach, vx_detach, vx_kill): | |
4243 | Change errno to errno_num. | |
e5fddd37 JW |
4244 | * vx-share/xdr_ptrace.c (xdr_ptrace_return): Likewise. |
4245 | * vx-share/xdr_ptrace.h (struct ptrace_return): Likewise. | |
4246 | ||
3cee93ac CF |
4247 | Thu Nov 5 08:41:33 1998 Christopher Faylor <cgf@cygnus.com> |
4248 | ||
4249 | * top.c (gdb_readline): Allow CRLF line termination on systems | |
4250 | which define CRLF_SOURCE_FILES. | |
4251 | * win32-nat.c: 1) Add thread support, 2) fix ability to attach to | |
4252 | a running process, and 3) implement limited support for cygwin | |
4253 | signals. | |
4254 | (thread_rec): New function. | |
4255 | (child_add_thread): Ditto. | |
4256 | (child_init_thread_list): Ditto. | |
4257 | (child_delete_thread): Ditto. | |
4258 | (do_child_fetch_inferior_registers): Ditto. | |
4259 | (do_child_store_inferior_registers): Ditto. | |
4260 | (handle_output_debug_string): Ditto. | |
4261 | (child_fetch_inferior_registers): Use do_* function to perform | |
4262 | operation. | |
4263 | (child_store_inferior_registers): Ditto. | |
4264 | (child_continue): Ditto. | |
4265 | (child_thread_alive): Ditto. | |
4266 | (cygwin_pid_to_str): Ditto. | |
4267 | (handle_load_dll): Reorganize, add first attempt at reading | |
4268 | dll names from attached processes. Change info messages to provide | |
4269 | more information when dll is already loaded. | |
4270 | (handle_exception): Changes mandated by new thread-aware structures. | |
4271 | (child_wait): Track thread creation/destruction. Handle cygwin | |
4272 | signals. | |
4273 | (child_create_inferior): Ditto. | |
4274 | (child_resume): Ditto. | |
4275 | (child_kill_inferior): Ditto. Close child process handle to avoid a | |
4276 | handle leak. | |
4277 | (child_ops): Fill out child_ops fields that deal with threads. | |
4278 | * config/i386/tm-cygwin32.h: Declare function and macro needed | |
4279 | for converting a cygwin "pid" to a string. | |
4280 | * config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since | |
4281 | sigsetmask is not defined in cygwin. | |
4282 | ||
8015bd27 CF |
4283 | Thu Nov 5 08:38:18 1998 Christopher Faylor <cgf@cygnus.com> |
4284 | ||
4285 | * win32-nat.c: Remove obsolete PPC conditionals. | |
4286 | ||
7e6c86c2 DB |
4287 | Wed Nov 4 18:44:31 1998 Dave Brolley <brolley@cygnus.com> |
4288 | ||
4289 | * configure.tgt: Add fr30-*-elf*. | |
4290 | ||
66393f0e JW |
4291 | 1998-11-03 Jim Wilson <wilson@cygnus.com> |
4292 | ||
4293 | * c-exp.y (parse_number): Check TARGET_LONG_LONG_BIT when setting | |
4294 | high_bit to avoid undefined negative shift. | |
4295 | ||
b93f016b GN |
4296 | Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com> |
4297 | ||
4298 | * configure.in: Check cygwin* instead of cygwin32*. | |
4299 | * configure: regenerate | |
4300 | ||
2e7eeba9 MS |
4301 | Thu Oct 29 10:04:20 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4302 | ||
4303 | [Support for trace debugging: registers that were not collected.] | |
4304 | * remote.c (remote_fetch_registers): accept 'xxxx' in the register | |
4305 | packet, with the meaning "register value is not available". | |
4306 | Set register_valid to -1, which will connote "no value available". | |
4307 | * findvar.c (read_relative_register_raw_bytes): return failure if | |
4308 | register_valid == -1. (value_of_register): return failure if | |
4309 | register_valid == -1. (read_var_value): return error if | |
4310 | value_of_register fails for a register variable. | |
4311 | (value_from_register): return failure if register_valid == -1. | |
4312 | * eval.c (evaluate_subexp_standard): return error if | |
4313 | value_of_register fails for a register used in an expression. | |
4314 | * infcmd.c (do_registers_info): display "value not available" | |
4315 | for registers for which register_valid == -1. | |
4316 | ||
4317 | * tracepoint.c (set_raw_tracepoint): just save the filename as is | |
4318 | from the symbol table, rather than trying to prepend the dir name. | |
4319 | Also save the bfd section. (tracepoints_info): use the section | |
4320 | when looking up the function name. | |
4321 | * tracepoint.h: add section field to tracepoint struct. | |
4322 | ||
af3711e6 FCE |
4323 | start-sanitize-sky |
4324 | Wed Oct 28 12:33:52 EST 1998 Frank Ch. Eigler <fche@cygnus.com> | |
4325 | ||
4326 | * configure.in: Accept both -skyb- and -sky- for | |
4327 | --with-sim-funit/gpu2 options. | |
4328 | * configure: Rebuilt. | |
4329 | ||
4330 | end-sanitize-sky | |
c0351c0f MA |
4331 | Wed Oct 28 08:01:38 1998 Mark Alexander <marka@cygnus.com> |
4332 | ||
4333 | * sparcl-tdep.c (send_resp, sparclite_serial_start, | |
4334 | sparclite_serial_write): Use remote_timeout instead of hardcoded | |
4335 | two second timeout. | |
4336 | (download): Fix adjustment of a.out load addresses. | |
4337 | ||
b9a9cde4 AC |
4338 | Wed Oct 28 12:32:58 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4339 | ||
4340 | * configure.in (--enable-build-warnings): Finish rename from | |
4341 | --enable-warnings. | |
4342 | (enable-build-warnings): Add -Wpointer-arth, allow =* for | |
4343 | sim/common compatibility. | |
4344 | * configure: Re-generate. | |
4345 | ||
63a0e6b5 AC |
4346 | Wed Oct 21 08:44:30 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4347 | ||
4348 | * 29k-share/udi/udip2soc.c: Replace sys_errlist with strerror(). | |
4349 | ||
cf9d0fd9 AC |
4350 | Thu Oct 22 09:56:55 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4351 | ||
4352 | * config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here. | |
4353 | * config/rs6000/aix4.mt (TDEPFILES): To here. | |
4354 | ||
4355 | Wed Oct 21 10:02:31 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
4356 | ||
4357 | * rdi-share/unixcomm.c: Provide definitions of SERPORT and PARPORT | |
4358 | on BSD hosts. | |
4359 | ||
4360 | 1998-10-19 Jason Molenda (jsm@bugshack.cygnus.com) | |
4361 | ||
4362 | * configure.in (AM_EXEEXT): Use AC_EXEEXT instead. | |
4363 | * configure: Regenerated. | |
4364 | ||
61e6bcc8 FL |
4365 | Sat Oct 17 17:39:23 1998 Felix Lee <flee@cygnus.com> |
4366 | ||
4367 | * core-sol2.c: #include <sys/types.h>, for sol2.7 weirdness. | |
4368 | ||
a93213bc MS |
4369 | Fri Oct 16 15:31:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4370 | ||
4371 | * m32r-tdep.c (decode_prologue): Return failure if we reach | |
4372 | the end of the function without finding the end of the prologue. | |
4373 | ||
24418cfb JM |
4374 | 1998-10-16 Jason Molenda (jsm@bugshack.cygnus.com) |
4375 | ||
4376 | * command.c copying.c copying.awk core-aout.c core-regset.c | |
4377 | corelow.c dcache.c i386-tdep.c i386v4-nat.c i387-tdep.c | |
4378 | infcmd.c infptrace.c infrun.c remote.c solib.c symfile.c | |
4379 | symmisc.c valarith.c: Add prototypes. | |
4380 | ||
4381 | * defs.h: Add prototype for utils.c::do_run_cleanups. | |
4382 | ||
4383 | * gdbtypes.c: Add prototypes. | |
4384 | (make_pointer_type): Add braces to remove nested if-else ambiguity. | |
4385 | (make_reference_type): Ditto. | |
4386 | ||
4387 | * printcmd.c (printf_command): Initialize 'f' and 'string' at | |
4388 | function startup to suppress possibly-used-before-initialized warning. | |
4389 | ||
4390 | * remote-utils.c: Add prototypes. | |
4391 | (sr_pollchar): Add braces to remove nested if-else ambiguity. | |
4392 | ||
4393 | * ser-tcp.c: Add prototypes. | |
4394 | (wait_for): Add braces to remove nested if-else ambiguity. | |
4395 | (tcp_readchar): Ditto. | |
4396 | ||
4397 | * ser-unix.c: Add prototypes. | |
4398 | (get_tty_state): Don't define errno here. | |
4399 | (hardwire_readchar): Only define 't' if we are compiling in a Cygwin | |
4400 | environment. | |
4401 | ||
4402 | * symtab.c: Add prototypes. | |
4403 | (find_methods): Add braces to remove nested if-else ambiguity. | |
4404 | (search_symbols): Set 'i' to an initial value to suppress a | |
4405 | possibly-used-before-initialized warning. | |
4406 | ||
4407 | * valops.c: Add prototypes. | |
4408 | (value_cast): Set 'eltype2' to an initial value to suppress a | |
4409 | possibly-used-before-initialized warning. | |
4410 | (value_of_variable): Add braces to remove nested if-else ambiguity. | |
4411 | (value_of_this): Ditto. | |
4412 | ||
4413 | * valprint.c: Add prototypes. | |
4414 | (print_floating): Add braces to remove nested if-else ambiguity. | |
4415 | ||
7bfe11e2 SS |
4416 | Thu Oct 15 19:50:48 1998 Stan Shebs <shebs@andros.cygnus.com> |
4417 | ||
6b29a8b1 | 4418 | * tm-sp64.h (SETUP_ARBITRARY_FRAME, FRAME_SPECIFICATION_DYADIC): |
7bfe11e2 SS |
4419 | Remove, nevermore used. |
4420 | ||
dd877625 AC |
4421 | Thu Oct 15 16:55:00 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4422 | ||
4423 | * command.c: Include "wait.h" after, rather than before, <wait.h>. | |
4424 | "wait.h" was defining all WIF* macro's instead of filling in those | |
4425 | that <wait.h> missed. | |
4426 | ||
4427 | 1998-10-14 Jason Molenda (jsm@bugshack.cygnus.com) | |
4428 | ||
7bfe11e2 SS |
4429 | * defs.h: Move _initialize_printcmd, _initialize_stack, |
4430 | _initialize_blockframe out of here and in to their respective .c | |
4431 | files. | |
dd877625 AC |
4432 | * blockframe.c: Move _initialize_blockframe prototype to here. |
4433 | * printcmd.c: Move _initialize_printcmd prototype to here. | |
4434 | * stack.c: Move _initialize_stack prototype to here. | |
4435 | ||
7bfe11e2 SS |
4436 | * source.c, symtab.h: Move _initialize_source prototype to the .c |
4437 | file. | |
dd877625 AC |
4438 | * values.c, value.h: Move _initialize_values prototype to the .c file. |
4439 | * gdbthread.h, thread.c: Move _initialize_thread prototype to the .c | |
4440 | file. | |
4441 | * breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype | |
4442 | to the .c file. | |
4443 | ||
4444 | * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c: | |
4445 | Standardize comments for the prototype section of these files. | |
4446 | ||
4447 | * configure.in: Look in libc for wctype before looking for it in libc. | |
4448 | ||
37f58dce FL |
4449 | Tue Oct 13 18:56:51 1998 Felix Lee <flee@cygnus.com> |
4450 | ||
4451 | * sol-thread.c (ps_pstop, etc): simple test for proc_service.h | |
4452 | version didn't work for sol2.6; pushed it to autoconf. | |
4453 | * configure.in (gdb_cv_proc_service_is_old): new test. | |
4454 | * acconfig.h (PROC_SERVICE_IS_OLD): new define. | |
4455 | * configure, config.in: regenerate. | |
2e7eeba9 | 4456 | |
ad3b8c4a JM |
4457 | 1998-10-13 Jason Molenda (jsm@bugshack.cygnus.com) |
4458 | ||
4459 | * blockframe.c (find_pc_sect_partial_function): Add braces to avoid | |
4460 | possible nested-if confusion. | |
4461 | * breakpoint.c (breakpoint_here_p): Ditto. | |
4462 | (breakpoint_inserted_here_p): Ditto. | |
4463 | (breakpoint_thread_match): Ditto. | |
4464 | ||
4465 | * gnu-regex.c: Define _REGEX_RE_COMP only if it isn't already defined. | |
4466 | * gnu-regex.h: Define _REGEX_RE_COMP to pick up old compatability | |
4467 | prototypes. | |
2e7eeba9 | 4468 | |
ad3b8c4a JM |
4469 | * symtab.h: Add prototype for _initialize_source. |
4470 | * value.h: Add prototype for _initialize_value. | |
4471 | ||
4472 | * defs.h: Include sys/types.h or stddef.h to get size_t. | |
4473 | (make_cleanup): Add make_cleanup_func typedef and switch to using | |
4474 | a prototype for this function. | |
4475 | (mfree): Add prototypes for mmalloc, mrealloc, mfree if we aren't | |
4476 | using mmalloc. | |
2e7eeba9 | 4477 | |
91e14aa9 SS |
4478 | * ax-gdb.c breakpoint.c coffread.c corelow.c dbxread.c |
4479 | dwarf2read.c dwarfread.c elfread.c eval.c exec.c infcmd.c infrun.c | |
4480 | mipsread.c nlmread.c os9kread.c parse.c printcmd.c symfile.c | |
4481 | symmisc.c symtab.c thread.c top.c tracepoint.c typeprint.c | |
4482 | valops.c: Cast parameters passed to make_cleanup to use the new | |
4483 | make_cleanup_func typedef. | |
ad3b8c4a | 4484 | |
bbee94c7 FL |
4485 | Tue Oct 13 00:51:48 1998 Felix Lee <flee@cygnus.com> |
4486 | ||
4487 | * sol-thread.c (ps_pstop, etc): different solaris versions have | |
4488 | slightly different prototypes in proc_service.h; compensate. | |
4489 | ||
6e47b251 JM |
4490 | 1998-10-12 Jason Molenda (jsm@bugshack.cygnus.com) |
4491 | ||
4492 | * Makefile.in (AWK): Unused; remove. | |
4493 | * configure.in: Remove unused autoconf checks for MINIX, memcpy, | |
4494 | poll, select, strings.h. | |
4495 | * config.in: Regenerated. | |
4496 | * configure: Regenerated. | |
4497 | ||
1dee2761 JM |
4498 | 1998-10-12 Jason Molenda (jsm@bugshack.cygnus.com) |
4499 | ||
4500 | * configure.in: Check for sys/debugreg.h, asm/debugreg.h. | |
4501 | * i386v-nat.c: Include asm/debugreg.h, sys/debugreg.h if it is not | |
4502 | present. | |
4503 | ||
b0a5badb PS |
4504 | Sun Oct 11 12:08:07 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4505 | ||
4506 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Do not adjust the | |
4507 | address range of a compilation unit without children. | |
4508 | ||
4509 | * mdebugread.c (parse_partial_symbols): Fix handling of stabs | |
4510 | continuations, use xmalloc and xrealloc. | |
4511 | ||
c6d28b22 MA |
4512 | Fri Oct 9 18:14:43 1998 Mark Alexander <marka@cygnus.com> |
4513 | ||
4514 | * rs6000-tdep.c: Don't include tm.h twice. | |
4515 | ||
d367c7b4 KS |
4516 | 1998-10-08 Keith Seitz <keiths@cygnus.com> |
4517 | ||
4518 | * main.c (main): Remove calls to {pre,post}_add_symbol_hooks. | |
4519 | There should be sufficient information/hooks now to eliminate | |
4520 | this hack. | |
4521 | ||
4522 | * exec.c (file_command): Add a new hook here to inform ui's | |
4523 | when the exec file has changed. Adding it here allows the | |
4524 | ui to be informed after symbol reading. | |
4525 | ||
4526 | * gdbcore.h: Add declaration of file_changed_hook. | |
4527 | ||
70423641 MA |
4528 | Thu Oct 8 08:40:42 1998 Mark Alexander <marka@cygnus.com> |
4529 | ||
4530 | * rs6000-tdep.c (get_saved_register): Define only if | |
4531 | USE_GENERIC_DUMMY_FRAMES is defined. | |
4532 | ||
4533 | start-sanitize-carp | |
4534 | Tue Oct 6 21:35:10 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
4535 | ||
4536 | * configure.in (--enable-targets): New config option. Code taken | |
4537 | from ../opcode/configure.in. | |
4538 | start-sanitize-cygnus | |
4539 | (--enable-carp): New config option. Overrides configure.tgt and | |
4540 | sets gdb_target + gdb_target_cpu to carp. XXX - this is tempoary. | |
4541 | end-sanitize-cygnus | |
4542 | * configure: Re-generate. | |
2e7eeba9 | 4543 | |
70423641 MA |
4544 | * Makefile.in (DEPFILES): Add TARGET_OBS. |
4545 | (TARGET_OBS): Defined by configure. | |
2e7eeba9 | 4546 | |
70423641 MA |
4547 | start-sanitize-cygnus |
4548 | * config/carp/carp.mt, config/carp/tm-carp.h: Pseudo configuration | |
4549 | for carp target. XXX - this is tempoary. | |
4550 | end-sanitize-cygnus | |
4551 | ||
4552 | end-sanitize-carp | |
87feff9d JM |
4553 | 1998-10-06 Jason Molenda (jsm@bugshack.cygnus.com) |
4554 | ||
4555 | Eliminate a few warnings from the compiler. | |
4556 | * breakpoint.h: Add prototype. | |
4557 | * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void). | |
4558 | * configure.in: Check if strdup declaration is necessary. | |
4559 | * configure: Regenerated. | |
4560 | * defs.h: Add prototypes. | |
4561 | * gdb_string.h: Only define strdup if necessary. | |
4562 | * gdbthread.h: Add prototypes. | |
4563 | * printcmd.c: Add prototyptes. | |
4564 | (disassemble_command): Remove unused variable 'section'. | |
4565 | * symtab.c: Add prototypes. | |
4566 | * symtab.h: Include gnu-regex.h, add prototype. | |
4567 | * thread.c: Add prototype. | |
4568 | ||
ee31ae22 SS |
4569 | Mon Oct 5 19:44:39 1998 Stan Shebs <shebs@andros.cygnus.com> |
4570 | ||
4571 | From David Purves <purves@apogee.com>: | |
4572 | * stabsread.c (rs6000_builtin_type): Create a complex float instead | |
4573 | of an error. | |
4574 | (read_sun_floating_type): Similarly. | |
4575 | (read_range_type): Create a complex float if self_subrange is | |
4576 | true. | |
4577 | ||
242c0d81 SG |
4578 | Fri Oct 2 19:42:31 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
4579 | ||
4580 | * c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr) | |
4581 | ch-lang.c (chill_printstr chill_printchar) c-valprint.c (c_val_print) | |
4582 | ch-valprint.c (chill_val_print) expprint.c (print_subexp) f-lang.c | |
1ba38e79 MS |
4583 | (f_printstr f_printchar emit_char) f-valprint.c (f_val_print) |
4584 | jv-lang.c (java_printchar java_emit_char) jv-valprint.c | |
4585 | (java_value_print java_val_print) language.c (unk_lang_printchar | |
4586 | unk_lang_printstr unk_lang_emit_char) language.h (struct | |
4587 | language_defn LA_PRINT_STRING LA_EMIT_CHAR) m2-lang.c (m2_printstr | |
4588 | m2_printchar emit_char) printcmd.c (print_formatted) scm-lang.c | |
4589 | (scm_printstr) valprint.c (val_print_string) value.h | |
4590 | (val_print_string): Add emit_char routines to language_desc struct | |
4591 | to allow finer control over language specific character output issues. | |
4592 | Add character width arg to printstr routines to allow handling of | |
4593 | wchar_t/Unicode strings. Fix c_printstr to handle wide characters. | |
4594 | Supply width argument to LA_PRINT_STRING and val_print_string. | |
2e7eeba9 | 4595 | |
242c0d81 SG |
4596 | * jv-lang.c (java_object_type dynamics_objfile java_link_class_type |
4597 | get_dynamics_objfile get_java_object_type) jv-lang.h | |
4598 | (get_java_object_type): Make lots of things static. | |
2e7eeba9 | 4599 | |
242c0d81 SG |
4600 | * expprint.c (dump_prefix_expression dump_subexp): Move opcode name |
4601 | printing to common routine (op_name). | |
4602 | * (dump_subexp): Add support for OP_SCOPE. | |
2e7eeba9 | 4603 | |
bb9e5368 SS |
4604 | Fri Oct 2 16:25:54 1998 Stan Shebs <shebs@andros.cygnus.com> |
4605 | ||
4606 | * configure.host (i[3456]86-*-windows): Remove, no longer used. | |
4607 | * mswin: Remove directory, no longer used. | |
4608 | ||
2d24a021 FN |
4609 | Fri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com> |
4610 | ||
4611 | * sol-thread.c: Fixed prototypes and calls to supply_fpregset and | |
4612 | fill_fpregset | |
4613 | ||
80baea8a KS |
4614 | 1998-10-02 Keith Seitz <keiths@cygnus.com> |
4615 | ||
4616 | * remote.c (remote_interrupt): Rewrite to use remote_stop. | |
4617 | (remote_interrupt_twice): Remove. remote_stop now handles it. | |
4618 | (remote_stop): New function which handles interrupting the | |
4619 | remote target so that CLUI and GUI use the same core functions | |
4620 | to achieve the same goal. | |
4621 | (remote_wait): Change to handle remote_stop properly. | |
4622 | [interrupted_already]: New static global to help remote_stop. | |
4623 | [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member. | |
4624 | ||
4625 | * target.c: Rename static function "ignore" to "target_ignore" and | |
4626 | export it so that gdb can determin if some target vector member is | |
4627 | actually not defined. Replace all occurances of ignore. | |
4628 | ||
4629 | * target.h: Export target_ignore. | |
4630 | ||
47b8a5ce PS |
4631 | Fri Oct 2 03:51:48 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4632 | ||
4633 | * target.c (target_xfer_memory): Handle requests with zero | |
4634 | transfer length right away. | |
4635 | ||
4636 | * values.c (unpack_double): Set up code, length and signedness of | |
4637 | type _after_ checking for typedef. | |
4638 | ||
6ee2da94 FCE |
4639 | Thu Oct 1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com> |
4640 | ||
4641 | * breakpoint.c (bpstat_stop_status): Do not consider an | |
4642 | untripped watchpoint as a "hit". | |
4643 | ||
b8464c15 AC |
4644 | Thu Oct 1 20:52:39 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4645 | ||
c85a8f00 AC |
4646 | * exec.c (exec_file_command), convex-tdep.c (exec_file_command), |
4647 | arm-xdep.c (exec_file_command), remote-rdp.c | |
4648 | (remote_rdp_create_inferior), remote-os9k.c | |
b8464c15 AC |
4649 | (rombug_create_inferior), remote-mm.c (mm_create_inferior), |
4650 | remote-eb.c (eb_create_inferior), remote-es.c | |
4651 | (es1800_create_inferior), remote-rdi.c (arm_rdi_create_inferior), | |
4652 | remote-sim.c (gdbsim_create_inferior), remote-utils.c | |
4653 | (gr_create_inferior), remote-st.c (st2000_create_inferior), | |
4654 | remote-nindy.c (nindy_create_inferior), remote-hms.c | |
4655 | (hms_create_inferior), remote-e7000.c (e7000_create_inferior), | |
4656 | remote-array.c (array_create_inferior), remote-adapt.c | |
4657 | (adapt_create_inferior): Replace "exec" with "executable" in | |
4658 | messages. | |
4659 | ||
4660 | 1998-09-25 Keith Seitz <keiths@cygnus.com> | |
4661 | ||
4662 | * rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and | |
4663 | PARPORT defines for win32. | |
4664 | (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names | |
4665 | start with "com", not "/dev/tty". | |
4666 | (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32. | |
4667 | ||
2e7eeba9 MS |
4668 | * rdi-share/devsw.c (DevSW_Close): Free the device's state |
4669 | (SwitcherState) so that the device may be reopened. | |
b8464c15 AC |
4670 | |
4671 | * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered | |
4672 | functions, ignoring non-ASCII chars, so that non-tty UI's can snarf | |
4673 | the output from fputs_hook. | |
4674 | (mywrite): Ditto. | |
4675 | (arm_rdi_open): Set inferior_pid. | |
4676 | (arm_rdi_detach): Pop the target off the target stack so that | |
4677 | users can attach and detach multiple times. | |
4678 | (arm_rdi_close): Close the opened device and reset inferior_pid, too. | |
4679 | ||
4817b408 JM |
4680 | 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com) |
4681 | ||
4682 | * configure.in: Change --enable-warnings to --enable-build-warnings. | |
4683 | * configure: Updated. | |
4684 | ||
e3009a74 JM |
4685 | 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com) |
4686 | ||
4687 | * configure.in (WARN_CFLAGS): Add -Wmissing-prototypes. | |
4688 | * configure: Regenerated. | |
4689 | ||
ba68ad57 JM |
4690 | 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com) |
4691 | ||
4692 | * configure.in: Add --enable-warnings. | |
4693 | Adjust whitespace of other --with and --enable options so that | |
4694 | configure --help lines up correctly. | |
4695 | * aclocal.m4: Ditto. | |
4696 | * Makefile.in (WARN_CFLAGS): Add. Set by configure. | |
4697 | * configure: Regenerated. | |
4698 | ||
f1f8c637 SS |
4699 | Thu Sep 24 15:44:34 1998 Stan Shebs <shebs@andros.cygnus.com> |
4700 | ||
4701 | * remote-rdi.c: Fix formatting, remove some commented-out code. | |
4702 | (init_rdi_ops): Omit needless initializations. | |
4703 | ||
8456141b AC |
4704 | Wed Sep 23 18:21:03 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4705 | ||
4706 | * remote.c (remote_address_masked): New function - mask address | |
4707 | according to REMOTE_ADDRESS_SIZE. | |
4708 | (remote_address_size): New global. | |
4709 | (hexnumstr): New function - convert arbitrary unsigned to hex. | |
4710 | (remote_write_bytes, remote_read_bytes): Use hexnumstr to | |
4711 | construct packet address. Mask address when necessary. | |
4712 | (_initialize_remote): Add "set remoteaddresssize" command, set | |
4713 | REMOTE_ADDRESS_SIZE variable. | |
4714 | ||
4715 | * NEWS: Update. | |
2e7eeba9 | 4716 | |
f8059b97 AC |
4717 | Wed Sep 23 18:08:52 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4718 | ||
4719 | * remote.c (_initialize_remote, packet_command, print_packet): | |
4720 | Pretty print code. | |
4721 | ||
abf80d3b AC |
4722 | Wed Sep 23 12:32:54 1998 <cagney@amy.cygnus.com> |
4723 | ||
4724 | * remote.c (packet_command): Test REMOTE_DESC to determine if | |
4725 | remote connection is open. | |
2e7eeba9 | 4726 | |
0ec1e44d MA |
4727 | Tue Sep 22 22:27:24 1998 Mark Alexander <marka@cygnus.com> |
4728 | ||
4729 | Patch from Dawn Perchik <dawn@cygnus.com>: | |
4730 | * rs6000-tdep.c (pop_frame): Handle generic dummy frames. | |
4731 | (push_arguments): Likewise. | |
4732 | (frame_saved_pc): Likewise. | |
4733 | (rs6000_frame_chain): Likewise. | |
4734 | (ppc_push_return_address): New function. | |
4735 | (get_saved_register): New function. | |
4736 | * config/powerpc/tm-ppc-eabi.h: Add generic dummy frame macros. | |
4737 | ||
7b46dd00 SG |
4738 | Mon Sep 21 19:29:32 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
4739 | ||
4740 | * defs.h utils.c (fputc_filtered): New function. Does the obvious... | |
4741 | * jv-lang.c (java_printchar): Fix output of chars > 0xff. Fold | |
4742 | java_emit_char into java_printchar. | |
4743 | * language.h (PRINT_LITERAL_FORM): Reformat for readability. | |
2e7eeba9 | 4744 | |
a63e3725 NC |
4745 | Mon Sep 21 14:38:03 1998 Catherine Moore <clm@cygnus.com> |
4746 | ||
4747 | * config/arm/tm-arm.h (*_BREAKPOINT): Define both little endian | |
4748 | and big endian breakpoint patterns. | |
4749 | ||
4750 | * arm-tdep.c (arm_break_point_from_pc): Insert either big endian | |
4751 | or little endian breakpoints depending upon target byte order. | |
4752 | ||
3dc96daa RU |
4753 | start-sanitize-sky |
4754 | Sun Sep 20 23:11:41 1998 Ron Unrau <runrau@cygnus.com> | |
4755 | ||
4756 | * incorporate SKY-B changes (makes dual maintenance easier). | |
4757 | * txvu-tdep.c (check_overlap): new function to guarantee that | |
4758 | overlays are either mapped or unmapped in their entirety. | |
4759 | * txvu-tdep.c (compress_blockvector): compress blockvectors correctly | |
4760 | ||
4761 | end-sanitize-sky | |
d2fce7f7 PS |
4762 | Fri Sep 18 07:53:08 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4763 | ||
4764 | * sol-thread.c (sol_thread_notice_signals): Use PIDGET when | |
4765 | passing pid down to procfs_notice_signals. | |
4766 | ||
082a0803 SG |
4767 | Wed Sep 16 14:57:14 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
4768 | ||
4769 | * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on | |
4770 | failure. | |
4771 | * (define_symbol): Check return value from resolve_symbol_reference, | |
4772 | and drop symbol if it fails. | |
4773 | ||
4774 | Tue Sep 15 15:24:16 1998 Stu Grossman <grossman@fencer.cygnus.com> | |
4775 | ||
4776 | * stabsread.c: Make all complaints static. | |
4777 | * Fix formatting of live range splitting code. | |
4778 | * (resolve_symbol_reference define_symbol resolve_live_range): Change | |
4779 | errors to complaints so that bad live range symbols won't abort the | |
4780 | entire symbol table. Handle errors by aborting just the current | |
4781 | symbol. | |
4782 | * (ref_init): Goes away. Folded into ref_add(). | |
4783 | * (REF_MAP_SIZE): Put parens around parameter so that args like | |
4784 | `1 + 2' get handled correctly (yes, this was a real bug). | |
4785 | * (ref_add): Remove check for allocation failures. Not necessary | |
4786 | when using xrealloc(). Fix pointer arithmetic problem when clearing | |
4787 | memory. This and the previous patch prevent random SEGV's when there | |
4788 | are lots of live range symbols. | |
2e7eeba9 | 4789 | |
9d561e1e NC |
4790 | Tue Sep 15 14:02:01 1998 Nick Clifton <nickc@cygnus.com> |
4791 | ||
4792 | * remote-rdi.c: Prevent multiple attempts to close the remote | |
4793 | connection. | |
4794 | ||
b2d55813 AC |
4795 | Tue Sep 15 10:24:17 1998 Andrew Cagney <cagney@b1.cygnus.com> |
4796 | ||
4797 | * printcmd.c (examine_i_type): New static - type for instructions. | |
4798 | (do_examine): For "i" format, specify examine_i_type. | |
4799 | (do_examine): Call value_at_lazy instead of value_at so that | |
4800 | examine data is only fetched if it is used. | |
4801 | (x_command): If examine data was not fetched, set convenience | |
4802 | variable "__" to void. | |
4803 | (_initialize_printcmd): Initialize examine_i_type. | |
4804 | ||
4a8051a8 MS |
4805 | Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4806 | ||
4807 | * blockframe.c (find_pc_sect_partial_function): use bfd section | |
4808 | of msymbol for end of section comparison. | |
4809 | ||
74c1b0ba MS |
4810 | Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4811 | ||
4812 | * tracepoint.c: clean up several unused variables and such. | |
05f1989d ZR |
4813 | |
4814 | Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com) | |
4815 | ||
4816 | * arm-tdep.c (arm_push_arguments): fixed frame construction | |
4817 | ||
6a5c7685 MS |
4818 | Thu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4819 | ||
4820 | * mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL. | |
2e7eeba9 | 4821 | |
d7d7dd1b SS |
4822 | Wed Sep 9 19:37:36 1998 Stan Shebs <shebs@andros.cygnus.com> |
4823 | ||
4824 | * dbxread.c (IGNORE_SYMBOL): Remove definition, is never used. | |
4825 | * os9kread.c: Remove comment mentioning IGNORE_SYMBOL. | |
4826 | ||
253ceee6 RU |
4827 | Wed Sep 9 11:39:05 1998 Ron Unrau <runrau@cygnus.com> |
4828 | ||
4829 | * blockframe.c(find_pc_sect_partial_function): look for min syms in | |
4830 | the same section when trying to guess the end of a function. | |
4831 | * symfile.c(list_overlays_command): use print_address_numeric | |
4832 | * remote-sim.c: export simulator_command | |
4833 | start-sanitize-r5900 | |
4834 | * tm-r5900.h: add COP0 registers | |
4835 | end-sanitize-r5900 | |
4836 | start-sanitize-sky | |
4837 | * txvu-tdep.c: printvector and printvector-order commands | |
4838 | * tm-txvu.h: add COP0 registers | |
4839 | * mips-tdep.c: use NUM_CORE_REGS | |
4840 | end-sanitize-sky | |
2e7eeba9 | 4841 | |
fc410908 JM |
4842 | 1998-09-08 Jason Molenda (jsm@bugshack.cygnus.com) |
4843 | ||
4844 | * breakpoint.c (bpstat_stop_status): Declare a bp match if the | |
4845 | current fp matches the bp->fp OR if the current fp is less than | |
4846 | the bp->fp if we're looking at a bp_step_resume breakpoint. | |
4847 | ||
1f926de1 SS |
4848 | Tue Sep 8 19:42:58 1998 Stan Shebs <shebs@andros.cygnus.com> |
4849 | ||
4850 | * symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook, | |
4851 | not currently used. | |
4852 | * symfile.c (allocate_symtab): Deprecate use of | |
4853 | INIT_EXTRA_SYMTAB_INFO here. | |
4854 | ||
da5328ae SS |
4855 | Fri Sep 4 15:33:25 1998 Stan Shebs <shebs@andros.cygnus.com> |
4856 | ||
4857 | * README: Update remote debugging and testsuite info. | |
4858 | ||
11ac7952 MA |
4859 | Thu Sep 3 13:50:20 1998 Mark Alexander <marka@cygnus.com> |
4860 | ||
4861 | * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a | |
4862 | pseudo-register, not the same as a3. | |
4863 | (D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define. | |
4864 | * mn10300-tdep.c (fix_frame_pointer): New function. | |
4865 | (set_movm_offsets): Use register number macros instead of | |
4866 | hard-coded constants. | |
4867 | (mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM. | |
4868 | (mn10300_frame_chain): Fix to handle redefinition of FP_REGNUM; | |
4869 | use register number macros instead of hard-coded constants; | |
4870 | add missing parameter to call of mn10300_analyze_prologue. | |
4871 | (mn10300_frame_saved_pc): Use register number macros instead of | |
4872 | hard-coded constants. | |
4873 | ||
e01b4200 ZR |
4874 | Tue Sep 1 12:04:57 EDT 1998 Zdenek Radouch (radouch@cygnus.com) |
4875 | ||
4876 | Changes to support/fix ARM/ELF port. Use MAKE_MSYMBOL_SPECIAL for | |
4877 | both ELF and COFF; | |
4878 | * elfread.c (elf_symtab_read): use ELF specific macro | |
4879 | * coffread.c (coff_symtab_read): use COFF_MAKE_MSYMBOL_SPECIAL() | |
4880 | * arm-tdep.c: separate COFF and ELF thumb processing | |
4881 | disable --mapcs-float processing | |
4882 | * dwarf2read.c: Disabled building of minimal symbols | |
4883 | * config/arm/tm-arm.h: new macros for distinguishing arm/thumb | |
4884 | * config/mips/tm-mips.h: use ELF specific macro | |
4885 | ||
d5adad6a TT |
4886 | Mon Aug 31 15:42:10 1998 Tom Tromey <tromey@cygnus.com> |
4887 | ||
4888 | * top.c (context_hook): Define. | |
4889 | ||
290bc185 MS |
4890 | Tue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4891 | ||
4892 | * ax-gdb.c (gen_var_ref): Allow for typedef types. | |
d5adad6a | 4893 | (gen_cast, gen_bitfield_ref, gen_expr, gen_deref): ditto. |
290bc185 | 4894 | |
98760699 MS |
4895 | Mon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
4896 | ||
4897 | * tracepoint.c (collect_symbol): Handle register doubles that | |
4898 | are stored in two registers. | |
4899 | ||
ce8f5b49 MA |
4900 | Mon Aug 24 14:39:08 1998 Mark Alexander <marka@cygnus.com> |
4901 | ||
4902 | * sh-stub.c (undoSStep): Improve comment. | |
4903 | * sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use | |
4904 | same method on both 32-bit and 64-bit machines. | |
4905 | * sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't | |
4906 | support hardware breakpoints. | |
4907 | * config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments. | |
4908 | ||
ae69b4c4 JM |
4909 | 1998-08-20 Jason Molenda (jsm@bugshack.cygnus.com) |
4910 | ||
4911 | * rdi-share/Makefile.am (INCLUDES): Fix typeo. | |
4912 | * rdi-share/Makefile.in: Regenerated. | |
4913 | ||
c0ca074b JM |
4914 | 1998-08-19 Jason Molenda (jsm@bugshack.cygnus.com) |
4915 | ||
4916 | * rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'. | |
4917 | * rdi-share/Makefile.in: Regenerated. | |
4918 | ||
67205639 KS |
4919 | 1998-08-19 Keith Seitz <keiths@cygnus.com> |
4920 | ||
4921 | * v850ice.c (v850ice_stop): New function to stop the ICE. | |
4922 | (v850ice_load) Pass filename to ICE DLL. | |
4923 | (ice_stepi, ice_nexti, ice_cont): Do not directly call the gdb | |
4924 | commands -- let the GUI do it so that it can retain control | |
4925 | of the display. | |
4926 | ||
9ca743cf AG |
4927 | Wed Aug 19 15:53:52 1998 Anthony Green <green@hoser.cygnus.com> |
4928 | ||
4929 | * i386v4-nat.c: Include sys/reg.h if present. | |
4930 | ||
54f750d1 RH |
4931 | Wed Aug 19 03:07:53 1998 Richard Henderson <rth@cygnus.com> |
4932 | ||
4933 | * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp. | |
4934 | ||
6cf219ac FN |
4935 | 1998-08-18 Fernando Nasser <fnasser@totem.to.cygnus.com> |
4936 | ||
4937 | * symtab.c (decode_line_1): For minimal symbol, SKIP_PROLOG to | |
4938 | make sure we stop after the frame pointer is locaded and backtrace | |
4939 | prints an accurate stack. Complements changes made on Mon Jul 27 | |
4940 | 10:45:56 1998 | |
4941 | (decode_line_2): Replaced the whitespace after ">" in a prompt | |
4942 | which has been taken away by changes made on Sun Jul 19 02:11:45 | |
4943 | 1998 | |
4944 | ||
a3603553 KS |
4945 | 1998-08-18 Keith Seitz <keiths@cygnus.com> |
4946 | ||
4947 | * stack.c: Define new hook, selected_frame_level_changed_hook, which | |
4948 | will be called whenever the selected stack level changes. | |
4949 | (select_frame): Call the selected_frame_level_changed_hook. | |
2e7eeba9 | 4950 | |
d9c02b1e SS |
4951 | Tue Aug 18 18:03:42 1998 Stan Shebs <shebs@andros.cygnus.com> |
4952 | ||
4953 | * remote-rdi.c (arm_rdi_open): Pass serial device name to | |
4954 | Adp_OpenDevice, and include it in error reports. | |
4955 | ||
4ff3dfab JM |
4956 | 1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com) |
4957 | ||
4958 | * configure.in: Add more header files to AC_CHECK_HEADERS. | |
4959 | * configure: Regenerated. | |
4960 | ||
4961 | * command.c: Include wait.h or sys/wait.h if present. | |
4962 | * inftarg.c: Ditto. | |
4963 | * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based | |
4964 | on autoconf test. | |
4965 | * infptrace.c: Ditto. | |
4966 | ||
4967 | * expprint.c: Include ctype.h for isprint prototype. | |
4968 | * i386aix-nat.c: Include sys/reg.h if autoconf says it is present. | |
4969 | * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if | |
4970 | present, based on autoconf test. | |
4971 | ||
4972 | * utils.c: Include curses.h and term.h if present. | |
4973 | (puts_debug): Change 'carriage_return' local variable to return_p | |
4974 | to avoid name clash. | |
4975 | ||
4976 | * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE, | |
4977 | determine it with autoconf. | |
4978 | * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it | |
4979 | with autoconf. | |
4980 | * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it | |
4981 | with autoconf. | |
4982 | * config/i386/nm-i386v.h: Ditto. | |
4983 | * config/i386/nm-symmetry.h: Ditto. | |
4984 | * config/m88k/xm-cxux.h: Ditto. | |
4985 | * config/m88k/xm-dgux.h: Ditto. | |
4986 | ||
4987 | * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary. | |
4988 | * config/m68k/nm-delta68.h: Removed. | |
4989 | ||
854b0c14 JL |
4990 | Fri Aug 14 11:14:03 1998 Jeffrey A Law (law@cygnus.com) |
4991 | ||
4992 | * mn10300-tdep.c (set_movm_offsets): Change second argument to | |
4993 | be the actual args to movm itself. All callers changed. Only set | |
4994 | fi->fsr.regs[x] if reg X is saved by the movm instruction. | |
4995 | ||
cfd7cb29 PS |
4996 | Fri Aug 14 04:18:23 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4997 | ||
4998 | * sol-thread.c (lwp_to_thread): Fix error message for failing | |
4999 | td_ta_map_lwp2thr call. | |
5000 | (ps_lgetLDT): Mask off upper bits in GS register when comparing | |
5001 | with selector. | |
5002 | ||
5003 | Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com> | |
5004 | ||
5005 | * remote-sim.c (simulator_command): Reset register cache after | |
5006 | simulator command. | |
5007 | ||
d826d368 SG |
5008 | Wed Aug 12 09:00:26 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
5009 | ||
2e7eeba9 MS |
5010 | * expprint.c (dump_prefix/postfix_expression): Don't try to print |
5011 | type expressions. | |
d826d368 | 5012 | |
433732f2 SG |
5013 | Tue Aug 11 11:33:25 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
5014 | ||
5015 | * c-typeprint.c (c_print_type): Don't crash if varstring is null. | |
5016 | * expprint.c expression.h (dump_expression): Rename to | |
5017 | dump_prefix_expression. | |
5018 | * Print out the expression in normal form. Call print_longest | |
5019 | instead of trying to do it ourselves. | |
5020 | * (dump_postfix_expression): New function, prints out the expression | |
5021 | with indentation and better formatting and interpretation. | |
5022 | * parse.c (parse_exp_1): Put calls to dump expressions under ifdef | |
5023 | MAINTENANCE_CMDS and expressiondebug variable. | |
2e7eeba9 | 5024 | |
433732f2 SG |
5025 | Thu Aug 6 13:20:02 1998 Ron Unrau <runrau@cygnus.com> |
5026 | ||
5027 | * infrun.c (wait_for_inferior): use stop_func_name instead of | |
5028 | stop_func_start to decide that no debug info exists. | |
5029 | ||
e417b893 | 5030 | start-sanitize-sky |
b620406a RU |
5031 | Thu Aug 6 13:15:05 1998 Ron Unrau <runrau@cygnus.com> |
5032 | ||
5033 | * txvu-tdep.c: add VU0/1 control registers | |
5034 | * config/mips/tm-txvu.h: ditto | |
2e7eeba9 | 5035 | |
05ee9089 RU |
5036 | Tue Aug 4 11:02:50 1998 Ron Unrau <runrau@cygnus.com> |
5037 | ||
5038 | * txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context is | |
5039 | set to correct VU memory space. | |
5040 | (txvu_remove_breakpoint): use this instead of txvu_breakpoint_from_pc | |
5041 | * config/tm-txvu.h: use new track-table address | |
5042 | Do note define BREAKPOINT_FROM_PC anymore | |
5043 | ||
e417b893 RU |
5044 | Fri Jul 31 16:06:05 1998 Ron Unrau <runrau@cygnus.com> |
5045 | ||
5046 | * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS | |
5047 | * mips-tdep.c: use NUM_CORE_REGS | |
5048 | * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes | |
5049 | (txvu_insert_breakpoints): use VIF interrupt bit | |
5050 | ||
5051 | end-sanitize-sky | |
5052 | Thu Jul 30 13:53:50 1998 Mark Alexander <marka@cygnus.com> | |
5053 | ||
5054 | * mips-tdep.c (mask_address_p): New variable. | |
5055 | (mips_addr_bits_remove): Test mask_address_p to decide whether | |
5056 | to mask off the upper 32 bits of addresses. | |
5057 | (_initialize_mips_tdep): Add command to set mask_address_p. | |
5058 | (mips_call_dummy_address): New function. | |
5059 | * config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to | |
5060 | call mips_call_dummy_address. | |
5061 | ||
4ef0351d FN |
5062 | 1998-07-29 Fernando Nasser <fnasser@totem.to.cygnus.com> |
5063 | ||
5064 | * symfile.c (add_symbol_file_command): Test for the from_tty | |
5065 | parameter and avoid query when not interactive. | |
5066 | ||
6185f899 JL |
5067 | start-sanitize-am33 |
5068 | Wed Jul 29 10:39:29 1998 Jeffrey A Law (law@cygnus.com) | |
5069 | ||
5070 | * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33 | |
5071 | registers if we are not in am33 mode. | |
5072 | (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly. | |
5073 | (set_machine_hook): Keep track of whether or not we're in am33 mode. | |
5074 | ||
5075 | end-sanitize-am33 | |
0745a748 MS |
5076 | Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5077 | ||
5078 | * tracepoint.c (remote_set_transparent_ranges): new function. | |
5079 | Send the start and end addresses of all loadable read-only | |
5080 | sections down to the trace target, so that it can treat them | |
5081 | as "transparent" (ie. don't care if they were collected or not). | |
5082 | ||
5ef103c0 MA |
5083 | Mon Jul 27 15:38:07 1998 Mark Alexander <marka@cygnus.com> |
5084 | ||
5085 | * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix | |
5086 | for setting frame address in optimized code; made unnecessary | |
5087 | by compiler fixes. | |
5088 | ||
55d3002f MH |
5089 | Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com> |
5090 | ||
5091 | * symtab.c (decode_line_1): For minimal symbol, call | |
5092 | find_pc_sect_line() to make sure the line number gets set | |
5093 | properly. | |
5094 | (print_symbol_info): Redeclare function void. | |
5095 | ||
2926766b JM |
5096 | 1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com) |
5097 | ||
5098 | * config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The | |
5099 | stack pointer et al are synthesized from the SP_REGNUM (etc) | |
5100 | defines and should not be mentioned in REGISTER_NAMES. | |
5101 | ||
b5b59a3c JL |
5102 | start-sanitize-am33 |
5103 | Mon Jul 27 08:54:41 1998 Jeffrey A Law (law@cygnus.com) | |
5104 | ||
5105 | * mn10300-tdep.c (mn10300_frame_chain): Account for space saved | |
5106 | by am33 register saves. | |
5107 | (mn10300_frame_saved_pc): Similarly. | |
5108 | ||
5109 | end-sanitize-am33 | |
8d6476c7 MS |
5110 | Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5111 | ||
5112 | * tracepoint.c (encode_actions): Treat register names and simple | |
5113 | variable names as special cases and don't convert them to byte- | |
5114 | codes: these things can be collected far more efficiently | |
5115 | without invoking the bytecode interpreter. | |
5116 | ||
bd06c4e4 MA |
5117 | Fri Jul 24 13:32:46 1998 Mark Alexander <marka@cygnus.com> |
5118 | ||
5119 | * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it | |
5120 | work on hosts of any endianness. | |
4448ace2 | 5121 | * config/i386/tm-i386v.h: Ditto. |
bd06c4e4 | 5122 | |
52e4073c MA |
5123 | Fri Jul 24 07:41:12 1998 Mark Alexander <marka@cygnus.com> |
5124 | ||
5125 | * mn10300-tdep.c (set_movm_offsets): New helper function | |
5126 | for mn10300_analyze_prologue. | |
5127 | (mn10300_analyze_prologue): Simplify by factoring out common code. | |
5128 | Fix bugs in setting frame address for optimized code. | |
5129 | Use read_memory_nobpt instead of target_read_memory. | |
5130 | ||
f32fa053 MS |
5131 | Thu Jul 23 17:01:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5132 | ||
5133 | * tracepoint.c (collect_symbol): handle LOC_ARG case. | |
5134 | ||
79dc9305 DP |
5135 | Thu Jul 23 15:07:40 1998 Dawn Perchik <dawn@cygnus.com> |
5136 | ||
5137 | * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're | |
5138 | in a function prologue before the SAVE instruction. | |
5139 | (sparc_frame_saved_pc): Ditto. | |
5140 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag. | |
5141 | ||
dd473edc DP |
5142 | Thu Jul 23 14:58:09 1998 Dawn Perchik <dawn@cygnus.com> |
5143 | ||
5144 | * i386-tdep.c (i386_get_frame_setup): Recognize function | |
5145 | prologues in code compiled with -fcheck-stack. | |
5146 | ||
2474bfd7 DP |
5147 | Thu Jul 23 14:49:27 1998 Dawn Perchik <dawn@cygnus.com> |
5148 | ||
5149 | * remote-mips.c (remote_mips_insert_hw_breakpoint, | |
5150 | remote_mips_remove_hw_breakpoint): New functions for hardware | |
5151 | breakpoints on LSI targets. | |
5152 | * config/mips/tm-embed.h (target_remove_hw_breakpoint, | |
5153 | target_insert_hw_breakpoint): Define to call | |
5154 | remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint, | |
5155 | respectively. | |
5156 | ||
f07122bc IC |
5157 | start-sanitize-sky |
5158 | Thu Jul 23 13:00:28 1998 Ian Carmichael <iancarm@cygnus.com> | |
5159 | ||
b5c7e122 | 5160 | * txvu-tdep.c (VU0_MEM0_WINDOW_START, VU1_MEM0_WINDOW_START) |
f07122bc IC |
5161 | Changed to use addresses in kseg1 range. |
5162 | ||
5163 | end-sanitize-sky | |
5164 | 1998-07-21 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
5165 | ||
5166 | * source.c (print_source_lines): Print "No such file or directory" | |
5167 | just once. | |
5168 | (directory_command): same as above; resets if user issues dir. | |
2e7eeba9 | 5169 | |
4d14b252 MH |
5170 | Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com> |
5171 | ||
5172 | * symtab.c (decode_line_2): Instead of printing a prompt | |
5173 | and calling command_line_input() without a prompt, just | |
5174 | call it with the proper args. This makes the GUI work too. | |
5175 | ||
36297ff3 RU |
5176 | Fri Jul 17 9:26:50 1998 Ron Unrau <runrau@cygnus.com> |
5177 | ||
5178 | * blockframe.c (find_pc_sect_partial_function): allow for the possi- | |
5179 | bility of multiple symbols at the same address when finding high. | |
5180 | * breakpoint.c (resolve_sal_pc): if the function based section lookup | |
5181 | fails, try getting the section from the minimal symbol table. | |
5182 | * parse.c (write_exp_msymbol): use symbol_overlayed_address to get | |
5183 | the LMA of a minimal symbol if unmapped. | |
5184 | * symtab.c (find_line_symtab): change interface to return symtab | |
5185 | containing the best linetable found. | |
5186 | (decode_line_1): use find_line_symtab to set val.symtab. This should | |
5187 | improve support for source files with multiple symtabs. | |
5188 | start-sanitize-sky | |
5189 | * tm-txvu.h: include tm-mips64.h instead of starting from scratch. | |
5190 | end-sanitize-sky | |
5191 | ||
895cc8ab KS |
5192 | Wed Jul 15 11:51:33 1998 Keith Seitz <keiths@cygnus.com> |
5193 | ||
5194 | * main.c (main): Fix violations of GNU coding standard. | |
5195 | ||
5196 | * breakpoint.c: Export delete_command. | |
5197 | ||
5198 | * infcmd.c: Export continue_command, stepi_command, and nexti_command. | |
5199 | ||
5200 | * Makefile.in: Add target for v850ice.o. | |
5201 | ||
5202 | * configure.tgt: Add cygwin32 dependencies for v850 ice. | |
2e7eeba9 | 5203 | |
e1f1ed1a NC |
5204 | Wed Jul 15 10:58:29 1998 Nick Clifton <nickc@cygnus.com> |
5205 | ||
5206 | * tracepoint.c (set_raw_tracepoint): Cope with symbols that do not | |
5207 | have an associated directory. | |
5208 | ||
5209 | Mon Jul 13 15:21:04 1998 Mark Alexander <marka@cygnus.com> | |
5210 | ||
5211 | * utils.c (puts_debug): Display non-printable characters in hex | |
5212 | instead of octal. | |
5213 | ||
f05bd277 JL |
5214 | Thu Jul 9 16:16:47 1998 Jeffrey A Law (law@cygnus.com) |
5215 | ||
5216 | * mn10300-tdep.c (mn10300_generic_register_names): New variable. | |
5217 | (set_machine_hook): New function. Copy the appropriate register | |
5218 | names into reg_names. | |
5219 | (_initialize_mn10300_tdep): Set up to call set_machine_hook. | |
5220 | * tm-mn10300 (NUM_REGS): Bump to 32. | |
5221 | (REGISTER_NAMES): Updated accordingly. | |
5222 | ||
5223 | start-sanitize-am33 | |
5224 | * mn10300-tdep.c (am33_register_names): New variable. | |
5225 | (mn10300_analyze_prologue): Handle regs saved by am33 prologues. | |
5226 | * tm-mn10300.h (E0_REGNUM): Define. | |
5227 | end-sanitize-am33 | |
5228 | ||
89f015d7 RU |
5229 | Tue Jul 7 7:40:13 1998 Ron Unrau <runrau@cygnus.com> |
5230 | ||
5231 | * symtab.c (find_pc_sect_psymbol): allow case where textlow is 0 | |
5232 | ||
8d3c21b3 FCE |
5233 | Thu Jul 2 15:57:58 1998 Frank Ch. Eigler <fche@cygnus.com> |
5234 | ||
5235 | * breakpoint.c (resolve_sal_pc): Accept absence of innermost | |
5236 | Lexical block for breakpoint resolution. | |
5237 | ||
3acd0db5 DP |
5238 | Thu Jul 2 10:22:00 1998 Dawn Perchik <dawn@cygnus.com> |
5239 | ||
5240 | * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug | |
5241 | section, but just don't add a 2nd minimal symbol if this is an .mdebug | |
5242 | section in an ELF file. | |
5243 | ||
40d8aa2c JB |
5244 | 1998-07-01 Jim Blandy <jimb@zwingli.cygnus.com> |
5245 | ||
5246 | * Makefile.in (ax-general.o): Depend on $(defs_h) too. | |
5247 | (ax_h): Bother to define this. | |
5248 | ||
d40d5880 JM |
5249 | Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com> |
5250 | ||
5251 | * gnu-regex.c (re_comp): Add cast to char * before gettext calls. | |
5252 | ||
655a27b0 PS |
5253 | Sun Jun 28 11:35:48 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5254 | ||
5255 | Improve support for SunPro F77. | |
5256 | * dbxread.c (end_psymtab, process_one_symbol): Handle minimal | |
5257 | symbols with trailing underscore names. | |
5258 | * minsyms.c (find_stab_function_addr): Ditto. | |
5259 | * dbxread.c (process_one_symbol): Ignore N_ALIAS for now. | |
5260 | * partial-stab.h (case N_ALIAS): Ditto. | |
5261 | * stabsread.c (read_sun_builtin_type): Handle boolean types. | |
5262 | ||
7f6cb62e KS |
5263 | Fri Jun 26 14:03:01 1998 Keith Seitz <keiths@cygnus.com> |
5264 | ||
5265 | * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE, | |
5266 | TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by | |
5267 | new search_symbols. | |
5268 | Add prototype for search_symbols and free_search_symbols. | |
5269 | ||
5270 | * symtab.c (list_symbols): Rewrite to use new search_symbols. | |
5271 | (file_matches): New helper function for search_symbols. | |
5272 | (free_search_symbols): New function which frees data returned from | |
5273 | search_symbols. | |
5274 | (print_symbol_info): New helper function which prints info about a | |
5275 | matched symbol to stdout. Extracted from old list_symbols. | |
5276 | (print_msymbol_info): New helper function which prints info about | |
5277 | a matched msymbol to stdout. Extracted from old list_symbols. | |
5278 | (symtab_symbol_info): Extracted from old list_symbols. | |
5279 | (variables_info): Use symtab_symbol_info. | |
5280 | (functions_info): Use symtab_symbol_info. | |
5281 | (types_info): Use symtab_symbol_info. | |
5282 | (rbreak_command): Rewrite to use new search_symbols. | |
5283 | ||
d3f153ad FCE |
5284 | Thu Jun 25 22:38:32 1998 Frank Ch. Eigler <fche@cygnus.com> |
5285 | ||
5286 | * mips-tdep.c (mips_push_arguments): Use 128-bit stack frame | |
5287 | alignment for inferior calls. | |
5288 | ||
9d4cd1e8 MA |
5289 | Wed Jun 24 23:17:12 1998 Mark Alexander <marka@cygnus.com> |
5290 | ||
5291 | * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculation | |
5292 | of jsr target address. | |
5293 | ||
2f75adc0 MA |
5294 | Tue Jun 23 19:37:46 1998 Mark Alexander <marka@cygnus.com> |
5295 | ||
5296 | * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't | |
5297 | zero upper byte of address. | |
5298 | ||
75621b2b MS |
5299 | Tue Jun 23 17:32:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5300 | ||
5301 | * rs6000-tdep.c (pop_dummy_frame): use memcpy. | |
5302 | (push_arguments): use memset. | |
5303 | (various other places): fix up indentation and long lines. | |
5304 | ||
59bbabf5 JM |
5305 | Tue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com) |
5306 | ||
5307 | * configure.in: s/lXext/-lXext/ for Jillian's change. | |
5308 | ||
a00dfa36 MS |
5309 | Tue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5310 | ||
d32d4319 MS |
5311 | * source.c (find_source_lines): fix indentation. |
5312 | ||
a00dfa36 MS |
5313 | * config/mips/tm-irix5.h: Modify to work better on irix 6, by |
5314 | making FP registers 8 bytes instead of 4. | |
5315 | REGISTER_BYTES: redefine. REGISTER_BYTE(): redefine. | |
5316 | REGISTER_VIRTUAL_TYPE: redefine. MIPS_LAST_ARG_REGNUM: redefine. | |
5317 | * irix5-nat.c (fetch_core_registers): read 8 bytes per FP register. | |
5318 | * mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish | |
5319 | targets with 8-byte FP registers (don't use TARGET_MIPS64). | |
5320 | (STACK_ARGSIZE): new macro, how much space is taken up on the | |
5321 | stack for each function argument (don't use TARGET_MIPS64). | |
5322 | (mips_push_arguments): modify logic to work better on Irix 6 | |
5323 | (n32 ABI). | |
5324 | ||
f915cc91 JY |
5325 | Tue Jun 23 12:29:53 1998 Jillian Ye <jillian@cygnus.com> |
5326 | ||
5327 | * configure.in: Add -lXext to mips_extra_libs | |
59bbabf5 | 5328 | * configure: Regenerated. |
f915cc91 JY |
5329 | |
5330 | Sun Jun 21 09:31:12 1998 Ron Unrau (runrau@cygnus.com) | |
5331 | ||
5332 | * symtab.c (find_line_pc): assumed that a PC of 0 is illegal. | |
91e14aa9 SS |
5333 | Changed to pass PC as arg and return 1 if valid (0 otherwise). |
5334 | * symtab.h: Change prototype to match. | |
5335 | * symtab.c (find_line_pc_range): Use new interface. | |
5336 | * breakpoint.c (resolve_sal_pc): Ditto. | |
f915cc91 JY |
5337 | |
5338 | Wed Jun 17 15:50:00 1998 Ron Unrau (runrau@cygnus.com) | |
5339 | ||
5340 | * parse.c (target_map_name_to_register): Check target specific | |
5341 | aliases *first* so that it can over-ride architectural names | |
2e7eeba9 | 5342 | |
959941e7 SZ |
5343 | Wed Jun 17 17:13:38 1998 Said Ziouani (saidz@park-street.cygnus.com) |
5344 | ||
5345 | * remote-sds.c (sds_start_remote): Fix printf call. | |
5346 | ||
40fad493 MA |
5347 | Tue Jun 16 16:32:08 1998 Mark Alexander <marka@cygnus.com> |
5348 | ||
5349 | * mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer | |
5350 | crash when in "start". | |
5351 | ||
ec076280 RU |
5352 | Tue Jun 16 14:38:40 1998 Ron Unrau (runrau@cygnus.com) |
5353 | ||
5354 | * dbxread.c: reset function_start_offset after a finishing N_FUN | |
5355 | is seen. | |
5356 | * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override | |
5357 | target vectors as needed. | |
5358 | ||
c4faac32 RU |
5359 | Sun Jun 14 08:46:25 1998 Ron Unrau (runrau@cygnus.com) |
5360 | ||
5361 | * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass | |
5362 | CUR_SYMBOL_VALUE as CORE_ADDR instead of long | |
5363 | * buildsym.[ch]: export pending_blocks list | |
5364 | ||
47963370 DP |
5365 | Sat Jun 13 13:02:32 1998 Dawn Perchik (dawn@cygnus.com) |
5366 | ||
2e7eeba9 | 5367 | * remote.c: Fix remote help string to match that of help.exp. |
47963370 | 5368 | |
15125484 JM |
5369 | Fri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com) |
5370 | ||
5371 | * configure.in (LIBS): Add -lw to the list of libraries if needed. | |
5372 | ||
5373 | Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com) | |
5374 | ||
5375 | * btowc.c: Removed. | |
5376 | * configure.in: Don't see if we need to replace btowc(). | |
5377 | * Makefile.in: Don't include LIBOBJS. | |
5378 | * configure: Regenerated. | |
5379 | * gnu-regex.c (regex_compile): Only support i18n [:foo:] if | |
5380 | we have btowc(). | |
5381 | ||
f6d23b6f SG |
5382 | Wed Jun 10 15:39:14 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
5383 | ||
2e7eeba9 MS |
5384 | * c-exp.y: Fix problems with parsing "'foo.bar'::func". |
5385 | Some languages allow symbols with dots. | |
f6d23b6f SG |
5386 | |
5387 | * gdbtypes.c (check_stub_method): Cosmetic. Use more descriptive | |
5388 | names for parameters. | |
5389 | ||
5390 | start-sanitize-java | |
5391 | * jv-exp.y: Parser now accepts primitive types. | |
5392 | * (parse_number): Use correct ifdef for scanf long double support. | |
5393 | * jv-lang.c (java_array_type): Initial cut at array support. | |
5394 | ||
5395 | end-sanitize-java | |
5396 | * language.c language.h (set_language): Now returns previous language. | |
5397 | ||
5398 | * symtab.c (find_methods): Make static. Cosmetic changes, including | |
2e7eeba9 MS |
5399 | indentation, and adding descriptive comments. Move local variable |
5400 | defs into the block they are used in. | |
f6d23b6f SG |
5401 | * Don't call check_stub_method any more. Use gdb_mangle_name to |
5402 | generate the full method name. find_method doesn't need all the other | |
5403 | goobldegook that check_stub_method does. | |
5404 | * (gdb_mangle_name): Use more descriptive names for parameters. Fix | |
5405 | comment. | |
5406 | start-sanitize-java | |
5407 | * (lookup_partial_symbol lookup_block_symbol): Check for java to | |
5408 | ensure we can find mangled names. | |
5409 | end-sanitize-java | |
5410 | * (decode_line_1): Move local variable defs into the block they are | |
5411 | used in. (Improves code readability.) | |
2e7eeba9 | 5412 | |
7924771e FCE |
5413 | Wed Jun 10 18:04:35 1998 Frank Ch. Eigler <fche@cygnus.com> |
5414 | ||
5415 | * gdbtypes.c (get_discrete_bounds): Assign unsigned type flag for | |
5416 | all-positive enum. | |
5417 | (create_set_type): Ditto for all-positive set values. | |
5418 | * values.c (unpack_field_as_long): Check for typedef in struct | |
5419 | field unpacking. | |
5420 | ||
9ed669cf JM |
5421 | Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com) |
5422 | ||
5423 | * configure.in: Add some tests for gnu-regex.c's benefit. | |
5424 | See if btowc() function is provided in C library. | |
5425 | * configure, config.in: Regenerated. | |
5426 | * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c | |
5427 | if necessary. | |
5428 | * btowc.c: New file. | |
5429 | ||
5430 | * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris' | |
5431 | benefit. | |
5432 | Drop namespace preserving defines for now. | |
5433 | ||
a4122443 JM |
5434 | Wed Jun 10 11:53:42 1998 Jason Molenda (crash@bugshack.cygnus.com) |
5435 | ||
5436 | * gnu-regex.c: Include "gnu-regex.h", not "regex.h". | |
5437 | ||
9408296b JM |
5438 | Wed Jun 10 11:34:07 1998 Jason Molenda (crash@bugshack.cygnus.com) |
5439 | ||
5440 | * gnu-regex.c, gnu-regex.h: Change LGPL license to GPL license | |
5441 | to stay consistent with the rest of GDB. | |
5442 | ||
9f85ab1a JM |
5443 | Wed Jun 10 11:27:39 1998 Jason Molenda (crash@bugshack.cygnus.com) |
5444 | ||
5445 | * gnu-regex.c, gnu-regex.h: Update to current FSF (glibc) versions. | |
5446 | ||
f7065e88 MS |
5447 | Wed Jun 10 10:58:18 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5448 | ||
9f85ab1a | 5449 | * printcmd.c (disassemble_command): move overlay mapping code |
f7065e88 MS |
5450 | "up" into find_pc_partial_function. |
5451 | * blockframe.c (find_pc_partial_function): adjust start address | |
5452 | and end address for overlays (mapped vs. unmapped addresses), | |
5453 | so that all callers of this function may benefit. | |
5454 | * m32r-tdep.c (m32r_skip_prologue): adjust indentation. | |
5455 | ||
a2266bed RU |
5456 | Mon Jun 8 16:08:10 1998 Ron Unrau <runrau@cygnus.com> |
5457 | ||
5458 | * objfiles.c (add_to_objfile_sections): All targets to define | |
5459 | TARGET_KEEP_SECTION to permit them to retain bfd sections that | |
5460 | GDB would otherwise have discarded. | |
5461 | ||
705b12df DE |
5462 | Fri Jun 5 13:56:19 1998 Doug Evans <devans@canuck.cygnus.com> |
5463 | ||
5464 | * dbxread.c (read_dbx_symtab): Don't lower texthigh for last psymtab. | |
5465 | ||
0e05ecee SS |
5466 | Thu Jun 4 18:35:04 1998 Stan Shebs <shebs@andros.cygnus.com> |
5467 | ||
5468 | * remote.c (init_extended_remote_ops): Make extended_remote_ops | |
5469 | by copying from remote_ops, move it and init_remote_ops to | |
5470 | usual place at end of file, remove "void" from arg lists. | |
5471 | ||
ce56660d MA |
5472 | Thu Jun 4 17:51:06 1998 Mark Alexander <marka@cygnus.com> |
5473 | ||
5474 | * sparc-tdep.c (sparc_fix_call_dummy): Byte-swap the call dummy | |
5475 | on bi-endian machines. | |
5476 | (sparc_extract_return_value): Handle values smaller than int on | |
5477 | machines with little-endian data. | |
5478 | (sparc_target_architecture_hook): Set bi_endian flag. | |
5479 | ||
d6b6757b MS |
5480 | Thu Jun 4 12:14:48 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5481 | ||
5482 | * printcmd.c (disassemble_command): Fix off-by-one error for | |
5483 | disassembling functions in unmapped overlay sections. | |
5484 | ||
ecc6e842 EZ |
5485 | Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
5486 | ||
5487 | * remote.c: merged. | |
5488 | ||
5489 | - Jim Blandy <jimb@zwingli.cygnus.com> | |
5490 | (print_packet, remote_packet_command): New functions. | |
5491 | (_initialize_remote): Register the remote-packet command. | |
5492 | - David Taylor <taylor@texas.cygnus.com> | |
5493 | (_initialize_remote): remote-compare is now | |
5494 | compare-sections. | |
5495 | - Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
5496 | (remote_compare_command): added warning, issued in case | |
5497 | of mismatch only. | |
5498 | ||
b85cf6ae MS |
5499 | Thu Jun 4 08:25:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5500 | ||
5501 | * remote.c (remote_compare_command): New function, new command. | |
5502 | Compare object file binary image with corresponding memory on | |
5503 | remote target. Report differences. | |
5504 | ||
cda8a2bb MA |
5505 | Tue Jun 2 19:05:04 1998 Mark Alexander <marka@cygnus.com> |
5506 | ||
5507 | * sparc-tdep.c (sparc_target_architecture_hook): Set target | |
5508 | byte order only when it's selectable. | |
5509 | ||
33c65ba3 MA |
5510 | Tue Jun 2 02:01:56 1998 Mark Alexander <marka@cygnus.com> |
5511 | ||
5512 | * sparc-tdep.c (sparc_target_architecture_hook): New function to | |
5513 | set endianness based on machine type. | |
5514 | (_initialize_sparc_tdep): Initialize target_architecture_hook. | |
5515 | (sparc_print_register_hook): Print PSR and FPSR in fancy format | |
5516 | on 32-bit machines. | |
5517 | * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to | |
5518 | call sparc_print_register_hook instead of using inline code. | |
5519 | * config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove. | |
5520 | ||
47792960 KS |
5521 | Thu May 28 17:19:14 1998 Keith Seitz <keiths@cygnus.com> |
5522 | ||
5523 | * main.c (main): Check for NULL from getenv on CYGWIN32. | |
5524 | ||
5525 | Thu May 28 09:41:44 1998 Nick Clifton <nickc@cygnus.com> | |
5526 | ||
5527 | * monitor.c (monitor_vsprintf): Handle %%. Patch courtesy of | |
5528 | Felix Lee (flee@cygnus.com) | |
5529 | ||
f893ebe3 PS |
5530 | Thu May 28 00:27:35 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5531 | ||
5532 | * mips-tdep.c (mips_push_dummy_frame): Fix calculation of | |
5533 | PROC_REG_OFFSET and PROC_FREG_OFFSET. | |
5534 | ||
ea45efcf AC |
5535 | Mon Apr 27 14:37:49 1998 Andrew Cagney <cagney@b1.cygnus.com> |
5536 | ||
5537 | * config/v850/tm-v850.h (REGISTER_BYTE): FP_REGNUM and | |
5538 | FP_RAW_REGNUM use the same register location. | |
5539 | ||
5540 | * v850-tdep.c (v850_scan_prologue): Use FP_RAW_REGNUM instead of | |
5541 | FP_REGNUM. | |
5542 | (v850_frame_chain): Ditto. | |
5543 | ||
5544 | * config/v850/tm-v850.h (REGISTER_NAMES): Add "fp". | |
5545 | (NUM_REGS): Update. | |
5546 | (FP_REGNUM): Update. | |
5547 | (FP_RAW_REGNUM): Define. | |
5548 | ||
f893ebe3 PS |
5549 | Wed May 27 14:22:31 1998 Keith Seitz <keiths@cygnus.com> |
5550 | ||
5551 | * main.c (main): Convert the path returned from getenv to a posix | |
5552 | path on cygwin32 hosts. | |
5553 | ||
6ac0c55d KS |
5554 | Mon May 25 13:31:27 1998 Keith Seitz <keiths@cygnus.com> |
5555 | ||
822730df JM |
5556 | * remote.c (remote_open_1): If an error occurs starting the remote, |
5557 | pop the target AND return. | |
6ac0c55d | 5558 | |
be5f18e1 PS |
5559 | Sat May 23 02:23:09 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5560 | ||
5561 | * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPED | |
5562 | on C++ functions. | |
5563 | * valops.c (value_arg_coerce): Add new argument to indicate whether | |
5564 | the function has a prototype, handle integer and float promotions | |
5565 | accordingly. | |
5566 | (call_function_by_hand): Always call value_arg_coerce, pass down | |
5567 | prototype information. | |
5568 | ||
3ff4b4c6 JM |
5569 | Fri May 22 10:56:36 1998 John Metzler <jmetzler@cygnus.com> |
5570 | ||
5571 | * remote.c (_initialize_remote): Typo extended__remote | |
5572 | ||
c719b714 | 5573 | Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com> |
b0cf9ee2 | 5574 | |
c719b714 | 5575 | * gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment. |
b0cf9ee2 JM |
5576 | (_initialize_gnu_nat): Call new init |
5577 | * mac-nat.c (init_child_ops): Ditto. | |
5578 | (_initialize_mac_nat): Ditto. | |
5579 | * monitor.c (init_base_monitor_ops): Ditto. | |
5580 | (_initialize_remote_monitors): Ditto. | |
5581 | * ppc-bdm.c (init_bdm_ppc_ops): Ditto. | |
5582 | (_initialize_bdm_ppc): Ditto. | |
5583 | * remote-adapt.c (init_adapt_ops): Ditto. | |
5584 | (_initialize_remote_adapt): Ditto. | |
5585 | * remote-array.c (init_array_ops): Ditto. | |
5586 | (_initialize_array): Ditto. | |
5587 | * remote-bug (init_bug_ops): Ditto. | |
5588 | (_initialize_remote_bug): Ditto. | |
5589 | * remote-e7000.c (init_e7000_ops): Ditto. | |
5590 | (_initialize_remote_e7000): Ditto. | |
5591 | * remote-eb.c (init_eb_ops): Ditto. | |
5592 | (_initialize_remote_eb): Ditto. | |
5593 | * remote-es.c (init_es1800_ops): Ditto. | |
5594 | (init_es1800_child_ops): Ditto. | |
5595 | (_initialize_es1800): Ditto. | |
5596 | * remote-hms.c (init_hms_ops): Ditto. | |
5597 | (_initialize_remote_hms): Ditto. | |
5598 | * remote-mm.c (init_mm_ops): Ditto. | |
5599 | (_initialize_remote_mm): Ditto. | |
5600 | * remote-nindy.c (init_nindy_ops): Ditto. | |
5601 | (_initialize_nindy): Ditto. | |
5602 | * remote_nrom.c (init_nrom_ops): Ditto. | |
5603 | (_initialize_remote_nrom): Ditto. | |
5604 | * remote-os9k (init_rombug_ops): Ditto. | |
5605 | (_initialize_remote_os9k): Ditto. | |
5606 | * remote-rdi.c (init_rdi_ops): Ditto. | |
5607 | (_initialize_remote_rdi): Ditto. | |
5608 | * remote-rdp.c (init_remote_rdp_ops): Ditto. | |
5609 | (_initialize_remote_rdp): Ditto. | |
5610 | * remote-sds.c (init_sds_ops): Ditto. | |
5611 | (_initialize_remote_sds): Ditto. | |
5612 | * remote-sim.c (init_gdbsim_ops): Ditto. | |
5613 | (_initialize_remote_sim): Ditto. | |
5614 | * remote-st.c (init_st2000_ops): Ditto. | |
5615 | (_initialize_remote_st2000): Ditto. | |
5616 | * remote-udi.c (init_udi_ops): Ditto. | |
5617 | (_initialize_remote_udi): Ditto. | |
5618 | * remote-vx.c (init_vx_ops): Ditto. | |
5619 | (init_vx_run_ops): Ditto. | |
5620 | (_initialize_vx): Ditto. | |
5621 | * remote.c (init_remote_ops): Ditto. | |
5622 | (init_extended_remote_ops): Ditto. | |
5623 | (_initialize_remote): Ditto. | |
5624 | * sparcl-tdep.c (init_sparclite_ops): Ditto. | |
5625 | (_initialize_sparcl_tdep): Ditto. | |
5626 | * v850ice.c (init_850ice_ops): Ditto. | |
5627 | (_initialize_v850ice): Ditto. | |
b5c7e122 | 5628 | * win32-nat.c (init_child_ops): Ditto. |
b0cf9ee2 | 5629 | (_initialize_inftarg): Ditto. |
c719b714 | 5630 | |
b0d7af2a MS |
5631 | 1998-05-21 Jim Blandy <jimb@zwingli.cygnus.com> |
5632 | ||
5633 | * ax-gdb.c (const_var_ref): Don't handle function names. I don't | |
5634 | want to implement all the "usual unary conversion" rules for | |
5635 | constants. | |
5636 | (gen_usual_unary): Turn "function" values into "pointer to | |
5637 | function" values, in accordance with ANSI. | |
5638 | (gen_deref): Don't do the usual unary conversions here. Let the | |
5639 | caller do it. Note that dereferencing a function pointer yields | |
5640 | a function designator, which we call an rvalue, not an lvalue. | |
5641 | (gen_address_of): Handle functions specially. | |
5642 | (gen_struct_ref): Perform the usual unary conversions before | |
5643 | calling gen_deref. | |
5644 | (gen_expr): In case for the prefix '*' operator, call | |
5645 | gen_usual_unary manually. | |
5646 | ||
116b98b8 GRK |
5647 | Wed May 20 15:29:41 1998 Gavin Koch <gavin@cygnus.com> |
5648 | ||
78af0a00 JM |
5649 | * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE): Defined as MIPS_FPU_NONE. |
5650 | * mips/tm-tx39l.h: Same. | |
116b98b8 | 5651 | |
40fd928f JM |
5652 | Wed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com> |
5653 | ||
b5c7e122 | 5654 | * m32r-tdep.c (decode_prologue): Handle frames compiled with -Os. |
40fd928f JM |
5655 | Split out as separate function called by skip prologue and scan |
5656 | prologue. new formula handles optimization in which the prologue | |
5657 | is interleaved with the body of the function. Also recognizes new | |
5658 | variations of prologue encoding. Use of frame pointer is | |
5659 | essential to debugging, -fno-omit-frame-pointer | |
5660 | (m32r_skip_prologue): Call decode prologue, ignore line info | |
5661 | (m32r_scan_prologue): Call decode prologue, ignore line info. | |
5662 | ||
5d460ad9 JM |
5663 | Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com> |
5664 | ||
78af0a00 JM |
5665 | * w89k-rom.c (_initialize_w89k): Call new init function |
5666 | (init_w89k_cmds): Convert to dynamic initialization of monitor_ops | |
5667 | data structure for forward compatability with additions to the | |
5668 | data structure. | |
5d460ad9 | 5669 | * dbug-rom.c (_initialize_dbug_rom): ditto |
78af0a00 JM |
5670 | (init_dbug_cmds): ditto |
5671 | * m32r-rom.c (_initialize_m32r_rom): ditto | |
5672 | (init_m32r_cmds): ditto | |
5d460ad9 | 5673 | |
b0d7af2a MS |
5674 | Tue May 19 14:54:11 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5675 | ||
5676 | * tracepoint.c (memrange_cmp): use const void * args to avoid | |
5677 | ANSI compiler warnings. | |
5678 | ||
5679 | 1998-05-19 Jim Blandy <jimb@zwingli.cygnus.com> | |
5680 | ||
5681 | * ax-gdb.c (gen_fetch, gen_var_ref, gen_deref, find_field, | |
5682 | gen_bitfield_ref, gen_expr): Call error, not abort. | |
5683 | * ax-general.c (read_const, generic_ext, ax_trace_quick, | |
5684 | ax_label, ax_const_d, ax_reg, ax_print): Same. | |
5685 | ||
5686 | * tracepoint.c: Remove the $(...) syntax for memranges. | |
5687 | (validate_actionline, encode_actions, trace_dump_command): Remove | |
5688 | clauses for the $(...) syntax. | |
5689 | (parse_and_eval_memrange): Function deleted. | |
5690 | (_initialize_tracepoint): Update function description. | |
5691 | ||
b0d7af2a MS |
5692 | * ax-gdb.c (_initialize_ax_gdb): Make the "agent" command a |
5693 | subcommand of "maintenance", as it should have been from the | |
5694 | beginning. #include "gdbcmd.h", to get the declaration for | |
5695 | maintenancelist. | |
5696 | * Makefile.in: Document that dependency. | |
5697 | ||
5698 | Tue May 19 12:00:58 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
5699 | ||
5700 | * tracepoint.c (get_tracepoint_by_number): new function, to access | |
5701 | traceframe_number for use of the GUI. | |
5702 | ||
5703 | * tracepoint.h: added prototype for get_traceframe_number. | |
5704 | ||
d4d1c7b5 KS |
5705 | Mon May 18 13:34:27 1998 Keith Seitz <keiths@cygnus.com> |
5706 | ||
5707 | * dbxread.c (process_one_symbol): If block addresses are relative to | |
5708 | function start addresses, reset function_start_address whenever a new | |
5709 | source file is seen. | |
5710 | ||
b0d7af2a MS |
5711 | Mon May 18 13:04:27 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5712 | ||
5713 | * tracepoint.c (get_tracepoint_by_number): make sure to advance | |
5714 | arg pointer even if we fail to parse a useful number. Otherwise, | |
5715 | since this function is called in a loop, it may loop forever! | |
5716 | Also change strtol call to allow arbitrary radix. | |
5717 | (map_args_over_tracepoints (and other places)): add QUIT; call | |
5718 | to loop, to allow breakout using control-C. Not all loops were | |
5719 | analyzed to make sure they could terminate cleanly, but even | |
5720 | terminating with a messed-up tracepoint list would be better | |
5721 | than not terminating at all! | |
5722 | (tdump_command): check to see if we're connected to a trace- | |
5723 | capable target (currently only "remote") before doing anything | |
5724 | else. | |
2e7eeba9 | 5725 | |
c19916b7 FCE |
5726 | Sat May 16 22:21:48 1998 Frank Ch. Eigler <fche@cygnus.com> |
5727 | ||
5728 | * config/d30v/tm-d30v.h (INIT_FRAME_PC_FIRST): Fill in PC into | |
5729 | frame struct before extracting saved register offsets. | |
2e7eeba9 | 5730 | |
b0d7af2a MS |
5731 | Fri May 15 22:47:45 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5732 | ||
5733 | * tracepoint.c (encode_actions): fix typo in printf format string. | |
5734 | ||
5735 | 1998-05-15 Jim Blandy <jimb@zwingli.cygnus.com> | |
5736 | ||
5737 | Implement a few more tracing operators: ^ | & ~ ! | |
5738 | * ax-gdb.c (gen_integral_promotions, gen_logical_not, | |
5739 | gen_complement): New functions. | |
5740 | (gen_binop): New argument MAY_CARRY, indicating whether we need to | |
5741 | correct the upper bits of the value after performing the | |
5742 | operation. Callers changed. | |
5743 | (gen_expr): Handle BINOP_BITWISE_AND, BINOP_BITWISE_IOR, and | |
5744 | BINOP_BITWISE_XOR here as well, by calling gen_binop. Handle | |
5745 | UNOP_LOGICAL_NOT, UNOP_COMPLEMENT. | |
5746 | ||
5747 | * ax-gdb.c (gen_conversion): Reworked to avoid some unnecessary | |
5748 | sign extension. | |
2e7eeba9 | 5749 | |
b0d7af2a MS |
5750 | * ax-gdb.c (gen_usual_arithmetic): Renamed from gen_usual_binary, |
5751 | to match the ANSI C standard better. Callers changed. | |
2e7eeba9 | 5752 | |
b0d7af2a MS |
5753 | * ax-gdb.c (gen_traced_pop): Add prototyped declaration. |
5754 | ||
5755 | Fri May 15 18:18:38 1998 David Taylor <taylor@texas.cygnus.com> | |
5756 | ||
5757 | * tracepoint.c (stringify_collections_list): return a collection | |
5758 | of strings rather than a single string. | |
5759 | (free_actions_list): new function. | |
5760 | (encode_actions): process collection of strings returned by | |
5761 | stringify_collections_list. | |
5762 | ||
5763 | 1998-05-15 Jim Blandy <jimb@zwingli.cygnus.com> | |
5764 | ||
5765 | * ax-gdb.c (gen_traced_pop): New function. | |
5766 | (gen_expr): Call it for comma operator. | |
5767 | (gen_trace_for_expr): Call it, instead of writing it out. | |
5768 | ||
5769 | Add facilities for sending arbitrary packets to the remote agent. | |
5770 | There are a bunch of improvements to make (make it generic; handle | |
5771 | 'O' replies properly), but I just want to get this onto the branch. | |
5772 | * remote.c (print_packet, remote_packet_command): New functions. | |
5773 | (_initialize_remote): Register the remote-packet command. | |
5774 | ||
5775 | Thu May 14 17:52:31 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
5776 | ||
5777 | * tracepoint.c: move actionline_type definition to tracepoint.h. | |
5778 | (validate_actionline): make non static. | |
5779 | ||
5780 | * tracepoint.h: move actioline_type definition from tracepoint.c. | |
5781 | (validate_actionline) moved prototype from tracepoint.c. | |
5782 | ||
5783 | Thu May 14 11:49:18 1998 David Taylor <taylor@texas.cygnus.com> | |
5784 | ||
5785 | * tracepoint.c (validate_actionline): add additional error | |
5786 | checking, remove some dead code. | |
5787 | (encode_actions): additional cleanups. | |
5788 | (trace_find_command): remove some dead code. | |
5789 | (trace_find_pc_command): ditto. | |
5790 | (trace_find_tracepoint_command): ditto. | |
5791 | (trace_find_line_command): ditto. | |
5792 | (trace_find_range_command): ditto. | |
5793 | (trace_find_outside_command): ditto. | |
5794 | ||
6e8bee16 SG |
5795 | Thu May 14 5:51:00 1998 Ron Unrau <runrau@cygnus.com> |
5796 | ||
5797 | * symtab.c (decode_line_1): set section for "break *<addr>" | |
5798 | ||
091d7302 MA |
5799 | Wed May 13 20:58:02 1998 Mark Alexander <marka@cygnus.com> |
5800 | ||
5801 | * corefile.c (reopen_exec_file): Reopen the exec file if | |
5802 | it has changed. | |
5803 | ||
f151b17f MA |
5804 | Wed May 13 15:22:02 1998 Mark Alexander <marka@cygnus.com> |
5805 | ||
5806 | * sparc-tdep.c (fetch_instruction): New function. | |
5807 | (single_step, sparc_init_extra_frame_info, examine_prologue): | |
5808 | Use fetch_instruction instead of read_memory_integer | |
5809 | to ensure that instructions are always read as big-endian. | |
5810 | ||
0aa3233e ILT |
5811 | Wed May 13 14:42:21 1998 Ian Lance Taylor <ian@cygnus.com> |
5812 | ||
5813 | * configure.in: Add AC_FUNC_ALLOCA. | |
5814 | * defs.h: Check HAVE_ALLOCA_H rather than sparc. Add _AIX pragma | |
5815 | alloca. | |
5816 | * configure: Rebuild. | |
6e8bee16 | 5817 | start-sanitize-java |
0aa3233e ILT |
5818 | * Makefile.in (jv-lang.o, jv-typeprint.o, jv-valprint.o): New |
5819 | targets. | |
6e8bee16 | 5820 | end-sanitize-java |
0aa3233e | 5821 | |
b0d7af2a MS |
5822 | Wed May 13 11:19:08 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5823 | ||
5824 | * tracepoint.c (trace_command): Remove old diagnostic code that was | |
5825 | preventing tracepoints from being defined with a full-path filename. | |
5826 | ||
c19916b7 FCE |
5827 | Tue May 12 13:17:35 1998 Frank Ch. Eigler <fche@cygnus.com> |
5828 | ||
5829 | * stabsread.c (read_one_struct_field): Check for typedef in type | |
5830 | tree before clearing bitfield information. | |
5831 | ||
b0d7af2a MS |
5832 | 1998-05-11 Jim Blandy <jimb@zwingli.cygnus.com> |
5833 | ||
5834 | * ax-gdb.c (gen_binop): New function, based on gen_mul, to replace | |
5835 | gen_mul and gen_div, and handle `%' op as well. Correctly tests | |
5836 | type of arguments. | |
5837 | (gen_expr): Factor out common code in binary arithmetic operators. | |
5838 | Add support for `%'. | |
5839 | (gen_mul, gen_div): Removed. | |
2e7eeba9 | 5840 | |
ff62d310 JI |
5841 | Thu May 7 14:49:38 1998 Bob Manson <manson@charmed.cygnus.com> |
5842 | ||
5843 | * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieve | |
5844 | %o0-%o5 as 64-bit values; compensate for stack bias. | |
5845 | (USE_STRUCT_CONVENTION): We only pass pointers to structs | |
5846 | if they're larger than 32 bytes. | |
5847 | (REG_STRUCT_HAS_ADDR): Ditto. | |
5848 | ||
5849 | * sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp() | |
5850 | instead of read_register. If the target is a sparc64 and the frame | |
5851 | pointer is odd, compensate for the stack bias. | |
5852 | (get_saved_register): Use read_sp(). | |
5853 | (DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES. | |
5854 | (sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64, | |
5855 | save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers. | |
5856 | (sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC, | |
5857 | CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a | |
5858 | dummy frame. | |
5859 | (sparc_pop_frame): Use write_sp(). If the target is a sparc64 and | |
5860 | the FP is odd, compensate for stack bias. | |
5861 | (sparc_store_return_value): Right-justify the return value before | |
5862 | writing it to %o0. | |
5863 | (sparc_fix_call_dummy): Don't NOP out part of the call dummy on | |
5864 | sparc64. | |
5865 | (sparc64_read_sp, sparc64_read_fp, sparc64_write_sp, | |
5866 | sparc64_write_fp, sp64_push_arguments, | |
5867 | sparc64_extract_return_value): New functions to support the | |
5868 | sparc64 ABI. | |
5869 | ||
5870 | * dwarfread.c (handle_producer): Set processing_gcc_compilation to | |
5871 | the right version number. | |
5872 | ||
5873 | * dwarf2read.c (read_file_scope): Assume we're processing | |
5874 | GCC2 output. | |
5875 | ||
7252da95 JL |
5876 | Wed May 6 16:34:03 1998 Jeffrey A Law (law@cygnus.com) |
5877 | ||
5878 | * somsolib.c: Include gdb_stat.h. | |
5879 | ||
b0d7af2a MS |
5880 | Mon May 4 18:34:01 1998 David Taylor <taylor@texas.cygnus.com> |
5881 | ||
5882 | * ax-gdb.c (gen_mul): new function; (gen_div): new function; | |
5883 | (gen_expr): add support for * and / operators, call gen_mul and | |
5884 | gen_div as appropriate. | |
5885 | ||
7252da95 JL |
5886 | Mon May 4 16:24:22 1998 Mark Alexander <marka@cygnus.com> |
5887 | ||
5888 | * defs.h (make_run_cleanup): Declare. | |
5889 | * solib.c (find_solib): Pass correct number of arguments to | |
5890 | make_run_cleanup. | |
5891 | ||
b0d7af2a MS |
5892 | Mon May 4 07:08:25 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
5893 | ||
5894 | * tracepoint.c (trace_actions_command): actions command must set | |
5895 | step_count to zero (in case previous actions have set it but the | |
5896 | new set does not). | |
5897 | ||
e5a940e2 SG |
5898 | Sat May 2 09:35:07 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
5899 | ||
2e7eeba9 MS |
5900 | * ocd.h: Add new flags, function codes, and processor types to |
5901 | support new Wiggler capabilities. | |
a41292ba SG |
5902 | * (ocd_write_bytes_size): New function to allow atomic writes of |
5903 | memory in sizes larger than a byte. | |
5904 | ||
e5a940e2 SG |
5905 | * ser-unix.c (baudtab): Add 57600, 115200, 230400, and 460800 baud. |
5906 | ||
ce225290 FCE |
5907 | Fri May 1 19:51:32 1998 Frank Ch. Eigler <fche@cygnus.com> |
5908 | ||
5909 | * stabsread.c (read_one_struct_field): Do not override supplied | |
5910 | bitfield size for a range type value. | |
5911 | ||
5912 | * gdbtypes.c (create_range_type): For a range with positive | |
5913 | lower limit, declare range type as unsigned. | |
5914 | ||
fcc1ac97 JM |
5915 | Fri May 1 10:58:34 1998 John Metzler <jmetzler@cygnus.com> |
5916 | ||
5917 | * monitor.c: Turn off debug | |
5918 | ||
a871ab92 PS |
5919 | Fri May 1 09:29:56 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5920 | ||
5921 | * breakpoint.c (delete_command): Skip internal breakpoints when | |
5922 | all breakpoints are requested. | |
5923 | ||
5924 | * stabsread.c (define_symbol): Record parameter types from Sunpro | |
5925 | function stabs in the TYPE_FIELDS of the function type. | |
5926 | ||
921d949d JM |
5927 | Thu Apr 30 15:59:54 1998 Jason Molenda (crash@bugshack.cygnus.com) |
5928 | ||
5929 | * Makefile.in (config-check-targets, config-check-hosts): Removed. | |
5930 | ||
5931 | 1998-04-30 Paul Eggert <eggert@twinsun.com> | |
5932 | ||
5933 | * Makefile.in (maintainer-clean): | |
5934 | Don't get ahead of yourself and delete Makefile | |
5935 | before running `make'. | |
5936 | (local-maintainer-clean, do-maintainer-clean): New rules. | |
5937 | ||
b0d7af2a MS |
5938 | Wed Apr 29 14:02:59 1998 David Taylor <taylor@texas.cygnus.com> |
5939 | ||
5940 | * ax-gdb.c (gen_add): when adding a pointer and an int, use | |
5941 | the size of the pointer, not the int (typo) to decide how | |
5942 | to extend the result. | |
5943 | ||
2a8b1fab | 5944 | Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com> |
17a56e13 | 5945 | start-sanitize-vr4111 |
2a8b1fab | 5946 | |
921d949d JM |
5947 | * nec4102rom.c: New file implements ROM monitor adapter for |
5948 | nec-vr4102 board. This board hosts the vr4111 chip. This file | |
900dc14b | 5949 | required extensions to the monitor_ops structure, hooks for wait |
2a8b1fab JM |
5950 | filter, new flags. This version does not support more than one |
5951 | breakpoint and resuming after a breakpoint in 16 bit mode is | |
921d949d | 5952 | completely disfunctional. |
17a56e13 | 5953 | end-sanitize-vr4111 |
921d949d JM |
5954 | |
5955 | * monitor.h: Defined additional hooks for dmpregs, configure_hooks | |
5956 | and wait_filter. These additions require that all ROM monitor | |
5957 | interfaces be recoded to initialize monitor ops using assignments | |
5958 | rather than static structure initialization. Added new bits to | |
5959 | flags MO_EXACT_DUMPADDR, MO_HAS_BLOCKWRITES. | |
5960 | ||
2a8b1fab JM |
5961 | * monitor.c (RDEBUG): Conditional tracing throughout the file. |
5962 | (fromhex): Now recognized upper cse hex digits | |
5963 | (monitor_printf_noecho): | |
5964 | (monitor_readchar): Tracing interferes with input timing. | |
5965 | (monitor_open): Register different memory write functions with | |
5966 | dcache_init if MO_HAS_BLOCKWRITES. | |
5967 | (flush_monior_dcache): Added as an additional utilty. | |
5968 | (monitor-resume): Call continue hook if one has been supplied. | |
5969 | (monitor_wait_filter): New function Factored out of monitor wait | |
5970 | and used if alternate wait-filter has not been provided. | |
5971 | (monitor_wait): call alternate wait filter if provided. Call | |
5972 | monitor_dump_regs, a new function factored out from inline code. | |
5973 | (monitor_dump_block): A new function used as a utility when | |
5974 | monitors must dump several blocks of registers using different | |
5975 | commands. | |
5976 | (monitor_dump_regs): Call alternate function if provided. Uses new | |
5977 | hook in monitor.h. | |
5978 | (monitor_write_memory): Engage previouly added hook | |
5979 | MO_FILL_USES_ADDR. | |
5980 | (monitor_write_even_block): new function supports writing long | |
5981 | blocks of 4byte words. | |
5982 | (longlongendswap): new internal function | |
5983 | (monitor_write_memory_longlongs): new function writes large blocks | |
5984 | using command to enter a long long. | |
5985 | (monitor_write-memory_block): new Function figures out which block | |
5986 | mod to use. | |
5987 | (monitor_read_memory): Can now handle dump formats in which the bytes | |
5988 | preceeding the requested data is not printed. | |
2a8b1fab | 5989 | |
94415c7e TT |
5990 | Tue Apr 28 19:41:33 1998 Tom Tromey <tromey@cygnus.com> |
5991 | ||
4a3456fc TT |
5992 | * tracepoint.c (memrange_cmp): Another typo fix; `memrbnge' -> |
5993 | `memrange'. | |
5994 | ||
94415c7e TT |
5995 | * tracepoint.c (memrange_cmp): Fixed typo in function intro. |
5996 | ||
59813131 JM |
5997 | Tue Apr 28 17:41:20 1998 Philippe De Muyter <phdm@macqel.be> |
5998 | ||
7bfe11e2 SS |
5999 | * symfile.c (overlay_auto_command): Add forgotten parameter |
6000 | definitions. | |
59813131 JM |
6001 | (overlay_manual_command, overlay_off_command): Likewise. |
6002 | (overlay_load_command): Likewise. | |
6003 | * tracepoint.c (memrange_cmp): Parameters have type void *, not | |
6004 | struct memrange *. | |
6005 | ||
82973f18 JM |
6006 | Tue Apr 28 11:08:25 1998 John Metzler <jmetzler@cygnus.com> |
6007 | ||
59813131 | 6008 | * rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds. |
2e7eeba9 | 6009 | |
07f45587 MA |
6010 | Mon Apr 27 14:32:21 1998 Mark Alexander <marka@cygnus.com> |
6011 | ||
6012 | * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically, | |
6013 | make it work on the simulator. | |
6014 | (FIX_CALL_DUMMY): Convert to function call instead of inline code. | |
6015 | (sparc_fix_call_dummy): Declare. | |
6016 | * sparc-tdep.c (sparc_fix_call_dummy): New function, taken from | |
6017 | old FIX_CALL_DUMMY macro, with additional fixes for simulator. | |
6018 | (sparc_push_dummy_frame): Set registers differently on simulator | |
6019 | to prevent corrupted register window save areas. | |
6020 | ||
adc176bb JM |
6021 | Mon Apr 27 13:46:40 1998 John Metzler <jmetzler@cygnus.com> |
6022 | ||
59813131 JM |
6023 | * rom68k-rom.c (_initialize_rom68k, init_rom68k_cmds): |
6024 | Convert all static initializations of monitor ops structures to | |
6025 | executable initializations in order that additions to the data | |
6026 | structure definition can me made without repeating this editing | |
6027 | exercise. | |
6028 | * abug-rom.c (_initialize_abug_rom, init_abug-cmds): Ditto. | |
6029 | * cpu32bug-rom.c (_initialize_cpu32bug_rom, init_cpu32bug_cmds): Ditto. | |
6030 | * mon960-rom.c (initialize_mon960, init_mon960_cmds): Ditto. | |
6031 | * op50-rom.c (initialize_op50n, init_op50n_cmds): Ditto. | |
6032 | * ppcbug-rom.c (_initialize_ppcbug_rom, init_ppc_cmds): Ditto. | |
6033 | * sh3-rom.c (_initialize_sh3_rom, init_sh3_cmds): Ditto. | |
6034 | * sparclet-rom.c (_initialize_sparclet, init_sparclet_cmds): Ditto. | |
6035 | * remote-est.c (_initialize_est, init_est_cmds): Ditto. | |
6036 | * remote-hms.c ( _initialize_remote_hms, init_hms_cmds): Ditto. | |
adc176bb | 6037 | |
a9eeaad7 JM |
6038 | Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6039 | ||
6040 | * gdb_string.h (strdup): Don't specify arguments in prototype. | |
6041 | ||
8b150a6b PS |
6042 | Sun Apr 26 07:57:21 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6043 | ||
6044 | * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error if | |
6045 | fstat on ldinfo_fd fails. Use objfile->obfd instead of vp->bfd | |
6046 | to check for reference to the same file. | |
6047 | ||
6048 | * target.c (target_read_string): Handle string transfers at the | |
6049 | end of a memory section gracefully. | |
6050 | ||
6ef37205 GN |
6051 | Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com> |
6052 | ||
6053 | * Makefile.in: enable EXEEXT setting | |
6054 | ||
b0d7af2a MS |
6055 | Fri Apr 24 11:53:49 1998 David Taylor <taylor@texas.cygnus.com> |
6056 | ||
6057 | * tracepoint.c (add_local_symbols): change type of type from | |
6058 | char to int so that type shows up as 'A' or 'L' not 0. | |
6059 | ||
66a9a263 JL |
6060 | start-sanitize-r5900 |
6061 | Fri Apr 24 11:25:07 1998 Jeffrey A Law (law@cygnus.com) | |
6062 | ||
6063 | * mips-tdep.c (mips32_decode_reg_save): Handle 128bit wide | |
6064 | GPR loads/stores generated on the r5900. | |
6065 | (mips_find_saved_regs, mips32_skip_prologue): Likewise. | |
6066 | * mips/tm-r5900.h (R5900_128BIT_GPR_HACK): Define. | |
6067 | * mips/tm-txvu.h (R5900_128BIT_GPR_HACK): Likewise. | |
6068 | ||
6069 | end-sanitize-r5900 | |
29f35f37 JM |
6070 | Thu Apr 23 16:37:20 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6071 | ||
6072 | * README: Minor changes for 4.17 release. | |
6073 | ||
6e8bee16 | 6074 | start-sanitize-java |
ffa157d8 PB |
6075 | Thu Apr 23 15:44:39 1998 Per Bothner <bothner@cygnus.com> |
6076 | ||
6077 | * symfile.c (deduce_language_from_filename): .class implies java. | |
6078 | ||
6e8bee16 | 6079 | end-sanitize-java |
21cbc60c JM |
6080 | Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be> |
6081 | ||
6082 | * configure.in (strerror): Check if function must be declared. | |
6083 | * acconfig.h (NEED_DECLARATION_STRERROR): New define slot. | |
6084 | * gdb_string.h (strerror): Function declaration issued if | |
6085 | NEED_DECLARATION_STRERROR. | |
2e7eeba9 | 6086 | * configure, config.in: Files regenerated. |
21cbc60c | 6087 | |
74d6ac44 JM |
6088 | Thu Apr 23 12:27:43 1998 Philippe De Muyter <phdm@macqel.be> |
6089 | ||
6090 | * symfile.c (simple_overlay_update_1): Do not prefix array address | |
6091 | by `&'. | |
6092 | * bcache.h (BCACHE_DATA_ALIGNMENT): Ditto. | |
6093 | * tracepoint.c (encode_actions): Ditto. | |
6094 | * language.c, complaints.c, utils.c (varargs.h): Do not include that | |
6095 | file here, it is already included indirectly by defs.h. | |
6096 | * dbxread.c (dbx_symfile_init, process_one_symbol): Cast xmalloc return | |
6097 | value to the appropriate pointer type. | |
6098 | * utils.c (floatformat_from_doublest): Ditto. | |
6099 | * tracepoint.c (read_actions, _initialize_tracepoint): Ditto. | |
6100 | (add_memrange): Likewise with xrealloc return value. | |
6101 | * stabsread.c (ref_add): Ditto. | |
6102 | * coffread.c (coff_symfile_init): Likewise for xmmalloc return value. | |
6103 | * elfread.c (elf_symfile_read): Ditto. | |
6104 | * os9kread.c (os9k_symfile_init): Ditto. | |
6105 | ||
52dd717d TT |
6106 | Thu Apr 23 00:32:08 1998 Tom Tromey <tromey@cygnus.com> |
6107 | ||
6108 | * config.in: Rebuilt. | |
6109 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_STPCPY, HAVE_GETTEXT, | |
6110 | HAVE_LC_MESSAGES): Define. | |
6111 | ||
fcfc3c0c TT |
6112 | Wed Apr 22 15:38:56 1998 Tom Tromey <tromey@cygnus.com> |
6113 | ||
6114 | * configure: Rebuilt. | |
6115 | * configure.in: Call CY_GNU_GETTEXT. | |
6116 | * Makefile.in (top_builddir): New macro. | |
6117 | (INTL): Define to @INTLLIBS@. | |
6118 | (INTL_DEPS): New macro. | |
6119 | (CDEPS): Reference INTL_DEPS, not INTL. | |
6120 | ||
71f08cfc DE |
6121 | start-sanitize-sky |
6122 | Wed Apr 22 13:40:16 1998 Doug Evans <devans@canuck.cygnus.com> | |
6123 | ||
6124 | * txvu-tdep.c (txvu_print_insn): Fix thinko. | |
6125 | ||
6126 | end-sanitize-sky | |
b420cea7 PS |
6127 | Wed Apr 22 12:58:23 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
6128 | ||
6129 | Handle missing shared libraries during the examination of a core | |
6130 | dump gracefully. | |
6131 | * solib.c (find_solib): Use catch_errors around call to | |
6132 | solib_map_sections. Use warning instead of error if reading of | |
6133 | the shared library name fails. | |
6134 | (solib_map_sections): Change return and argument types to make | |
6135 | it callable from catch_errors. | |
6136 | (symbol_add_stub): Avoid GDB core dump if solib->abfd is NULL. | |
6137 | * irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections, | |
6138 | symbol_add_stub): Ditto. | |
6139 | ||
f2a0822c MM |
6140 | Wed Apr 22 14:34:49 1998 Michael Meissner <meissner@cygnus.com> |
6141 | ||
6142 | * Makefile.in (INTL*): Add support to link in the intl library, | |
6143 | and to add -I options to its source and object directories. | |
6144 | (INTERNAL_CFLAGS): Ditto. | |
6145 | (C{LIBS,DEPS}): Ditto. | |
6146 | ||
3e5fbf91 JL |
6147 | start-sanitize-sky |
6148 | Wed Tue 21 17:29:48 1998 Jim Lemke <jlemke@cygnus.com> | |
6149 | * configure.in: Add configure option --with-sim-funit. | |
6150 | ||
6151 | end-sanitize-sky | |
88ff9e06 FCE |
6152 | Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com> |
6153 | ||
6154 | * mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions | |
6155 | with subtarget-specific `mach', rather than fixed default. | |
6156 | * config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default | |
6157 | disassembly `mach'. | |
6158 | start-sanitize-r5900 | |
6159 | * config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override. | |
6160 | end-sanitize-r5900 | |
6161 | start-sanitize-sky | |
6162 | * config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override. | |
6163 | end-sanitize-sky | |
6164 | ||
6165 | Mon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be> | |
6166 | ||
6167 | * coffread.c (decode_base_type): Treat a long field with size greater | |
6168 | than TARGET_LONG_BIT as long long. | |
6169 | * values.c (value_from_longest): Print code value in error message. | |
6170 | ||
a38cd80a JM |
6171 | Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl> |
6172 | ||
6173 | * gdb/gdb_string.h (strdup): Declare only if not defined as a | |
6174 | macro. | |
6175 | ||
1e50f1b4 JM |
6176 | Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com> |
6177 | ||
6178 | * procfs.c: Added replacement macros for LWP stuff. Fixed support | |
6179 | for UnixWare / SVR4.2MP targets and any targets which use | |
6180 | multi-file /proc entries. Fixed support for hardware watchpoints. | |
6181 | * solib.c: SCO needs some of the same code as SunOS. Change | |
6182 | preprocessor conditionals. | |
6183 | ||
6184 | * config/i386/i386sco5.mt: New file. | |
6185 | * config/i386/tm-i386sco5.h: New file. | |
6186 | * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o. | |
6187 | * config/i386/nm-i386v42mp.h | |
6188 | (TARGET_HAS_HARDWARE_WATCHPOINTS): define. | |
6189 | Add other macros for hardware assisted watchpoints. | |
6190 | * config/i386/nm-i386sco5.h: Correct attributions. | |
6191 | (TARGET_HAS_HARDWARE_WATCHPOINTS): define. | |
6192 | * config/i386/nm-linux.h (target_remote_watchpoint): Pass | |
6193 | 'type' through to i386_insert_watchpoint. | |
6194 | ||
6195 | Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
6196 | ||
6197 | * infrun.c (wait_for_inferior): Don't add signalled processes | |
6198 | as new threads. | |
6199 | * procfs.c (wait_fd): Note if LWP has exited. | |
6200 | (procfs_wait): use GETPID to get process ID. | |
6201 | ||
7c0892b3 SC |
6202 | Sat Apr 18 15:21:04 1998 Stan Cox <scox@cygnus.com> |
6203 | ||
6204 | * configure.tgt: Added sparc86x support. | |
2e7eeba9 | 6205 | |
a17aca47 JM |
6206 | Thu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6207 | ||
6208 | * rdi-share/etherdrv.c (EthernetWrite): Use strerror to get | |
6209 | error string if in an ANSI C-ish environment. | |
6210 | ||
4a3f4c4c MA |
6211 | Wed Apr 15 18:59:48 1998 Mark Alexander <marka@cygnus.com> |
6212 | ||
6213 | * sparc-tdep.c (SPARC_HAS_FPU): Define. | |
6214 | (sparc_extract_return_value): New function, required to handle | |
6215 | machines without floating point. | |
6216 | (sparc_store_return_value): Ditto. | |
6217 | * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call | |
6218 | sparc_extract_return_value instead of using inline code. | |
6219 | (sparc_extract_return_value): Declare. | |
6220 | (STORE_RETURN_VALUE): Call sparc_store_return_value instead | |
6221 | of using inline code. | |
6222 | (sparc_store_return_value): Declare. | |
6223 | ||
65c0c978 MH |
6224 | Wed Apr 15 12:19:42 1998 Martin M. Hunt <hunt@cygnus.com> |
6225 | ||
6226 | * solib.c (enable_break): Only call warning once | |
6227 | instead of three times. | |
6228 | ||
e50f526e MA |
6229 | Tue Apr 14 16:52:59 1998 Mark Alexander <marka@cygnus.com> |
6230 | ||
6231 | * sparc-tdep.c (sparc_extract_struct_value_address): Make it | |
6232 | work correctly on little-endian hosts. | |
6233 | (sparc_push_arguments): New function. | |
6234 | (gdb_print_insn_sparc): New function. | |
6235 | (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default | |
6236 | disassembler, so that SPARClite-specific instructions will | |
6237 | be recognized. | |
6238 | * sparcl-tdep.c (readchar): Print debugging information. | |
6239 | (debug_serial_write): New function, a replacement for SERIAL_WRITE | |
6240 | that prints debugging information. | |
6241 | * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define. | |
6242 | (sparc_push_arguments): Declare. | |
6243 | ||
a47fe057 JM |
6244 | Tue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com> |
6245 | ||
74317310 | 6246 | * gdbcfgxref (xref_menu): Call new regex and wild card searches |
822730df | 6247 | Now you can type in a specific triple like mips64-vr4300-elf or |
74317310 | 6248 | somthing like mips*.h |
b5c7e122 | 6249 | (triple_search, wildcardsearch): The new functions |
74317310 | 6250 | |
822730df | 6251 | start-sanitize-vr4320 |
a47fe057 JM |
6252 | * configure.tgt: Switch over to use tm-4320.h. Since I switched to |
6253 | MIPS EABI the fixes are no longer backward compatible with 4300. | |
6254 | * tm-vr4320.h: Added | |
6255 | * vr4320.mt: Added | |
6256 | ||
822730df | 6257 | end-sanitize-vr4320 |
e6e9507d EZ |
6258 | Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
6259 | ||
b5c7e122 | 6260 | * utils.c (warning): added call to warning_hook |
e6e9507d | 6261 | |
b5c7e122 | 6262 | * source.c (find_source_lines): modified to call warning in case |
e6e9507d EZ |
6263 | of source vs. executable time stamp mismatch. Simplified object |
6264 | file check. Initialized mtime to 0. | |
6265 | ||
6266 | * defs.h: added warning_hook prototype | |
6267 | ||
6268 | * top.c: added warning_hook prototype. | |
6269 | ||
29d867f8 KS |
6270 | Mon Apr 13 09:54:08 1998 Keith Seitz <keiths@andros.cygnus.com> |
6271 | ||
6272 | * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing | |
6273 | definition. | |
6274 | ||
f0fce3b8 JM |
6275 | Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
6276 | ||
6277 | Update support for x86 Solaris 2. | |
6278 | * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration | |
6279 | files for x86 Solaris 2. | |
6280 | * config/i386/i386sol2.mt, i386sol2.mh: Use them. | |
6281 | * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract | |
6282 | carry flag from a given regset. | |
6283 | (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name | |
6284 | is a SunPro transformed name. | |
6285 | * i386-tdep.c (sunpro_static_transform_name): New function to | |
6286 | extract the source name from a SunPro transformed name. | |
6287 | * inferior.h (procfs_first_available, procfs_get_pid_fd): | |
6288 | Add prototypes. | |
6289 | * infrun.c (wait_for_inferior): Handle breakpoint hit in | |
6290 | signal handler without intervening stop in sigtramp. | |
6291 | * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY | |
6292 | instead of direct access to the status register. | |
6293 | (procfs_get_pid_fd): New function, returns procfs fd for a given pid. | |
6294 | * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given | |
6295 | lwpid. | |
6296 | (sol_find_new_threads): Handle failed libthread_db initialization | |
6297 | gracefully. | |
6298 | * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME | |
6299 | to check for a SunPro transformed symbol name. | |
6300 | ||
6aeec893 JM |
6301 | Fri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com> |
6302 | ||
c66e3d64 JM |
6303 | * utils.c (fmthex): A formatting function for hexdumps |
6304 | ||
2e7eeba9 | 6305 | * mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of |
6aeec893 JM |
6306 | bit pattern interpretations. mips_fetch_instruction does not work |
6307 | for 16 bit instructions. Some confusion remains about sign | |
6308 | extension in backward branches. | |
6309 | (mips32_relative_offset): Sign extension | |
6310 | (mips32_next_pc): Major debugging, bit pattern interpretation | |
6311 | (print_unpack): debugging printf | |
6312 | (fetch_mips_16): new funtion, key on PC low bit, not symbol table | |
6313 | (mips16_next_16): Initial major debugging of this function. Lots | |
6314 | of bit pattern mistakes. | |
6315 | (mips_next_pc): key on low bit of PC, not symbol table. | |
2e7eeba9 MS |
6316 | * symfile.c (generic_load): Added a download verification which |
6317 | reads back the loaded code. Download chunk size is now a defined | |
6aeec893 JM |
6318 | macro. Fixed a bug in which downloading slips into loading one |
6319 | byte at a time. Lower level functions in monitor.c can load long | |
6320 | sequences of bytes and make use of these fixups. Referencing | |
6321 | bfd-start_address directly was incorrectly getting zero for start. | |
6322 | ||
cf93a3aa ILT |
6323 | Thu Apr 9 19:20:32 1998 Ian Lance Taylor <ian@cygnus.com> |
6324 | ||
6325 | * mips-tdep.c (do_fp_register_row): Use alloca rather than arrays | |
6326 | with dynamic size. | |
6327 | ||
bf9084c0 JM |
6328 | Wed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6329 | ||
6330 | * top.c (print_gdb_version): Print 1998 now. | |
6331 | ||
6760a872 JM |
6332 | Wed Apr 8 16:57:22 1998 Philippe De Muyter <phdm@macqel.be> |
6333 | ||
6334 | * source.c: Remove obsolete decl of strstr(). | |
6335 | ||
5b944218 JM |
6336 | Wed Apr 8 16:47:33 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6337 | ||
6338 | * solib.c (solib_create_inferior_hook): Remove Ulrich Drepper's | |
6339 | patch of March 23 1998. | |
6340 | * breakpoint.c (breakpoint_re_set_one): Remove Ulrich Drepper's | |
6341 | patch of March 23 1998. | |
6342 | ||
af473842 | 6343 | Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com> |
5b944218 | 6344 | |
af473842 DP |
6345 | * mdebugread.c (parse_partial_symbols): If this is an .mdebug |
6346 | section in an ELF file, override a symbol's ECOFF section with its | |
6347 | ELF section. Also, fix stabs continuation where a stabs string | |
6348 | continues for more than one continuation. | |
6349 | ||
912e805f AC |
6350 | Mon Apr 6 09:17:48 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6351 | ||
6352 | * mips-tdep.c (mips_push_arguments): Specify dimention of valbuf | |
6353 | using MAX_REGISTER_RAW_SIZE. | |
6354 | ||
24a38525 | 6355 | Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com> |
f0fce3b8 | 6356 | |
24a38525 DP |
6357 | * infrun.c: Fix prototype of signals_info to match static funtion. |
6358 | ||
6359 | Thu Apr 2 12:47:41 1998 Frank Ch. Eigler <fche@cygnus.com> | |
f0fce3b8 | 6360 | |
24a38525 DP |
6361 | * sol-thread.c (sol_thread_store_registers): Save & restore new |
6362 | value of single updated register to prevent accidental clobbering. | |
6363 | ||
c8b77887 MA |
6364 | Wed Apr 1 22:01:09 1998 Mark Alexander <marka@cygnus.com> |
6365 | ||
6366 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define. | |
6367 | * config/sparc/sparclite.mt: Link in the erc32 simulator. | |
6368 | ||
3dcac15f JM |
6369 | Wed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au> |
6370 | ||
6371 | * ns32k-tdep.c (flip_bytes, ns32k_localcount, | |
6372 | ns32k_get_enter_addr, sign_extend): Restore functions mysteriously | |
6373 | deleted. | |
6374 | ||
6375 | * ns32knbsd-nat.c: New (?) file to support fetching and storing | |
6376 | registers on NetBSD hosts. | |
6377 | ||
6378 | * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of | |
6379 | ns32k-nat.o | |
6380 | ||
6381 | * ns32km3-nat.c (reg_offset): Get order of floating point | |
6382 | registers correct. Add extra 32382 register offsets. | |
6383 | (REG_ADDRESS): define to point at correct part of thread | |
6384 | state. Use calls to "warning" instead of "message". | |
6385 | ||
6386 | * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS, | |
6387 | REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382 | |
6388 | fpu registers. | |
6389 | ||
32e3c8b8 JM |
6390 | Wed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be> |
6391 | ||
6392 | * NEWS: m68k-motorola-sysv host support added. | |
6393 | * coffread.c (coff_start_symtab): Accept the filename as an argument, | |
6394 | set it here. Callers updated. | |
6395 | ||
d0136bf3 AC |
6396 | Wed Apr 1 23:13:23 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6397 | ||
6398 | * config/mips/tm-mips.h (REGISTER_VIRTUAL_TYPE): Handle 32 bit SR, | |
6399 | FSR and FIR registers. | |
6400 | (REGISTER_VIRTUAL_SIZE): Compute using REGISTER_VIRTUAL_TYPE. | |
6401 | (REGISTER_RAW_SIZE): Define using REGISTER_VIRTUAL_SIZE. | |
6402 | ||
6403 | * config/mips/tm-mips64.h: Ditto. | |
6404 | ||
4269399c NC |
6405 | Tue Mar 31 21:30:39 1998 Nick Clifton <nickc@cygnus.com> |
6406 | ||
6407 | * arm-tdep.c (gdb_print_insn_arm): Attach a fake Thumb symbol | |
6408 | vector to the info structure when disassembling thumb | |
6409 | instructions. | |
6410 | ||
6411 | * coffread.c (coff_symtab_read, read_one_sym, | |
6412 | process_coff_symbol): Support Thumb symbol types. | |
6413 | ||
6414 | * dbxread.c (process_one_symbol): Call SMASH_TEXT_ADDRESS (if it | |
6415 | is defined) for function symbols. | |
6416 | ||
b0d7af2a MS |
6417 | Tue Mar 31 16:39:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
6418 | ||
6419 | * tracepoint.c (get_tracepoint_by_number): change warning to note. | |
6420 | (delete_trace_command): suppress y/n query if no tracepoints, or | |
6421 | if not from_tty. (trace_pass_command): reject junk at end of args. | |
6422 | (read_actions): an action list consisting only of "end" is discarded. | |
6423 | (validate_actionline (for collect command)): an argument beginning | |
6424 | with a dollar_sign but not recognized as a special argument is | |
6425 | parsed like any other expression -- if it isn't a register name, | |
6426 | it's rejected. Also reject an empty argument to while-stepping. | |
6427 | (trace_find_command): reject a negative frame number argument. | |
6428 | (_initialize_tracepoint): set $traceframe initially to -1. | |
6429 | ||
f45d8080 JM |
6430 | Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6431 | ||
6432 | * rdi-share/Makefile.am, rdi-share/aclocal.m4, | |
6433 | rdi-share/configure: New files. | |
6434 | * rdi-share/configure.in: Rewritten to be an autoconf input file. | |
6435 | * rdi-share/Makefile.in, rdi-share/configure: Generated by | |
6436 | automake/autoconf. | |
6437 | * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests | |
6438 | to check environment. | |
6439 | ||
57a39824 KS |
6440 | Sun Mar 29 15:17:16 1998 Keith Seitz <keiths@onions.cygnus.com> |
6441 | ||
6442 | * tracepoint.c (trace_start_command): Set trace_running_p. | |
6443 | (trace_stop_command): Clear trace_running_p. | |
6444 | ||
dfbb701a SS |
6445 | Sat Mar 28 15:19:48 1998 Stan Shebs <shebs@andros.cygnus.com> |
6446 | ||
6447 | * NEWS: Update for 4.17 release. | |
6448 | ||
b0d7af2a MS |
6449 | Fri Mar 27 10:15:50 1998 David Taylor <taylor@tito.cygnus.com> |
6450 | ||
6451 | * tracepoint.c (parse_and_eval_memrange): Fix memory leaks. | |
6452 | (encode_actions): Use the new gen_trace_for_expr function | |
6453 | instead of expr_to_address_and_size; collect registers when | |
6454 | using expressions. (clear_collection_list): Fix memory leak. | |
6455 | ||
6456 | 1998-03-26 Jim Blandy <jimb@zwingli.cygnus.com> | |
6457 | ||
6458 | * ax-gdb.h (gen_trace_for_expr): Add prototype. | |
6459 | ||
6460 | Thu Mar 26 17:24:23 1998 David Taylor <taylor@texas.cygnus.com> | |
6461 | ||
6462 | * tracepoint.c (validate_actionline): Fix memory leak. | |
6463 | (encode_actions): Fix memory leak. | |
6464 | ||
6465 | Thu Mar 26 16:16:55 1998 David Taylor <taylor@tito.cygnus.com> | |
6466 | ||
6467 | * tracepoint.c (trace_mention): New function. | |
6468 | (trace_command): Call it. | |
6469 | ||
6470 | 1998-03-26 Jim Blandy <jimb@zwingli.cygnus.com> | |
6471 | ||
6472 | * ax-general.c (ax_reqs): New function. | |
6473 | * ax.h (enum agent_flaws, struct agent_reqs): New types. | |
6474 | (agent_reqs): New extern prototype. Well, actually, this was | |
6475 | there before, due to a premature checkin. | |
6476 | (struct aop_map): Add new `data_size' member. | |
6477 | * ax-general.c (aop_map): Supply its value. | |
6478 | * ax-gdb.c (agent_command): Call ax_reqs, for testing. | |
6479 | ||
6480 | * ax-general.c (ax_print): If we encounter an invalid or | |
6481 | incomplete opcode, don't abort; just print an error message. | |
6482 | ||
6483 | * ax-gdb.c: Generate trace bytecodes, as appropriate. | |
6484 | (trace_kludge): New variable. | |
6485 | (gen_fetch, gen_bitfield_ref): Emit trace bytecodes, if asked | |
6486 | nicely. | |
6487 | (expr_to_agent): Ask for no trace bytecodes. | |
6488 | (gen_trace_for_expr): New function. | |
6489 | (agent_command): Call it, and display the result appropriately --- | |
6490 | no struct axs_value, so no type or kind information. | |
6491 | ||
6492 | * ax-gdb.c: Use TARGET_CHAR_BIT throughout, not HOST_CHAR_BIT. | |
6493 | ||
41158958 EZ |
6494 | Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
6495 | ||
6496 | * tracepoint.c (trace_status_command): Recognize a boolean return | |
6497 | value from the stub to indicate whether trace experiment is | |
900dc14b | 6498 | running. Export this value as a global state variable. |
41158958 EZ |
6499 | (trace_running_p) for use by the GUI. (from Michael Snyder) |
6500 | (trace_pass_command) added call to modify_tracepoint_hook. | |
6501 | ||
900dc14b | 6502 | * tracepoint.h export trace_running_p. |
41158958 | 6503 | |
b0d7af2a MS |
6504 | Thu Mar 26 13:08:01 1998 David Taylor <taylor@texas.cygnus.com> |
6505 | ||
6506 | * tracepoint.c (validate_actionline): do not error out if | |
6507 | exp->elts[0].opcode is not on short line -- let | |
6508 | expr_to_address_and_size handle it. | |
6509 | ||
6510 | 1998-03-26 Jim Blandy <jimb@zwingli.cygnus.com> | |
6511 | ||
6512 | * tracepoint.c: Include "ax.h", not "agentexpr.h". | |
6513 | ||
6514 | * tracepoint.c (encode_actions): Call expr_to_address_and_size, | |
6515 | not simply expr_to_agent. | |
6516 | ||
6517 | * ax-general.c: Comment out code in progress, so everyone else can | |
6518 | at least compile. | |
6519 | ||
6520 | * gdbtypes.c: Doc fix. | |
6521 | ||
6522 | * ax.h, ax-gdb.h, ax-general.c, ax-gdb.c: New files. | |
6523 | * Makefile.in (REMOTE_OBJS): Add ax-general.o and ax-gdb.o. | |
6524 | (SFILES): Add ax-general.c, ax-gdb.c. | |
6525 | (ax_h): New variable. | |
6526 | (ax-general.o, ax-gdb.o): New rules. | |
6527 | ||
41158958 EZ |
6528 | start-sanitize-sky |
6529 | Wed Mar 25 11:45:19 1998 Frank Ch. Eigler <fche@cygnus.com> | |
6530 | ||
6531 | * configure.in (sim-gpu2): Added target type checking to make | |
6532 | --with-sim-gpu2 option only valid for sky target. | |
6533 | * configure: Regenerated. | |
6534 | end-sanitize-sky | |
6535 | ||
6536 | Tue Mar 24 16:22:40 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> | |
6537 | ||
6538 | * Makefile.in: Derive SHELL from configure. | |
c19916b7 | 6539 | * config/d10v/d10v.mt config/m32r/m32r.mt |
2c9fd4b1 | 6540 | config/mn10200/mn10200.mt config/mn10300/mn10300.mt |
2e7eeba9 | 6541 | config/d30v/d30v.mt: Remove -lm from SIM. This prevents |
2c9fd4b1 ILT |
6542 | dependency checking of -lm (under NT native builds). (It is |
6543 | automatically added by configure if it exists.) | |
41158958 EZ |
6544 | * doc/configure mswin/configure nlm/configure |
6545 | testsuite/gdb.base/configure testsuite/gdb.c++/configure | |
6546 | testsuite/gdb.chill/configure testsuite/gdb.disasm/configure | |
6547 | testsuite/gdb.stabs/configure testsuite/gdb.threads/configure: | |
6548 | Regenerate with autoconf 2.12.1 to fix shell issues for NT native | |
6549 | builds. | |
6550 | ||
fecf06cf JM |
6551 | Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com) |
6552 | ||
6553 | * solib.c (solib_create_inferior_hook): Rewrite previous | |
6554 | change to check the type of file via BFD. | |
6555 | ||
124e64bb JM |
6556 | Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com) |
6557 | ||
6558 | * breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events | |
6559 | like bp_breakpoints. | |
6560 | * solib.c (solib_create_inferior_hook): Relocate section addresses | |
6561 | if the alleged start address doesn't agree with the PC. | |
6562 | ||
b236defa FCE |
6563 | start-sanitize-sky |
6564 | Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com> | |
6565 | ||
6566 | * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure | |
6567 | option, to allow gdb+sim linking with sky GPU2 library. | |
83c7ab51 | 6568 | * configure: Regenerated. |
124e64bb | 6569 | |
b236defa | 6570 | end-sanitize-sky |
b236defa FCE |
6571 | Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
6572 | ||
6573 | merged changes from Foundry (list follows by file/author): | |
2e7eeba9 | 6574 | |
b236defa FCE |
6575 | - Tom Tromey <tromey@cygnus.com> |
6576 | * Makefile.in (gdbres.o): New target. | |
6577 | (WINDRES): New define. | |
6578 | * configure: Rebuilt. | |
6579 | * configure.in (WINDRES): Define. | |
6580 | (CONFIG_OBS): Include gdbres.o on Windows. | |
6581 | * gdbtool.ico: New file. | |
6582 | * gdb.rc: New file. | |
6583 | ||
6584 | * ser-unix.c | |
6585 | - Keith Seitz <keiths@onions.cygnus.com> | |
6586 | (wait_for): Don't reset the timeout_remaining for CYGWIN32, | |
6587 | since we now effectively poll the serial port. | |
6588 | Don't reset the current_timeout, either, since this member is used | |
6589 | by hardwire_readchar to track the timeout and call the ui_loop_hook. | |
900dc14b SS |
6590 | (hardwire_readchar): Poll the serial port for Cygwin32. We timeout |
6591 | every second, update the UI, and loop around doing this until we | |
6592 | have hit the real timeout or we get data or an error. This will | |
6593 | allow the UI to stay active while gdb is "blocked" talking to the | |
6594 | target. | |
6595 | - Martin M. Hunt <hunt@cygnus.com> | |
6596 | (wait_for): Do reset current_timeout because it is only used to | |
6597 | keep track of what the current timeout for the scb is. | |
b236defa FCE |
6598 | |
6599 | * top.c | |
6600 | - Martin M. Hunt <hunt@cygnus.com> | |
6601 | (quit_confirm): Change exit message again | |
6602 | for GUI. | |
6603 | (pc_changed_hook): Add prototype. | |
6604 | - Tom Tromey <tromey@cygnus.com> | |
6605 | (quit_confirm): Added missing `else'. | |
6606 | (quit_confirm): Special-case message if init_ui_hook is | |
6607 | set. | |
6608 | ||
6609 | * symtab.c | |
6610 | - Martin M. Hunt <hunt@cygnus.com> | |
6611 | (find_pc_sect_line): If no symbol information | |
6612 | is found, return correct pc anyway. | |
6613 | (find_methods): Comment out an apparently | |
6614 | bogus error message because it messes up Foundry. | |
6615 | ||
6616 | * serial.c | |
6617 | - Martin M. Hunt <hunt@cygnus.com> | |
6618 | (_initialize_serial): Add a description of | |
6619 | "set remotelogbase". | |
6620 | ||
6621 | * findvar.c | |
6622 | - Martin M. Hunt <hunt@cygnus.com> | |
6623 | (write_register_gen): Add call to | |
6624 | pc_changed_hook if the PC is being changed. | |
6625 | ||
6626 | * defs.h | |
6627 | - Martin M. Hunt <hunt@cygnus.com> | |
6628 | (pc_changed_hook): Define. | |
6629 | ||
6630 | * command.c | |
6631 | - Martin M. Hunt <hunt@cygnus.com> | |
6632 | (do_setshow_command): If no arguments are supplied, | |
6633 | don't dump core, instead print out an error message. | |
6634 | ||
6635 | * breakpoint.c | |
6636 | - Martin M. Hunt <hunt@cygnus.com> | |
6637 | Make set_raw_breakpoint, set_breakpoint_count, | |
6638 | and breakpoint_count non-static so they are accessible from | |
91e14aa9 | 6639 | elsewhere. |
b236defa FCE |
6640 | (enable_breakpoint): Enable breakpoint |
6641 | with same disposition instead of changing all breakpoints | |
6642 | to donttouch. | |
6643 | ||
6644 | * annotate.h | |
6645 | - Keith Seitz <keiths@onions.cygnus.com> | |
6646 | Add declarations for annotation hooks. | |
6647 | ||
6648 | * annotate.c | |
6649 | - Keith Seitz <keiths@onions.cygnus.com> | |
6650 | Add hooks: annotate_starting_hook, annotate_stopped_hook, | |
6651 | annotate_signalled_hook, annotate_exited_hook. | |
6652 | (annotate_starting): If hook exists, call it instead. | |
6653 | (annotate_stopped): If hook exists, call it instead. | |
6654 | (annotate_exited): If hook exists, call it instead. | |
6655 | (annotate_signalled): If hook exists, call it instead. | |
6656 | ||
d1732185 MS |
6657 | Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
6658 | ||
6659 | * gdbserver/Makefile.in: add dependency on XM_CLIBS. | |
6660 | * gdbserver/low-sim.c (registers) force into alignment. | |
6661 | (create_inferior): Fix typo on new_argv; add abfd arg to | |
6662 | sim_open, sim_create_inferior. Add reg_size arg to | |
6663 | sim_fetch_register, sim_store_register. Make simulator | |
6664 | take a single-step to get into a known running state. | |
6665 | * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL. | |
6666 | * gdbserver/server.c: Add remote_debug variable to control | |
6667 | debug output. | |
6668 | * gdbserver/server.h: Add prototypes for enable/disable_async_io. | |
6669 | * gdbserver/remote-utils.c: add verbose debugging output controlled | |
6670 | by "remote_debug" variable. Add call to "disable_async_io()" | |
6671 | to avoid being killed by async SIGIO signals. | |
6672 | * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES), | |
6673 | so that gdbserver can be built with the m32r simulator. | |
2e7eeba9 | 6674 | |
980714f9 AC |
6675 | Fri Mar 20 09:04:06 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6676 | ||
6677 | start-sanitize-r5900 | |
6678 | * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE): Redefine as | |
6679 | expression from REGISTER_VIRTUAL_TYPE. | |
6680 | (REGISTER_RAW_SIZE): Ditto. | |
6681 | (REGISTER_VIRTUAL_TYPE): Redefine, use explicit size for 32 bit | |
6682 | registers. | |
6683 | ||
6684 | end-sanitize-r5900 | |
6685 | * gdbtypes.h (builtin_type_{,u}int{8,16,32,64}): New gdb builtin | |
6686 | types. | |
6687 | start-sanitize-r5900 | |
6688 | (builtin_type_{,u}int128): Ditto. | |
6689 | end-sanitize-r5900 | |
2e7eeba9 | 6690 | |
980714f9 AC |
6691 | * gdbtypes.c (_initialize_gdbtypes): Initialize new types. |
6692 | ||
6693 | * mips-tdep.c (do_gp_register_row): Pad register value when GP | |
6694 | register is smaller than MIPS_REGSIZE. | |
6695 | ||
6696 | * findvar.c (value_of_register): When raw and virtual register | |
6697 | values identical, check that sizes are consistent. | |
6698 | ||
f4f7d594 MS |
6699 | Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com) |
6700 | ||
6701 | * minsyms.c (compare_minimal_symbols): If addresses are identical, | |
6702 | then compare on names. Sorted list should have symbols with | |
6703 | identical addresses AND names adjacent, so dups can be discarded. | |
6704 | ||
c298bd54 JL |
6705 | Wed Mar 18 12:50:17 1998 Jeff Law (law@cygnus.com) |
6706 | ||
6707 | * stabsread.c (define_symbol): Don't look for ',' as a LRS | |
6708 | indicator. | |
6709 | ||
3f7e239d NC |
6710 | Wed Mar 18 10:34:51 1998 Nick Clifton <nickc@cygnus.com> |
6711 | ||
6712 | * rdi-share/etherdrv.c: Set sys_errlist[] as char * not const char *. | |
6713 | ||
c7ab546c JM |
6714 | Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
6715 | ||
6716 | * config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix | |
6717 | when compiling with native cc, the compiler has broken long long | |
6718 | support. | |
6719 | ||
60c7c376 JM |
6720 | Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
6721 | ||
6722 | * config/m68k/xm-sun3os4.h: Remove malloc declarations, they | |
6723 | are handled via autoconf now. | |
6724 | * remote.c (remote_ops, extended_remote_ops): Replace static | |
6725 | forward declaration by moving the static definition to the top of | |
6726 | the file, for old K&R compilers. | |
6727 | * tracepoint.c (collect_symbol, trace_start_command): | |
6728 | Replace ANSI string concatenation with K&R compatible simple string. | |
6729 | ||
6730 | 1998-03-11 Fred Fish <fnf@ninemoons.com> | |
6731 | ||
6732 | * source.c (select_source_symtab): Don't reach error if we have | |
6733 | a current_source_symtab from reading in partial symbol table. | |
6734 | ||
e0848028 GRK |
6735 | start-sanitize-vr4320 |
6736 | Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com> | |
6737 | ||
2e7eeba9 | 6738 | * configure.tgt (mips64*vr4320*el-*-elf*): Removed spurious case. |
e0848028 GRK |
6739 | |
6740 | end-sanitize-vr4320 | |
3ffbdf15 FF |
6741 | Fri Mar 6 13:10:27 1998 Fred Fish <fnf@cygnus.com> |
6742 | ||
6743 | * utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than | |
6744 | SERIAL_FLUSH_OUTPUT. | |
6745 | * serial.h (struct serial_ops): Add drain_output, pointer to | |
6746 | function that waits for output to drain. | |
6747 | (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain. | |
6748 | * ser-unix.c (hardwire_drain_output): New function and prototype. | |
6749 | ||
6750 | * ser-unix.c (hardwire_ops): Add entry for drain_output function. | |
6751 | * ser-tcp.c (tcp_ops): Ditto. | |
6752 | * ser-ocd.c (ocd_ops): Ditto. | |
6753 | * ser-mac.c (mac_ops): Ditto. | |
6754 | * ser-go32.c (dos_ops): Ditto. | |
6755 | * ser-e7kpc.c (e7000pc_ops): Ditto. | |
6756 | ||
d6acae68 MS |
6757 | Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com) |
6758 | ||
6759 | * sparcl-tdep.c: fix #endif comments | |
6760 | ||
56deac4b JM |
6761 | Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6762 | ||
6763 | * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@. | |
6764 | ||
17772016 KS |
6765 | Thu Mar 5 14:42:41 1998 Keith Seitz <keiths@onions.cygnus.com> |
6766 | ||
6767 | * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we | |
6768 | error () so that we abort out of bdm_ppc_open. | |
6769 | ||
1d7a3fd7 MH |
6770 | Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com> |
6771 | ||
6772 | * serial.c (_initialize_serial): Add a description of | |
6773 | "set remotelogbase". | |
6774 | ||
6775 | * command.c (do_setshow_command): If no arguments are supplied, | |
6776 | don't dump core, instead print out an error message. | |
6777 | ||
4f0f84e7 RU |
6778 | Wed Mar 4 01:39:08 1998 Ron Unrau <runrau@cygnus.com> |
6779 | ||
6780 | * elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into | |
6781 | MAKE_MSYMBOL_SPECIAL | |
6782 | * config/mips/tm-mips.h: ditto | |
6783 | ||
3a012857 JM |
6784 | Tue Mar 3 17:19:08 1998 John Metzler <jmetzler@cygnus.com> |
6785 | ||
f893ebe3 | 6786 | start-sanitize-vr4111 |
900dc14b | 6787 | * config/mips/tm-vr4xxx.h: implements vr4111 as separate from 4300 |
d7363521 | 6788 | * config/mips/vr4xxx.tm: implements vr4111 as separate from 4300 |
3a012857 | 6789 | * configure.tgt: Recognise mips64vr4111-*-elf as vr4xxx |
f893ebe3 | 6790 | end-sanitize-vr4111 |
d7363521 | 6791 | * dwarfread.c (read_tag_pointer_type): Pointer sizes now come from |
3a012857 | 6792 | TARGET_PTR_BIT rather from sizeof(char *) on host. |
2e7eeba9 | 6793 | |
716e3a4f JM |
6794 | Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
6795 | ||
6796 | * alpha-nat.c (fetch_osf_core_registers): Renamed from | |
6797 | fetch_aout_core_registers. | |
6798 | (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change | |
6799 | flavour to bfd_target_unknown_flavour for OSF core files. | |
6800 | ||
e4e30cdc GRK |
6801 | start-sanitize-vr4320 |
6802 | Tue Mar 3 11:12:39 1998 Gavin Koch <gavin@cygnus.com> | |
6803 | ||
2e7eeba9 | 6804 | * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*): |
e4e30cdc GRK |
6805 | Added. |
6806 | ||
6807 | end-sanitize-vr4320 | |
58299977 MS |
6808 | Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com) |
6809 | ||
6810 | * breakpoint.c (_initialize_breakpoint): Make "en" an alias | |
6811 | for "enable" (so that it doesn't conflict with "end"). | |
6812 | ||
d0b6f2ad JM |
6813 | Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6814 | ||
6815 | * Makefile (VERSION): Bump to 4.17.1. | |
6816 | ||
290d79e0 JM |
6817 | Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6818 | ||
6819 | * rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux. | |
6820 | ||
37ac9ecc JM |
6821 | Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com) |
6822 | ||
6823 | * Makefile.in (YYFILES): Remove in maintainer-clean, not distclean. | |
6824 | ||
c87c674a JM |
6825 | Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be> |
6826 | ||
6827 | * Makefile.in (distclean): Add `rm $(YYFILES)'. | |
6828 | ||
79f0b613 JM |
6829 | Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be> |
6830 | ||
6831 | * coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum | |
6832 | is unsigned. | |
6833 | ||
6cc922a9 JM |
6834 | Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com> |
6835 | ||
6836 | * configure.host, configure.tgt: Add sparc-linux. | |
6837 | * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux. | |
6838 | * config/sparc/*linux*: New files. | |
6839 | ||
4321ed53 JM |
6840 | Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com) |
6841 | ||
6842 | * arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm | |
6843 | if we're big endian; else call print_insn_little_arm. | |
6844 | ||
9a760d24 JM |
6845 | Mon Feb 24 11:24:57 1998 Richard Henderson <rth@cygnus.com> |
6846 | ||
6847 | * Makefile.in (BISON): Don't even pretend to use yacc. | |
6848 | (c-exp.tab.o): Use bison -o to use a unique intermediate file. | |
6e8bee16 SG |
6849 | (f-exp.tab.o, m2-exp.tab.o): Likewise. |
6850 | start-sanitize-java | |
6851 | (jv-exp.tab.o): Likewise. | |
6852 | end-sanitize-java | |
9a760d24 | 6853 | |
5af9fc5f AC |
6854 | Tue Feb 24 03:32:59 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6855 | ||
6856 | * remote-sim.c (gdbsim_fetch_register): Don't abort when the | |
6857 | register size is wrong. | |
6858 | ||
6859 | start-sanitize-r5900 | |
24d084d9 | 6860 | Tue Feb 24 02:53:41 1998 And<rew Cagney <cagney@b1.cygnus.com> |
5af9fc5f AC |
6861 | |
6862 | * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE, | |
6863 | REGISTE_RAW_SIZE): Re-define. | |
6864 | ||
6865 | end-sanitize-r5900 | |
c3cf44c4 JM |
6866 | Thu Feb 19 16:49:48 1998 John Metzler <jmetzler@cygnus.com> |
6867 | ||
24d084d9 | 6868 | * target.c (debug_to_fetch_registers,debug_to_store_registers, |
863b20a3 JM |
6869 | debug-to_insert_breakpoint,debug_to_remove_breakpoint): tracing |
6870 | 64 bit targets crashed long long printfs. | |
c3cf44c4 JM |
6871 | |
6872 | Tue Feb 17 16:36:22 1998 Michael Snyder (msnyder@cleaver.cygnus.com) | |
6873 | ||
6874 | * symfile.c (read_target_int_array): rename read_target_long_array | |
6875 | and force the sizeof an ovly_table element to sizeof(long), | |
6876 | instead of sizeof(int). | |
6877 | ||
f8611801 FCE |
6878 | Tue Feb 17 18:05:05 1998 Frank Ch. Eigler <fche@cygnus.com> |
6879 | ||
6880 | * remote-mips.c (mips_request): Use unsigned long during parsing | |
6881 | returned value from monitor, to prevent accidental sign extension. | |
6882 | ||
dd600735 JM |
6883 | Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6884 | ||
6885 | * acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE. | |
6886 | * configure.in: Ditto. | |
6887 | * configure: Regenerated. | |
6888 | ||
6889 | Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> | |
6890 | ||
6891 | * gdbtypes.c (check_typedef): Do not try to resolve the length of | |
2e7eeba9 | 6892 | a type which has TYPE_FLAG_TARGET_STUB set, if the target type has |
dd600735 JM |
6893 | set TYPE_FLAG_TARGET_STUB as well. |
6894 | ||
bccb2e7f AC |
6895 | Tue Feb 17 14:32:18 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6896 | ||
6897 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): | |
6898 | Pass register size to sim_{fetch,store}_register. Check nr of | |
6899 | register bytes transfered is correct. | |
6900 | ||
6c3beaaf AC |
6901 | Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6902 | ||
6903 | * remote-d10v.c (remote_d10v_open): Call push_remote_target | |
6904 | instead of open_remote_target. | |
6905 | ||
6906 | * remote.c (remote_xfer_memory): Use REMOTE_TRANSLATE_XFER_ADDRESS | |
6907 | to translate addr/size when defined. | |
6908 | (open_remote_target): Delete. | |
2e7eeba9 | 6909 | |
6c3beaaf | 6910 | * target.h (open_remote_target): Delete. |
2e7eeba9 | 6911 | |
6c3beaaf | 6912 | * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Define. |
2e7eeba9 | 6913 | |
6c3beaaf AC |
6914 | Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6915 | ||
2e7eeba9 MS |
6916 | * d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to |
6917 | return odd sized register quantities with only half of the first | |
6918 | register used! | |
6919 | ||
6920 | * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when | |
6921 | size > 8. | |
6c3beaaf AC |
6922 | |
6923 | Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
6924 | ||
6925 | * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when | |
6926 | sizeof type > 1. | |
6927 | ||
678fa7ff RU |
6928 | Sun Feb 15 16:10:50 1998 Ron Unrau <runrau@cygnus.com> |
6929 | ||
6930 | * parse.c (write_dollar_variable): call new function | |
6931 | target_map_name_to_register to allow targets to define their own | |
6932 | register name aliases. | |
6933 | * infcmd.c (registers_info): use target_map_name_to_register so that | |
6934 | "print $reg" and "info reg $reg" use the same register name aliases. | |
6935 | ||
8970f2fd SS |
6936 | Fri Feb 13 16:40:30 1998 Stan Shebs <shebs@andros.cygnus.com> |
6937 | ||
6938 | * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used. | |
6939 | * config/i386/xm-i386mk.h: Fix an include. | |
6940 | * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used. | |
6941 | ||
a469b84c FCE |
6942 | Thu Feb 12 16:12:07 1998 Frank Ch. Eigler <fche@cygnus.com> |
6943 | ||
6944 | * remote-mips.c (mips_enter_debug): Sleep before sending CR to | |
6945 | monitor. | |
6946 | (mips_exit_debug): Accept any whitespace / verbiage before monitor | |
6947 | prompt reappears. | |
6948 | ||
9df3ba70 AC |
6949 | Thu Feb 12 18:25:42 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6950 | ||
6951 | * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte | |
6952 | accumulators. | |
6953 | ||
93087920 AC |
6954 | Thu Feb 12 17:10:22 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6955 | ||
6956 | * valops.c (value_at): For d10v, make read pointers with | |
6957 | read_target_unsigned_integer, keep addresses unsigned. | |
6958 | (value_fetch_lazy): Ditto. | |
6959 | ||
dd0ce8f6 AC |
6960 | Thu Feb 12 12:14:02 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6961 | ||
6962 | * remote-d10v.c: New file. Layer the d10v GDB->remote memory map | |
6963 | on top of the remote serial memory transfer functions. | |
6964 | ||
6965 | * config/d10v/d10v.mt (TDEPFILES): Add remote-d10v.o | |
6966 | ||
6967 | * Makefile.in (remote-d10v.o): Add dependencies. | |
6968 | ||
6969 | * remote.c (remote_open_1): Add arg extended_p, engage extended | |
6970 | protocol when extended_p. | |
6971 | (remote_open, extended_remote_open): Pass !extended_p / | |
6972 | extended_p to remote_open_1. | |
6973 | ||
6974 | * remote.c (open_remote_target), target.h: New function. | |
6975 | ||
6bcc5ba3 AC |
6976 | Wed Feb 11 08:41:15 1998 Andrew Cagney <cagney@b1.cygnus.com> |
6977 | ||
6978 | * config/i386/fbsd.mh (XDEPFILES): Add ser-tcp.o. | |
6979 | ||
a5f4fbff KS |
6980 | Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com> |
6981 | ||
6982 | * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook | |
6983 | if it exists. | |
6984 | Remove static declaration of free_actions. | |
6985 | ||
6986 | * tracepoint.h: Add declaration of free_actions. | |
6987 | ||
6988 | Tue Feb 10 12:17:13 1998 Fred Fish <fnf@cygnus.com> | |
6989 | ||
6990 | * symtab.c (decode_line_1): Revert change that mistakenly | |
6991 | removed assignment of sals[0].pc field. | |
6992 | ||
75a1d67a JM |
6993 | Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be> |
6994 | ||
6995 | * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for | |
6996 | `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not | |
6997 | `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)'; | |
6998 | (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes' | |
6999 | is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'. | |
7000 | (FRAME_NUM_ARGS): New macro. | |
7001 | * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto. | |
7002 | * delta68-nat.c (clear_insn_cache): New function, forgotten in previous | |
7003 | patch. | |
7004 | ||
f6826586 AC |
7005 | Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com> |
7006 | ||
7007 | * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with | |
7008 | D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros. | |
7009 | ||
7010 | * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01...... | |
7011 | (DMEM_START): Move to 0x00...... | |
7012 | (STACK_START): Move to 0x00..7ffe. | |
7013 | (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally. | |
7014 | ||
7015 | * d10v-tdep.c (d10v_xlate_addr): Delete function. | |
7016 | ||
9c01dbfb DE |
7017 | Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com> |
7018 | ||
7019 | * symtab.c (fixup_psymbol_section): Move forward declaration to | |
7020 | top of file with other such decls. Make it a static function. | |
7021 | * symtab.h: Minor formatting tweaks. | |
7022 | ||
cb5cd5b4 SS |
7023 | Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com> |
7024 | ||
7025 | * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS): | |
7026 | Remove redefinition. | |
7027 | * config/i960/tm-i960.h (BREAKPOINT): Define. | |
7028 | ||
89f2ecdb ILT |
7029 | Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com> |
7030 | ||
7031 | * Makefile.in (init.c): Ignore errors when making init.c. Seems | |
7032 | necessary to work around bug in Solaris make. | |
7033 | ||
75a1d67a | 7034 | Sun Feb 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be> |
4434e2dc JM |
7035 | |
7036 | * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted. | |
7037 | (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined. | |
7038 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified | |
7039 | because floating-point values return via %fp0. | |
7040 | (CLEAR_INSN_CACHE): New macro. | |
7041 | * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed | |
7042 | to use DOUBLEST. | |
7043 | (REGISTER_CONVERT_TO_RAW): Ditto. | |
7044 | * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined, | |
7045 | call it after having written in child process's memory. | |
7046 | * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO. | |
7047 | (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO. | |
7048 | ||
4cb36674 JL |
7049 | Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com) |
7050 | ||
7051 | * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to | |
7052 | override. | |
7053 | (TARGET_LONG_LONG_BIT): Likewise. | |
7054 | (TARGET_PTR_BIT): Likewise. | |
7055 | start-sanitize-r5900 | |
7056 | * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits. | |
7057 | end-sanitize-r5900 | |
7058 | ||
5f3ba16b DE |
7059 | start-sanitize-sky |
7060 | Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com> | |
7061 | ||
7062 | * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf. | |
7063 | * config/mips/txvu.mt (SIM): txvu -> mips. | |
7064 | ||
7065 | end-sanitize-sky | |
608addd4 AC |
7066 | Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com> |
7067 | ||
7068 | * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW, | |
7069 | D10V_CONVERT_DADDR_TO_RAW): Define. | |
7070 | ||
7071 | * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in | |
7072 | registers, regardless of their size, when they fit. | |
7073 | ||
9961ca7a AC |
7074 | Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com> |
7075 | ||
7076 | * d10v-tdep.c (d10v_extract_return_value): For function pointers | |
7077 | translate address to IMAP area. | |
7078 | ||
7079 | * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from | |
7080 | struct. | |
7081 | (POP_FRAME): Point at generic_pop_current_frame. | |
2e7eeba9 | 7082 | |
9961ca7a AC |
7083 | * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames, |
7084 | handled earlier. | |
7085 | (d10v_push_return_address): New function. | |
7086 | (d10v_pop_dummy_frame): Delete. | |
7087 | (d10v_fix_call_dummy): Delete. | |
7088 | (d10v_call_dummy_address): Delete. | |
7089 | ||
7090 | * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and | |
7091 | frameless. | |
7092 | ||
7093 | * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned. | |
7094 | ||
7095 | * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract | |
7096 | address of structure from first ARG1_REGNUM. | |
7097 | ||
7098 | * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into | |
7099 | even-odd register pair. Store 1 and 2 byte args in registers. | |
7100 | ||
7101 | * valops.c (value_fetch_lazy): Ensure that a D10V function pointer | |
7102 | is fetched in the correct byte order. | |
7103 | (value_at): Ditto. Also ensure data pointers are mapped to data | |
7104 | segment. | |
7105 | ||
7106 | * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P): | |
7107 | ||
7108 | * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE. | |
7109 | (d10v_pop_frame): Replace R13 with LR_REGNUM. | |
7110 | (d10v_push_arguments): Replace R2 with ARG1_REGNUM. | |
7111 | (d10v_push_arguments): Replace 6 with ARGN_REGNUM. | |
7112 | (d10v_extract_return_value): Access return value with RET1_REGNUM. | |
7113 | ||
7114 | * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM): | |
7115 | Define. | |
7116 | (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM. | |
7117 | (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr | |
7118 | location. | |
2e7eeba9 | 7119 | |
44d33d55 AC |
7120 | Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com> |
7121 | ||
7122 | * blockframe.c (generic_pop_dummy_frame): Flush the frame, no | |
7123 | longer valid. | |
7124 | ||
7125 | * blockframe.c (generic_pop_current_frame), frames.h: New | |
7126 | function. | |
7127 | ||
1931ea8d AC |
7128 | Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com> |
7129 | ||
7130 | * remote-sim.c (gdbsim_create_inferior): clear_proceed_status | |
7131 | before /re/starting the simulator. | |
7132 | ||
df419eec JM |
7133 | Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com) |
7134 | ||
7135 | * top.c (do_nothing): Remove signal handler after signal is caught. | |
7136 | ||
d9ba1c3f MS |
7137 | Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com) |
7138 | ||
7139 | * tracepoint.c (tracepoint_operation): call free_actions instead | |
7140 | of free. (free_actions): eliminate some memory leaks for actions. | |
7141 | (validate_actionline): pass string arg by reference, so we can | |
7142 | change the pointer. Change all memrange collection arguments to | |
7143 | canonical form (literal address and size), to enforce early | |
7144 | evaluation. Accept UNOP_MEMVAL (assembly variables) for | |
7145 | trace collection. (parse_and_eval_memrange): accept expressions | |
7146 | for the address and size fields of a memrange (and evaluate | |
7147 | them immediately). (several places): use -1 instead of zero | |
7148 | to distinguish an absolute memrange from a register-relative one. | |
7149 | (encode_actions): add handling for UNOP_MEMVAL (assembly variable). | |
7150 | ||
c7bb1531 JM |
7151 | Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com) |
7152 | ||
7153 | * Makefile.in (SFILES): add tracepoint.c. | |
7154 | (LINTFILES): add @CONFIG_SRCS@. | |
7155 | (SOURCES): Ditto. | |
7156 | * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS. | |
7157 | * configure: Regenerated. | |
7158 | ||
70b3329c JM |
7159 | Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com) |
7160 | ||
7161 | * infptrace.c (child_resume): Don't try to step if | |
7162 | NO_SINGLE_STEP is defined. | |
7163 | ||
c09eab00 JM |
7164 | Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com) |
7165 | ||
7166 | * Makefile.in (VERSION): Bump to 4.16.2. | |
7167 | ||
7168 | Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com> | |
7169 | ||
7170 | * alpha-nat.c (fetch_aout_core_registers): Rename from | |
7171 | fetch_core_registers. | |
7172 | (fetch_elf_core_registers): New function. | |
7173 | (supply_gregset): Use ALPHA_REGSET_BASE. | |
7174 | (supply_fpregset): Likewise. | |
7175 | (fill_fpregset): Likewise. | |
7176 | (alpha_aout_core_fns): Rename from alpha_core_fns. | |
7177 | (alpha_elf_core_fns): New. | |
7178 | * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o. | |
7179 | Disable MMALLOC. | |
7180 | * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF. | |
7181 | (TARGET_ELF64): Likewise. | |
7182 | (ALPHA_REGSET_BASE): New. | |
7183 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New. | |
7184 | * config/alpha/tm-alphalinux.h: Include tm-sysv4.h. | |
7185 | ||
7186 | * solib.c (elf_locate_base): Add TARGET_ELF64 support. | |
7187 | (info_sharedlibary_command): Likewise. | |
7188 | ||
7189 | * configure.host: Match alpha*. | |
7190 | * configure.tgt: Likewise. | |
7191 | ||
6981a588 DT |
7192 | Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com> |
7193 | ||
7194 | Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
7195 | * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting | |
7196 | whether we are in the dynamic symbol resolution code | |
7197 | (wait_for_inferior): invoke it. | |
7198 | * solib.c (in_svr4_dynsym_resolve_code): new function | |
7199 | (enable_break): record start and end of the dynamic linker | |
7200 | text and plt sections for use in in_svr4_dynsym_resolve_code. | |
7201 | * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition; | |
7202 | (in_svr4_dynsym_resolve_code): declare it. | |
7203 | * config/nm-gnu.h (solib.h): move inclusion to after definition | |
7204 | of SVR4_SHARED_LIBS. | |
7205 | * config/nm-sysv4.h (solib.h): ditto. | |
7206 | * config/i386/nm-i386sco5.h (solib.h): ditto. | |
7207 | * config/i386/nm-linux.h (solib.h): ditto. | |
7208 | * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine. | |
7209 | ||
3e269acb SS |
7210 | Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com> |
7211 | ||
7212 | * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can | |
7213 | never be defined. | |
7214 | * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]: | |
7215 | Remove, no longer needed. | |
7216 | * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used. | |
7217 | * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto. | |
7218 | * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto. | |
7219 | * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o. | |
7220 | ||
7074cd4e SS |
7221 | Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com> |
7222 | ||
7223 | Suggested by Chris Walter <walter@budoe.bu.edu>: | |
7224 | * dwarfread.c (set_cu_language): Recognize Fortran. | |
7225 | * dwarf2read.c (set_cu_language): Ditto. | |
7226 | (read_array_type): Fix language test. | |
7227 | ||
2a913d71 MS |
7228 | Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com) |
7229 | ||
7230 | * blockframe.c (generic_frame_chain_valid): A frame pointer may | |
7231 | be valid if it is equal to the frame pointer of its caller (ie. | |
7232 | not necessarily strictly INNER_THAN). Allows frameless functions. | |
7233 | ||
29df6f4b MA |
7234 | Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com> |
7235 | ||
7236 | * monitor.c (monitor_vsprintf): New function to handle | |
7237 | printing of large addresses using %A format specifier. | |
7238 | (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf | |
7239 | instead of vsprintf. | |
7240 | * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx | |
7241 | to print addresses. | |
7242 | ||
4b95e9a1 JM |
7243 | Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com) |
7244 | ||
7245 | * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic | |
7246 | when using GNU ld. | |
7247 | ||
bf1fb2e0 JM |
7248 | Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com) |
7249 | ||
7250 | * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): | |
7251 | Add closing parenthesis. From HJ Lu. | |
7252 | ||
d8365eee MA |
7253 | Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com> |
7254 | ||
7255 | * dve3900-rom.c: Improve performance by using memory commands | |
7256 | that print less fluff. Minor cosmetic changes. | |
7257 | Eliminate compiler warnings. | |
7258 | ||
f03cdc5e MH |
7259 | Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com> |
7260 | ||
7261 | * breakpoint.c (enable_breakpoint): Preserve breakpoint | |
7262 | disposition when enabling a breakpoint. | |
7263 | ||
7264 | * symtab.c (find_pc_sect_line): If no symbol information | |
7265 | is found, return correct pc anyway. | |
7266 | ||
9a2e2aba SS |
7267 | Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com> |
7268 | ||
7269 | * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*, | |
7270 | ns32k-*-mach3*): Fix file names. | |
7271 | (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config | |
7272 | recognition, no source files for these. | |
7273 | * configure.tgt (powerpc-*-aix4*): Remove config, now identical | |
7274 | to powerpc-*-aix*. | |
7275 | * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files, | |
7276 | no longer needed. | |
7277 | ||
1a31a33a MA |
7278 | Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com> |
7279 | ||
7280 | * monitor.c (monitor_write, monitor_readchar): New functions. | |
7281 | * monitor.h (monitor_write, monitor_readchar): Declare. | |
7282 | * dve3900-rom.c: Add support for fast loading on ethernet connections. | |
7283 | ||
77636dea FF |
7284 | Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com> |
7285 | ||
7286 | * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }". | |
7287 | (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp. | |
7288 | (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp. | |
7289 | (d10v_write_fp, d10v_read_fp): Add prototypes. | |
7290 | * symtab.c (decode_line_1): Remove assignment of sals[0].pc field. | |
7291 | * symfile.c (simple_overlay_update, simple_overlay_update_1): | |
7292 | Ignore the size of overlay sections. This check is redundant anyway. | |
7293 | * printcmd.c (print_frame_args): Ditto. | |
7294 | * valops.c (value_fetch_lazy): Ditto. | |
7295 | * values.c (unpack_long): Ditto. | |
7296 | * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs, | |
7297 | d10v_init_extra_frame_info): Fix some minor bugs so the finish command | |
7298 | works properly. | |
7299 | (show_regs): Change num1 and num2 types from "long long" to "LONGEST". | |
7300 | (d10v_read_fp, d10v_write_fp): New functions. | |
7301 | (d10v_push_arguments): Remove unneeded assigns to "val" and "contents". | |
7302 | (d10v_push_arguments): Fix for pointers and structs. | |
7303 | (d10v_extract_return_value): Fix for pointers and chars. | |
7304 | ||
4133151f SS |
7305 | Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com> |
7306 | ||
7307 | * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config | |
7308 | recognition, no source files for these (note that the i386 Mach | |
9a2e2aba | 7309 | config is for pre-Mach 3). |
4133151f SS |
7310 | (mips*-*-mach3*, ns32k-*-mach3*): Fix file names. |
7311 | * config/mips/mipsel64.mt: Remove, never referenced. | |
7312 | ||
59ae1b0f SS |
7313 | Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com> |
7314 | ||
7315 | * top.c (print_gdb_version): Restore to original message. | |
7316 | ||
76bf9192 ILT |
7317 | Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com> |
7318 | ||
b5edcb45 ILT |
7319 | From cgf@bbc.com (Chris Faylor): |
7320 | * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to | |
7321 | let the child exit. | |
7322 | (child_kill_inferior): Respond to all debug events as the child is | |
7323 | terminating. | |
7324 | ||
76bf9192 ILT |
7325 | * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT). |
7326 | (uninstall): Add $(EXEEXT) to file name to remove. | |
7327 | (gdb$(EXEEXT)): Rename target from plain gdb. | |
7328 | (gdb1$(EXEEXT)): Rename target from plain gdb1. | |
7329 | (clean, mostlyclean): Add $(EXEEXT) to binary names to remove. | |
7330 | ||
23f38c9e FL |
7331 | 1998-01-16 Felix Lee <flee@cygnus.com> |
7332 | ||
7333 | * top.c (print_gdb_version): delete stutter. | |
7334 | ||
ed3e2cfe NC |
7335 | Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com> |
7336 | ||
7337 | * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com | |
7338 | to prevent spurous error messages on non-ICE targets. | |
7339 | ||
8d9371a5 SS |
7340 | Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com> |
7341 | ||
7342 | * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}: | |
7343 | Remove, no longer used. | |
7344 | ||
f27bb101 MM |
7345 | Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com> |
7346 | ||
7347 | Patch from Jim Wilson. | |
7348 | * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly | |
7349 | declare void function before use. | |
7350 | ||
7351 | * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}. | |
7352 | ||
0728afad FF |
7353 | Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com> |
7354 | ||
7355 | * configure.in (--with-mmalloc): Add new configure arg to use the | |
7356 | mmalloc package. Default is to not use it. | |
7357 | (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not | |
7358 | the string "2". | |
7359 | * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef. | |
7360 | * configure: Regenerated. | |
7361 | * config.in: Regenerated. | |
7362 | * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove. | |
7363 | (MMALLOC): Set using configure. | |
7364 | (MMALLOC_CFLAGS): Set using configure. | |
7365 | ||
7366 | * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather | |
7367 | than just defining it. | |
7368 | * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC. | |
7369 | * utils.c (NO_MMALLOC): Use USE_MMALLOC instead. | |
7370 | * objfiles.c: ditto. | |
7371 | * defs.h: ditto. | |
7372 | ||
7373 | * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove. | |
7374 | * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove. | |
7375 | * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove. | |
7376 | * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove. | |
7377 | * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove. | |
7378 | * gdbserver/Makefile.in (MMALLOC_*): Remove. | |
7379 | * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7380 | * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7381 | * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7382 | * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7383 | * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7384 | * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7385 | * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7386 | * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7387 | * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove. | |
7388 | * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7389 | * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7390 | * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7391 | * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7392 | * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove. | |
7393 | ||
e21fb2ae MS |
7394 | Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com) |
7395 | ||
8f05bc95 MS |
7396 | * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7 |
7397 | default to void pointer type (so that their default radix is hex). | |
7398 | ||
e21fb2ae | 7399 | * symtab.c: move rbreak_command from no_class to class_breakpoint |
8f05bc95 | 7400 | so it will be listed under "help breakpoints". |
e21fb2ae | 7401 | |
0a51a5af SS |
7402 | Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com> |
7403 | ||
7404 | * rdi-share/hostchan.c: Remove gettimeofday declaration. | |
7405 | ||
3a9c3d12 NC |
7406 | Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com> |
7407 | ||
7408 | * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com | |
0a51a5af | 7409 | to implement the Angel remote debugging interface. |
3a9c3d12 NC |
7410 | |
7411 | * Makefile.in: Add build rules for remote-rdi.c and | |
0a51a5af | 7412 | rdi-share/libangsd.a. |
2e7eeba9 | 7413 | |
3a9c3d12 NC |
7414 | * configure.tgt: Updated from source on branch. |
7415 | * config/arm/tm-arm.h: Updated from source on branch. | |
7416 | * arm-tdep.c: Updated from source on branch. | |
7417 | ||
0a51a5af SS |
7418 | * rdi-share: New directory, RDI library contributed by ARM. |
7419 | ||
352f9e9d MA |
7420 | Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com> |
7421 | ||
7422 | * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define. | |
7423 | * monitor.c (monitor_wait): Echo program output. | |
7424 | * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag, | |
7425 | add MO_PRINT_PROGRAM_OUTPUT flag. | |
7426 | ||
4d132e40 DT |
7427 | Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com> |
7428 | ||
7429 | * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and | |
7430 | SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is | |
7431 | defined. | |
7432 | * top.c (return_to_top_level, catch_errors): use the new macros | |
7433 | * main.c (SET_TOP_LEVEL): ditto. | |
7434 | * config/xm-sysv4.h (HAVE_SIGSETJMP): Define. | |
7435 | ||
3435297a MA |
7436 | Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com> |
7437 | ||
7438 | * configure.in: Double up brackets in shell case pattern. | |
7439 | ||
99fa2de0 MS |
7440 | Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com) |
7441 | ||
7442 | * tracepoint.c (finish_tfind_command): improved algorithm for | |
7443 | deciding when we've "stepped" into a new stack frame. | |
7444 | (map_args_over_tracepoints): loop over tracepoint list "safely", | |
7445 | since list elements may be deleted during loop. | |
7446 | (read_actions): add actions to history list. | |
7447 | ||
6d0b229c | 7448 | For older changes see ChangeLog-97 |
bd5635a1 RP |
7449 | \f |
7450 | Local Variables: | |
55d3002f | 7451 | mode: change-log |
bd5635a1 RP |
7452 | left-margin: 8 |
7453 | fill-column: 74 | |
7454 | version-control: never | |
7455 | End: |